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 SPARS 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 ABORT_PARSER Instance attribute Public Type reference (TYPE) AQS_FLAG X = Analysis Canceled 20001010
2 ACTUAL_TOKEN Instance attribute Private Type reference (TYPE) STOKES Current Token (for Error Messages) 20001009
3 NONTERMINALS Instance attribute Private Type reference (TYPE) SPARS_SYMBOLS Non-Terminals 20000929
4 RULECOUNTS Instance attribute Private Type reference (TYPE) SPARS_RULECOUNTS Number of Alternatives per Non-Terminal 20000929
5 RULES Instance attribute Private Type reference (TYPE) SPARS_RULES Rules 20000929
6 STACK Instance attribute Private Type reference (TYPE) SPARS_STACK Analysis Stack 20000929
7 TARGETS Instance attribute Private Type reference (TYPE) SPARS_TARGETS Target Symbol Set 20000929
8 TERMINALS Instance attribute Private Type reference (TYPE) SPARS_SYMBOLS Terminal Character 20000929
9 TOKENS Instance attribute Private Type reference (TYPE) SPARS_TOKENS Input Stream 20001009
10 TOPSYMBOL Instance attribute Private Type reference (TYPE) SPARS_SYMBOL TOP Symbol in Grammar 20000929
Methods
# Method Level Visibility Method type Description Created on
1 ABORT Instance method Public Method Cancel Parser 20001010
2 CHECK_SYMBOL Instance method Private Method Check Input Symbol 20000929
3 CONSTRUCTOR Instance method Public Constructor Constructor 20000929
4 IS_INPUT_EMPTY Instance method Private Method Test: Is Input Volume Empty? 20001009
5 IS_STACK_EMPTY Instance method Private Method Test: Is Symbol Stack Empty? 20001009
6 PARSE Instance method Public Method LL(1) Parser 20001009
7 POP Instance method Private Method Empty Symbol Stack 20000929
8 POP_INPUT_SYMBOL Instance method Private Method Read the next 20000929
9 PUSH Instance method Private Method Kellern Symbolkeller 20000929
10 READ_INPUT_SYMBOL Instance method Private Method Read Next Input Symbol 20000929
11 SCAN_INPUT Instance method Private Method Lexical Analysis of Input Character Sequence 20000929
12 SEARCH_RULE Instance method Private Method Look for Suitable Rule 20000929
13 SYNTAX_ERROR 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 Importing INPUT_SYMBOL Value transfer Type reference (TYPE) SPARS_SYMBOL 20000929
2 Exporting RETURN Value transfer Type reference (TYPE) I 20000929
3 Importing 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 Importing GRAMMAR_SOURCE_FILENAME Value transfer Type reference (TYPE) SY-REPID SPACE Grammatikdatei (ABAP Include) 20000929
2 Importing GRAMMAR_SOURCE_TABLE Value transfer Type reference (TYPE) SPARS_SOURCE Grammatiksource als Tabelle 20000929
# Exception Resumable Description Created on
1 CX_LL1_PARSE_ERROR 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 Returning 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 Returning 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 Importing SOURCE Value transfer Type reference (TYPE) SPARS_SOURCE zu übersetzender Text 20001009
# Exception Resumable Description Created on
1 CX_LL1_PARSE_ERROR Fehler bei LL(1) Syntaxanalyse 20001009

Method POP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EVENT Value transfer Type reference (TYPE) SPARS_EVENT 20001009
2 Exporting RETURN Call by reference Type reference (TYPE) I 20000929
3 Exporting 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 Exporting 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 Importing EVENT Value transfer Type reference (TYPE) SPARS_EVENT 20001009
2 Importing 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 Exporting 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 Returning RETURN Value transfer Type reference (TYPE) I 20000929
2 Importing 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 Importing INPUT_SYMBOL Value transfer Type reference (TYPE) SPARS_SYMBOL 20000929
2 Exporting RETURN Value transfer Type reference (TYPE) I 20000929
3 Exporting RULE_NUMBER Value transfer Type reference (TYPE) SPARS_NUMBER 20000929
4 Importing 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 Importing STACK_SYMBOL Value transfer Type reference (TYPE) SPARS_SYMBOL 20001009
# Exception Resumable Description Created on
1 CX_LL1_PARSE_ERROR 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