SAP ABAP Class CL_ABAP_DOC_SCANNER (CoCo: ABAP Doc Tokenize)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-ABA-LA (Application Component) Syntax, Compiler, Runtime
⤷
S_CODE_COMPLETION (Package) ABAP code completion
⤷
⤷
Properties
| Class | CL_ABAP_DOC_SCANNER | |
| Short Description | CoCo: ABAP Doc Tokenize | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_CODE_COMPLETION | ABAP code completion |
| Created | 20120810 | SAP |
| Last change | 20130531 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_ABAP_DOC_SCANNER has no forward declaration.
Interfaces
Class CL_ABAP_DOC_SCANNER has no interface implemented.
Friends
Class CL_ABAP_DOC_SCANNER 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_TOKEN_TYPE | 'A' | Token: ABAP Doc Argument | 20120810 | ||
| 2 | Constant | Public | Type reference (TYPE) | T_TOKEN_TYPE | 'K' | Token: ABAP Doc Keyword | 20120810 | ||
| 3 | Constant | Public | Type reference (TYPE) | T_TOKEN_TYPE | 'S' | Token: ABAP Doc Symbol | 20120810 | ||
| 4 | Constant | Public | Type reference (TYPE) | T_TOKEN_TYPE | 'T' | Token: ABAP Doc Text | 20120810 | ||
| 5 | Static Attribute | Private | Type reference (TYPE) | STRING | 20120810 | ||||
| 6 | Static Attribute | Private | Type reference (TYPE) | STRING | 20120810 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20120810 | |
| 2 | Static method | Private | Method | Get next token | 20120810 | |
| 3 | Static method | Public | Method | Tokenize ABAP Doc comment | 20120810 |
Events
Class CL_ABAP_DOC_SCANNER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TS_TOKEN | Public | See coding | Token (Type and Content) | 20120810 | begin of ts_token,
str type string,
type type t_token_type,
end of ts_token
|
|
| 2 | TT_TOKEN | Public | See coding | 20120810 | tt_token TYPE STANDARD TABLE OF TS_TOKEN INITIAL SIZE 20
|
||
| 3 | T_TOKEN_TYPE | Public | See coding | Token Type (Keyword, Symbol, Argument, Text) | 20120810 | t_token_type type c length 1
|
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_ABAP_DOC_SCANNER has no parameter.
Method CLASS_CONSTRUCTOR on class CL_ABAP_DOC_SCANNER has no exception.
Method GET_NEXT_TOKEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | POS | Call by reference | Type reference (TYPE) | I | 20120810 | ||||
| 2 | TEXT | Call by reference | Type reference (TYPE) | STRING | 20120810 | ||||
| 3 | TOKENTEXT | Value transfer | Type reference (TYPE) | STRING | 20120810 |
Method GET_NEXT_TOKEN on class CL_ABAP_DOC_SCANNER has no exception.
Method TOKENIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | COMMENT | Call by reference | Type reference (TYPE) | STRING | ABAP Doc Comment | 20120810 | |||
| 2 | TOKENS | Call by reference | Type reference (TYPE) | TT_TOKEN | ABAP Doc Tokens | 20120810 |
Method TOKENIZE on class CL_ABAP_DOC_SCANNER has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |