SAP ABAP Class CL_LL1_PARSER (Parser for LL(1) Grammars)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-QUE (Application Component) SAP Query
⤷
SGEN (Package) ABAP Generation Tools
⤷
⤷
Properties
| Class | CL_LL1_PARSER | |
| Short Description | Parser for LL(1) Grammars | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SGEN | ABAP Generation Tools |
| Created | 20000929 | SAP |
| Last change | 00000000 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_LL1_PARSER has no interface implemented.
Friends
Class CL_LL1_PARSER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | AQS_FLAG | X = Analysis Canceled | 20001010 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | STOKES | Current Token (for Error Messages) | 20001009 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | SPARS_SYMBOLS | Non-Terminals | 20000929 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | SPARS_RULECOUNTS | Number of Alternatives per Non-Terminal | 20000929 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | SPARS_RULES | Rules | 20000929 | |||
| 6 | Instance attribute | Private | Type reference (TYPE) | SPARS_STACK | Analysis Stack | 20000929 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | SPARS_TARGETS | Target Symbol Set | 20000929 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | SPARS_SYMBOLS | Terminal Character | 20000929 | |||
| 9 | Instance attribute | Private | Type reference (TYPE) | SPARS_TOKENS | Input Stream | 20001009 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | SPARS_SYMBOL | TOP Symbol in Grammar | 20000929 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Cancel Parser | 20001010 | |
| 2 | Instance method | Private | Method | Check Input Symbol | 20000929 | |
| 3 | Instance method | Public | Constructor | Constructor | 20000929 | |
| 4 | Instance method | Private | Method | Test: Is Input Volume Empty? | 20001009 | |
| 5 | Instance method | Private | Method | Test: Is Symbol Stack Empty? | 20001009 | |
| 6 | Instance method | Public | Method | LL(1) Parser | 20001009 | |
| 7 | Instance method | Private | Method | Empty Symbol Stack | 20000929 | |
| 8 | Instance method | Private | Method | Read the next | 20000929 | |
| 9 | Instance method | Private | Method | Kellern Symbolkeller | 20000929 | |
| 10 | Instance method | Private | Method | Read Next Input Symbol | 20000929 | |
| 11 | Instance method | Private | Method | Lexical Analysis of Input Character Sequence | 20000929 | |
| 12 | Instance method | Private | Method | Look for Suitable Rule | 20000929 | |
| 13 | Instance method | Private | Method | Trigger Syntax Error | 20001009 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | SEMANTIC | Instance Event (0) |
Public (2) |
Call Semantic Routine | 20001009 |
Types
Class CL_LL1_PARSER has no local type.
Method Signatures
Method ABORT Signature
Method ABORT on class CL_LL1_PARSER has no parameter.
Method ABORT on class CL_LL1_PARSER has no exception.
Method CHECK_SYMBOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT_SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20000929 | ||||
| 2 | RETURN | Value transfer | Type reference (TYPE) | I | 20000929 | ||||
| 3 | STACK_SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20000929 |
Method CHECK_SYMBOL on class CL_LL1_PARSER has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | GRAMMAR_SOURCE_FILENAME | Value transfer | Type reference (TYPE) | SY-REPID | SPACE | Grammatikdatei (ABAP Include) | 20000929 | ||
| 2 | GRAMMAR_SOURCE_TABLE | Value transfer | Type reference (TYPE) | SPARS_SOURCE | Grammatiksource als Tabelle | 20000929 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei LL(1) Syntaxanalyse | 20001009 |
Method IS_INPUT_EMPTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETURN | Value transfer | Type reference (TYPE) | I | 20001009 |
Method IS_INPUT_EMPTY on class CL_LL1_PARSER has no exception.
Method IS_STACK_EMPTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETURN | Value transfer | Type reference (TYPE) | I | 20001009 |
Method IS_STACK_EMPTY on class CL_LL1_PARSER has no exception.
Method PARSE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SOURCE | Value transfer | Type reference (TYPE) | SPARS_SOURCE | zu übersetzender Text | 20001009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei LL(1) Syntaxanalyse | 20001009 |
Method POP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EVENT | Value transfer | Type reference (TYPE) | SPARS_EVENT | 20001009 | ||||
| 2 | RETURN | Call by reference | Type reference (TYPE) | I | 20000929 | ||||
| 3 | SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20000929 |
Method POP on class CL_LL1_PARSER has no exception.
Method POP_INPUT_SYMBOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20000929 |
Method POP_INPUT_SYMBOL on class CL_LL1_PARSER has no exception.
Method PUSH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EVENT | Value transfer | Type reference (TYPE) | SPARS_EVENT | 20001009 | ||||
| 2 | SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20000929 |
Method PUSH on class CL_LL1_PARSER has no exception.
Method READ_INPUT_SYMBOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20000929 |
Method READ_INPUT_SYMBOL on class CL_LL1_PARSER has no exception.
Method SCAN_INPUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RETURN | Value transfer | Type reference (TYPE) | I | 20000929 | ||||
| 2 | SOURCE | Value transfer | Type reference (TYPE) | SPARS_SOURCE | 20000929 |
Method SCAN_INPUT on class CL_LL1_PARSER has no exception.
Method SEARCH_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INPUT_SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20000929 | ||||
| 2 | RETURN | Value transfer | Type reference (TYPE) | I | 20000929 | ||||
| 3 | RULE_NUMBER | Value transfer | Type reference (TYPE) | SPARS_NUMBER | 20000929 | ||||
| 4 | STACK_SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20000929 |
Method SEARCH_RULE on class CL_LL1_PARSER has no exception.
Method SYNTAX_ERROR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STACK_SYMBOL | Value transfer | Type reference (TYPE) | SPARS_SYMBOL | 20001009 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Fehler bei LL(1) Syntaxanalyse | 20010122 |
Event Signatures
Event SEMANTIC Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ACTUAL_TERMINAL | Exporting | Value transfer | Type reference (TYPE) | SPARS_NAME | aktuelles Terminalzeichen | 20001009 | ||
| 2 | EVENT_ID | Exporting | Value transfer | Type reference (TYPE) | SPARS_EVENT | Id der semantischen Routine | 20001009 |
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in | 50A |