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 ABAP 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 CO_NTYPE_ARGUMENT Constant Public Type reference (TYPE) T_NODE_TYPE 5 20100923
2 CO_NTYPE_ARG_LIST_CLAUSE Constant Public Type reference (TYPE) T_NODE_TYPE 8 20100923
3 CO_NTYPE_ASTNODE Constant Public Type reference (TYPE) T_NODE_TYPE 1 20100923
4 CO_NTYPE_ASTROOT Constant Public Type reference (TYPE) T_NODE_TYPE 4 20100923
5 CO_NTYPE_CLAUSE Constant Public Type reference (TYPE) T_NODE_TYPE 6 20100923
6 CO_NTYPE_COMPOUND_STATEMENT Constant Public Type reference (TYPE) T_NODE_TYPE 15 20100923
7 CO_NTYPE_IDENTIFIER Constant Public Type reference (TYPE) T_NODE_TYPE 11 20100923
8 CO_NTYPE_LIST_CLAUSE Constant Public Type reference (TYPE) T_NODE_TYPE 7 20100923
9 CO_NTYPE_LITERAL Constant Public Type reference (TYPE) T_NODE_TYPE 12 20100923
10 CO_NTYPE_OPERATOR Constant Public Type reference (TYPE) T_NODE_TYPE 13 20100923
11 CO_NTYPE_RESULT Constant Public Type reference (TYPE) T_NODE_TYPE 2 20100923
12 CO_NTYPE_STATEMENT Constant Public Type reference (TYPE) T_NODE_TYPE 3 20100923
13 CO_NTYPE_STRUC_ARG_CLAUSE Constant Public Type reference (TYPE) T_NODE_TYPE 10 20100923
14 CO_NTYPE_STRUC_CLAUSE Constant Public Type reference (TYPE) T_NODE_TYPE 9 20100923
15 CO_NTYPE_STRUC_OPERATOR Constant Public Type reference (TYPE) T_NODE_TYPE 14 20100923
16 CO_PROPERTY_TYPE Constant Public See coding Type of the values of a node property 20090109
17 CO_SOURCE_TYPE Constant Public See coding 20081125
18 C_PTR Instance attribute Protected Type reference (TYPE) %_C_POINTER Kernel object 20070803
19 NODE_ID_INVALID Constant Public Type reference (TYPE) T_NODE_ID -1 Invalid node id 20070820
20 NODE_PROPERTY_INFOS Static Attribute Private See coding Meta info about node properties 20090109
21 NODE_PROPERTY_INFOS_VALID 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 DESTRUCTOR Instance method Public Destructor 20070820
2 FILL_PROPERTY_INFO Static method Private Method Get information about supported node properties 20090112
3 FILL_PROPERTY_INFO_KRN Static method Private Method Get information about supported node properties from kernel 20090112
4 FROM_XMLNODE Static method Public Method Deserialize AST node from XML node 20070802
5 GET_NEXT Instance method Public Method Get next node 20100920
6 GET_NODE_ID Instance method Public Method Get AST node id 20070817
7 GET_NODE_PROPERTY_BOOL Instance method Public Method Return node's value of Boolean node property 20081219
8 GET_NODE_PROPERTY_INFO Static method Public Method Get meta information about a node property 20090109
9 GET_NODE_PROPERTY_INT Instance method Public Method Return node's value of Integer node property 20081219
10 GET_NODE_PROPERTY_STRING Instance method Public Method Return node's value of String node property 20081219
11 GET_NODE_TYPE Instance method Public Method 20100923
12 GET_NODE_TYPE_TEXT Static method Public Method 20100923
13 GET_PARENT Instance method Public Method Get parent 20070817
14 GET_PREVIOUS Instance method Public Method Get previous node 20100920
15 GET_SOURCE_POSITION Instance method Public Method Retrieve the source position (pos/col = -1) if not set 20080916
16 GET_SOURCE_POSITION_DETAILS Instance method Public Method Retrieve source position (+ position in include) 20081120
17 GET_SOURCE_POSITION_HIERARCHY Instance method Public Method 20100923
18 HAS_NODE_PROPERTY Instance method Public Method Does node have this property? 20081219
19 LIST_FROM_XMLNODE Static method Public Method Deserialize AST nodes from XML node 20070806
20 TO_XMLNODE Instance method Public Method Serialize AST node to XML node 20070802
21 _GET_IDENTITY 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 Exporting PROPERTY_INFO Call by reference Type reference (TYPE) STRING_TABLE Info as string table 20090112
2 Importing 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 Exporting ASTNODE Value transfer Object reference (TYPE REF TO) CL_ACI_ASTNODE Result AST node 20070802
2 Changing ASTROOT Call by reference Object reference (TYPE REF TO) CL_ACI_ASTROOT AST root for new node 20070817
3 Importing XMLNODE Call by reference Object reference (TYPE REF TO) IF_IXML_NODE XML node 20070802
# Exception Resumable Description Created on
1 CX_ACI_ERROR 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 Importing IV_MODE Call by reference Type reference (TYPE) I 0 0 ( = next node), 1 ( = next statement) 20100920
2 Returning 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 Returning 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 Importing DEFAULT_VALUE Call by reference Type reference (TYPE) ABAP_BOOL 20081219
2 Returning PROPERTY Value transfer Type reference (TYPE) ABAP_BOOL 20081219
3 Importing PROPERTY_ID Call by reference Type reference (TYPE) T_PROPERTY_ID Node Property Id type 20081219
# Exception Resumable Description Created on
1 CX_ACI_ERROR 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 Exporting ID Call by reference Type reference (TYPE) T_PROPERTY_ID Corresponding id 20090109
2 Importing STRING Call by reference Type reference (TYPE) STRING Name of the property 20090109
3 Exporting TYPE Call by reference Type reference (TYPE) T_PROPERTY_TYPE Type of the property 20090109
# Exception Resumable Description Created on
1 CX_ACI_ERROR 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 Importing DEFAULT_VALUE Call by reference Type reference (TYPE) I 20081219
2 Returning PROPERTY Value transfer Type reference (TYPE) I 20081219
3 Importing PROPERTY_ID Call by reference Type reference (TYPE) T_PROPERTY_ID 20081219
# Exception Resumable Description Created on
1 CX_ACI_ERROR 20081219

Method GET_NODE_PROPERTY_STRING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing DEFAULT_VALUE Call by reference Type reference (TYPE) STRING 20081219
2 Returning PROPERTY Value transfer Type reference (TYPE) STRING 20081219
3 Importing PROPERTY_ID Call by reference Type reference (TYPE) T_PROPERTY_ID 20081219
# Exception Resumable Description Created on
1 CX_ACI_ERROR 20081219

Method GET_NODE_TYPE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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 Importing IM_NODE_TYPE Call by reference Type reference (TYPE) T_NODE_TYPE 20100923
2 Returning 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 Returning 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 Importing IV_MODE Call by reference Type reference (TYPE) I 0 0 ( = prev node), 1 ( = prev statement) 20100920
2 Returning 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 Exporting COLUMN Call by reference Type reference (TYPE) INT4 Source Column, 1-based 20080916
2 Exporting LINE Call by reference Type reference (TYPE) INT4 Source Line, 1-based 20080916
3 Exporting PROGNAME Call by reference Type reference (TYPE) PROGNAME ABAP Program Name 20080916
4 Exporting 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 Exporting EX_DIRECT_POSITION Call by reference Type reference (TYPE) T_POSITION direct position in include/macro... 20081127
2 Exporting EX_POSITION_IN_SOURCE Call by reference Type reference (TYPE) T_POSITION calculated position in source code 20081120
3 Exporting 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 Exporting 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 Returning HAS_NODE_PROPERTY Value transfer Type reference (TYPE) ABAP_BOOL 20081219
2 Importing PROPERTY_ID Call by reference Type reference (TYPE) T_PROPERTY_ID 20081219
# Exception Resumable Description Created on
1 CX_ACI_ERROR 20081219

Method LIST_FROM_XMLNODE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ASTNODES Value transfer Type reference (TYPE) ACI_ASTNODES AST nodes 20070817
2 Changing ASTROOT Call by reference Object reference (TYPE REF TO) CL_ACI_ASTROOT AST root for new nodes 20070817
3 Importing 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 Changing XMLNODE Value transfer Object reference (TYPE REF TO) IF_IXML_NODE XML node 20070802
# Exception Resumable Description Created on
1 CX_ACI_ERROR 20090305

Method _GET_IDENTITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning 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