SAP ABAP Class CL_SLIN_PARSE_GRAMMAR (Collection of Rules for Analysis of ABAP Commands)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA-EPC (Application Component) Extended Program Check (SLIN)
⤷
SLIN_INTERN (Package) Internal Use for SLIN (changes made without discussion)
⤷
⤷
Properties
| Class | CL_SLIN_PARSE_GRAMMAR | |
| Short Description | Collection of Rules for Analysis of ABAP Commands | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLIN_INTERN | Internal Use for SLIN (changes made without discussion) |
| Created | 20041108 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_SLIN_PARSE_GRAMMAR has no forward declaration.
Interfaces
Class CL_SLIN_PARSE_GRAMMAR has no interface implemented.
Friends
Class CL_SLIN_PARSE_GRAMMAR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | See coding | 20041108 | |||||
| 2 | Instance attribute | Public | Object reference (TYPE REF TO) | CL_SLIN_PARSE_DSL | Reference back ur DSL | 20071118 | |||
| 3 | Instance attribute | Public | Type reference (TYPE) | STRING | Name of Grammar | 20071122 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | BOOLEAN | Grammar Formatted to Match? | 20041108 | |||
| 5 | Instance attribute | Protected | Type reference (TYPE) | STRING | Name of Start Rule | 20041119 | |||
| 6 | Instance attribute | Protected | See coding | 20071122 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add Rule | 20041119 | |
| 2 | Instance method | Private | Method | Format Rule as a Tree to Match | 20071122 | |
| 3 | Static method | Public | Method | New Grammar Constructor | 20041128 | |
| 4 | Instance method | Public | Method | Grammar Rule Getter | 20041108 | |
| 5 | Instance method | Public | Method | Make Grammar Operationally Useable | 20041108 | |
| 6 | Instance method | Public | Method | On Output, Rule Should Be Output as Node | 20071118 |
Events
Class CL_SLIN_PARSE_GRAMMAR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | RULEDESC | Protected | See coding | 20041108 | begin of RuleDesc,
ruleName type string,
ruleDesc type string,
isRuleWithNewNode type boolean,
end of RuleDesc
|
||
| 2 | RULETREE | Protected | See coding | 20071122 | begin of RuleTree,
ruleName type string,
rule type ref to CL_SLIN_PARSE_RULE,
end of RuleTree
|
Method Signatures
Method ADD_RULE_TO_GRAMMAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RULE_DESC | Call by reference | Type reference (TYPE) | STRING | textuelle Regelbeschreibung | 20071122 | |||
| 2 | RULE_NAME | Call by reference | Type reference (TYPE) | STRING | Regelname | 20071122 |
Method ADD_RULE_TO_GRAMMAR on class CL_SLIN_PARSE_GRAMMAR has no exception.
Method DESC_TO_TREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NAME | Call by reference | Type reference (TYPE) | STRING | 20071122 | ||||
| 2 | RET | Value transfer | Object reference (TYPE REF TO) | CL_SLIN_PARSE_RULE | 20080321 |
Method DESC_TO_TREE on class CL_SLIN_PARSE_GRAMMAR has no exception.
Method GET_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DSL | Call by reference | Object reference (TYPE REF TO) | CL_SLIN_PARSE_DSL | Referenz auf zugehörige DSL | 20071118 | |||
| 2 | GRAMMAR_NAME | Call by reference | Type reference (TYPE) | STRING | Name der Grammatik | 20041209 | |||
| 3 | RET | Value transfer | Object reference (TYPE REF TO) | CL_SLIN_PARSE_GRAMMAR | 20080321 | ||||
| 4 | START_RULE_NAME | Call by reference | Type reference (TYPE) | STRING | SPACE | Startregel | 20041209 |
Method GET_INSTANCE on class CL_SLIN_PARSE_GRAMMAR has no exception.
Method GET_RULE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RET | Value transfer | Object reference (TYPE REF TO) | CL_SLIN_PARSE_RULE | 20080321 | ||||
| 2 | RULE_NAME | Call by reference | Type reference (TYPE) | STRING | Regelname | 20071122 |
Method GET_RULE on class CL_SLIN_PARSE_GRAMMAR has no exception.
Method LINK Signature
Method LINK on class CL_SLIN_PARSE_GRAMMAR has no parameter.
Method LINK on class CL_SLIN_PARSE_GRAMMAR has no exception.
Method SET_RULE_AS_NEW_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RULE_NAME | Call by reference | Type reference (TYPE) | STRING | Regelname | 20071122 |
Method SET_RULE_AS_NEW_NODE on class CL_SLIN_PARSE_GRAMMAR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |