SAP ABAP Class CL_ACI_ASTNODE (EXPERIMENTAL, DON'T USE (AST Node))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
SABP_ACI_API (Package) EXPERIMENTAL, DON'T USE (API for the ACI)
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_ACI_ARGUMENT | EXPERIMENTAL, DON'T USE (AST Argument) | 20070806 |
| 2 | Inheritance (c INHERITING FROM c_ref) | CL_ACI_ASTROOT | EXPERIMENTAL, DON'T USE (AST Root Node) | 20070816 |
| 3 | Inheritance (c INHERITING FROM c_ref) | CL_ACI_CLAUSE | EXPERIMENTAL, DON'T USE (AST Clause) | 20070806 |
| 4 | Inheritance (c INHERITING FROM c_ref) | CL_ACI_RESULT | EXPERIMENTAL, DON'T USE (AST Evaluation Result Value) | 20080421 |
| 5 | Inheritance (c INHERITING FROM c_ref) | CL_ACI_STATEMENT | EXPERIMENTAL, DON'T USE (AST Statement) | 20070806 |
Properties
| Class | CL_ACI_ASTNODE | |
| Short Description | EXPERIMENTAL, DON'T USE (AST Node) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SABP_ACI_API | EXPERIMENTAL, DON'T USE (API for the ACI) |
| Created | 20070802 | SAP |
| Last change | 20110908 | 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_ACI_ASTNODE has no interface implemented.
Friends
Class CL_ACI_ASTNODE has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 5 | 20100923 | |||
| 2 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 8 | 20100923 | |||
| 3 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 1 | 20100923 | |||
| 4 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 4 | 20100923 | |||
| 5 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 6 | 20100923 | |||
| 6 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 15 | 20100923 | |||
| 7 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 11 | 20100923 | |||
| 8 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 7 | 20100923 | |||
| 9 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 12 | 20100923 | |||
| 10 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 13 | 20100923 | |||
| 11 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 2 | 20100923 | |||
| 12 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 3 | 20100923 | |||
| 13 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 10 | 20100923 | |||
| 14 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 9 | 20100923 | |||
| 15 | Constant | Public | Type reference (TYPE) | T_NODE_TYPE | 14 | 20100923 | |||
| 16 | Constant | Public | See coding | Type of the values of a node property | 20090109 | ||||
| 17 | Constant | Public | See coding | 20081125 | |||||
| 18 | Instance attribute | Protected | Type reference (TYPE) | %_C_POINTER | Kernel object | 20070803 | |||
| 19 | Constant | Public | Type reference (TYPE) | T_NODE_ID | -1 | Invalid node id | 20070820 | ||
| 20 | Static Attribute | Private | See coding | Meta info about node properties | 20090109 | ||||
| 21 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | ' ' | Are the node property infos valid? | 20090112 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Destructor | 20070820 | ||
| 2 | Static method | Private | Method | Get information about supported node properties | 20090112 | |
| 3 | Static method | Private | Method | Get information about supported node properties from kernel | 20090112 | |
| 4 | Static method | Public | Method | Deserialize AST node from XML node | 20070802 | |
| 5 | Instance method | Public | Method | Get next node | 20100920 | |
| 6 | Instance method | Public | Method | Get AST node id | 20070817 | |
| 7 | Instance method | Public | Method | Return node's value of Boolean node property | 20081219 | |
| 8 | Static method | Public | Method | Get meta information about a node property | 20090109 | |
| 9 | Instance method | Public | Method | Return node's value of Integer node property | 20081219 | |
| 10 | Instance method | Public | Method | Return node's value of String node property | 20081219 | |
| 11 | Instance method | Public | Method | 20100923 | ||
| 12 | Static method | Public | Method | 20100923 | ||
| 13 | Instance method | Public | Method | Get parent | 20070817 | |
| 14 | Instance method | Public | Method | Get previous node | 20100920 | |
| 15 | Instance method | Public | Method | Retrieve the source position (pos/col = -1) if not set | 20080916 | |
| 16 | Instance method | Public | Method | Retrieve source position (+ position in include) | 20081120 | |
| 17 | Instance method | Public | Method | 20100923 | ||
| 18 | Instance method | Public | Method | Does node have this property? | 20081219 | |
| 19 | Static method | Public | Method | Deserialize AST nodes from XML node | 20070806 | |
| 20 | Instance method | Public | Method | Serialize AST node to XML node | 20070802 | |
| 21 | Instance method | Public | Method | Internal, reserved for ABAP tools | 20080828 |
Events
Class CL_ACI_ASTNODE has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_IDMAP | Protected | See coding | 20070808 | T_IDMAP type hashed table of T_IDSTR with unique key ID
|
||
| 2 | T_IDSTR | Protected | See coding | 20070808 | begin of T_IDSTR,
ID type I,
STR type STRING,
end of T_IDSTR
|
||
| 3 | T_NODE_ID | Public | Type reference (TYPE) | INT4 | Node-Id type | 20070817 | |
| 4 | T_NODE_TYPE | Public | Type reference (TYPE) | INT4 | 20100923 | |
|
| 5 | T_POSITION | Public | Type reference (TYPE) | ACI_SOURCE_POSITION | 20081120 | |
|
| 6 | T_PROPERTY_ID | Public | Type reference (TYPE) | INT4 | Node Property Id type | 20080916 | |
| 7 | T_PROPERTY_INFO | Private | See coding | 20090109 | begin of T_PROPERTY_INFO,
string type string,
id type t_property_id,
type type t_property_type,
end of t_property_info
|
||
| 8 | T_PROPERTY_TYPE | Public | See coding | Type of the values of a node property | 20090109 | T_PROPERTY_TYPE type c length 1
|
|
| 9 | T_SOURCE_TYPE | Public | Type reference (TYPE) | INT4 | 20081125 | |
|
| 10 | T_STRID | Protected | See coding | 20080103 | begin of T_STRID,
STR type STRING,
ID type I,
end of T_STRID
|
||
| 11 | T_STRMAP | Protected | See coding | 20080103 | T_STRMAP type hashed table of T_STRID with unique key STR
|
Method Signatures
Method DESTRUCTOR Signature
Method DESTRUCTOR on class CL_ACI_ASTNODE has no parameter.
Method DESTRUCTOR on class CL_ACI_ASTNODE has no exception.
Method FILL_PROPERTY_INFO Signature
Method FILL_PROPERTY_INFO on class CL_ACI_ASTNODE has no parameter.
Method FILL_PROPERTY_INFO on class CL_ACI_ASTNODE has no exception.
Method FILL_PROPERTY_INFO_KRN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PROPERTY_INFO | Call by reference | Type reference (TYPE) | STRING_TABLE | Info as string table | 20090112 | |||
| 2 | VERSION | Call by reference | Type reference (TYPE) | I | 1 | Required version of info format | 20090112 |
Method FILL_PROPERTY_INFO_KRN on class CL_ACI_ASTNODE has no exception.
Method FROM_XMLNODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ASTNODE | Value transfer | Object reference (TYPE REF TO) | CL_ACI_ASTNODE | Result AST node | 20070802 | |||
| 2 | ASTROOT | Call by reference | Object reference (TYPE REF TO) | CL_ACI_ASTROOT | AST root for new node | 20070817 | |||
| 3 | XMLNODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | XML node | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EXPERIMENTAL, DON'T USE (Errors related to XML use in ACI) | 20090129 |
Method GET_NEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MODE | Call by reference | Type reference (TYPE) | I | 0 | 0 ( = next node), 1 ( = next statement) | 20100920 | ||
| 2 | NEXT_NODE | Value transfer | Object reference (TYPE REF TO) | CL_ACI_ASTNODE | EXPERIMENTAL, DON'T USE (AST Node) | 20100920 |
Method GET_NEXT on class CL_ACI_ASTNODE has no exception.
Method GET_NODE_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | NODE_ID | Value transfer | Type reference (TYPE) | T_NODE_ID | Node id | 20070817 |
Method GET_NODE_ID on class CL_ACI_ASTNODE has no exception.
Method GET_NODE_PROPERTY_BOOL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEFAULT_VALUE | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20081219 | ||||
| 2 | PROPERTY | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081219 | ||||
| 3 | PROPERTY_ID | Call by reference | Type reference (TYPE) | T_PROPERTY_ID | Node Property Id type | 20081219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | If property ID is invalid or if the property is not boolean | 20081219 |
Method GET_NODE_PROPERTY_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ID | Call by reference | Type reference (TYPE) | T_PROPERTY_ID | Corresponding id | 20090109 | |||
| 2 | STRING | Call by reference | Type reference (TYPE) | STRING | Name of the property | 20090109 | |||
| 3 | TYPE | Call by reference | Type reference (TYPE) | T_PROPERTY_TYPE | Type of the property | 20090109 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | EXPERIMENTAL, DON'T USE (Errors related to the ACI) | 20090109 |
Method GET_NODE_PROPERTY_INT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEFAULT_VALUE | Call by reference | Type reference (TYPE) | I | 20081219 | ||||
| 2 | PROPERTY | Value transfer | Type reference (TYPE) | I | 20081219 | ||||
| 3 | PROPERTY_ID | Call by reference | Type reference (TYPE) | T_PROPERTY_ID | 20081219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081219 |
Method GET_NODE_PROPERTY_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DEFAULT_VALUE | Call by reference | Type reference (TYPE) | STRING | 20081219 | ||||
| 2 | PROPERTY | Value transfer | Type reference (TYPE) | STRING | 20081219 | ||||
| 3 | PROPERTY_ID | Call by reference | Type reference (TYPE) | T_PROPERTY_ID | 20081219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081219 |
Method GET_NODE_TYPE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RE_NODE_TYPE | Value transfer | Type reference (TYPE) | T_NODE_TYPE | 20100923 |
Method GET_NODE_TYPE on class CL_ACI_ASTNODE has no exception.
Method GET_NODE_TYPE_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_NODE_TYPE | Call by reference | Type reference (TYPE) | T_NODE_TYPE | 20100923 | ||||
| 2 | RE_TEXT | Value transfer | Type reference (TYPE) | STRING | 20100923 |
Method GET_NODE_TYPE_TEXT on class CL_ACI_ASTNODE has no exception.
Method GET_PARENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | PARENT | Value transfer | Object reference (TYPE REF TO) | CL_ACI_ASTNODE | Parent | 20070817 |
Method GET_PARENT on class CL_ACI_ASTNODE has no exception.
Method GET_PREVIOUS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MODE | Call by reference | Type reference (TYPE) | I | 0 | 0 ( = prev node), 1 ( = prev statement) | 20100920 | ||
| 2 | PREV_NODE | Value transfer | Object reference (TYPE REF TO) | CL_ACI_ASTNODE | EXPERIMENTAL, DON'T USE (AST Node) | 20100920 |
Method GET_PREVIOUS on class CL_ACI_ASTNODE has no exception.
Method GET_SOURCE_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COLUMN | Call by reference | Type reference (TYPE) | INT4 | Source Column, 1-based | 20080916 | |||
| 2 | LINE | Call by reference | Type reference (TYPE) | INT4 | Source Line, 1-based | 20080916 | |||
| 3 | PROGNAME | Call by reference | Type reference (TYPE) | PROGNAME | ABAP Program Name | 20080916 | |||
| 4 | SOURCE_TYPE | Call by reference | Type reference (TYPE) | T_SOURCE_TYPE | type of progname | 20081125 |
Method GET_SOURCE_POSITION on class CL_ACI_ASTNODE has no exception.
Method GET_SOURCE_POSITION_DETAILS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_DIRECT_POSITION | Call by reference | Type reference (TYPE) | T_POSITION | direct position in include/macro... | 20081127 | |||
| 2 | EX_POSITION_IN_SOURCE | Call by reference | Type reference (TYPE) | T_POSITION | calculated position in source code | 20081120 | |||
| 3 | EX_POSITION_OF_CALL | Call by reference | Type reference (TYPE) | T_POSITION | position of call (if in macro or include) | 20081120 |
Method GET_SOURCE_POSITION_DETAILS on class CL_ACI_ASTNODE has no exception.
Method GET_SOURCE_POSITION_HIERARCHY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_SOURCE_POSITION_HIERARCHY | Call by reference | Type reference (TYPE) | ACI_SOURCE_POSITIONS | 20100923 |
Method GET_SOURCE_POSITION_HIERARCHY on class CL_ACI_ASTNODE has no exception.
Method HAS_NODE_PROPERTY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HAS_NODE_PROPERTY | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20081219 | ||||
| 2 | PROPERTY_ID | Call by reference | Type reference (TYPE) | T_PROPERTY_ID | 20081219 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081219 |
Method LIST_FROM_XMLNODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ASTNODES | Value transfer | Type reference (TYPE) | ACI_ASTNODES | AST nodes | 20070817 | |||
| 2 | ASTROOT | Call by reference | Object reference (TYPE REF TO) | CL_ACI_ASTROOT | AST root for new nodes | 20070817 | |||
| 3 | XMLNODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | XML node | 20070806 |
Method LIST_FROM_XMLNODE on class CL_ACI_ASTNODE has no exception.
Method TO_XMLNODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | XMLNODE | Value transfer | Object reference (TYPE REF TO) | IF_IXML_NODE | XML node | 20070802 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20090305 |
Method _GET_IDENTITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IDENTITY | Value transfer | Type reference (TYPE) | %_C_POINTER | Identity of node | 20080828 |
Method _GET_IDENTITY on class CL_ACI_ASTNODE has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 710 |