SAP ABAP Class CL_SOURCE_SCANNER (WB - Source Scanner)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DWB-TOO-CLA (Application Component) Class Builder
⤷
SEO_SOURCE_BASED (Package) Source-based Class Editor
⤷
⤷
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_OO_SOURCE_SCANNER | Scanner for Classes and Interfaces | 20061207 |
Properties
| Class | CL_SOURCE_SCANNER | |
| Short Description | WB - Source Scanner | |
| Super Class | ||
| Instantiability of a Class | 1 | Protected |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SEO_SOURCE_BASED | Source-based Class Editor |
| Created | 20061207 | SAP |
| Last change | 20130531 | 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_SOURCE_SCANNER has no interface implemented.
Friends
Class CL_SOURCE_SCANNER has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | SEOP_SOURCE_STRING | SOURCE | 20061207 | |||
| 2 | Instance attribute | Protected | See coding | STATEMENTS | 20061207 | ||||
| 3 | Instance attribute | Protected | See coding | TOKENS | 20061207 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | CREATE | 20061207 | |
| 2 | Instance method | Public | Method | 20091110 | ||
| 3 | Instance method | Protected | Method | GET_SOURCE_BY_INTERVAL | 20061207 | |
| 4 | Instance method | Protected | Method | GET_STATEMENT_BEGIN | 20061207 | |
| 5 | Instance method | Protected | Method | GET_STATEMENT_END | 20061207 | |
| 6 | Instance method | Protected | Method | GET_TOKEN_FROM_STATEMENT | 20061207 | |
| 7 | Instance method | Public | Method | SCAN | 20061207 |
Events
Class CL_SOURCE_SCANNER has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TYPE_SOURCE_INTERVAL | Public | See coding | TYPE_SOURCE_INTERVAL | 20061207 | begin of type_source_interval,
begin type type_source_position,
end type type_source_position,
end of type_source_interval
|
|
| 2 | TYPE_SOURCE_POSITION | Public | See coding | TYPE_SOURCE_POSITION | 20061207 | begin of type_source_position,
line type i,
column type i,
end of type_source_position
|
Method Signatures
Method CREATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SCANNER | Value transfer | Object reference (TYPE REF TO) | CL_SOURCE_SCANNER | SCANNER | 20061207 | |||
| 2 | SOURCE | Call by reference | Type reference (TYPE) | SEOP_SOURCE_STRING | SOURCE | 20061207 |
Method CREATE on class CL_SOURCE_SCANNER has no exception.
Method GET_SOURCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SOURCE | Value transfer | Type reference (TYPE) | RSWSOURCET | 20091110 |
Method GET_SOURCE on class CL_SOURCE_SCANNER has no exception.
Method GET_SOURCE_BY_INTERVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INTERVAL | Call by reference | Type reference (TYPE) | TYPE_SOURCE_INTERVAL | INTERVAL | 20061207 | |||
| 2 | INTERVAL_SOURCE | Value transfer | Type reference (TYPE) | SEOP_SOURCE_STRING | INTERVAL_SOURCE | 20061207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_CLIF_SCAN_ERROR | 20091124 |
Method GET_STATEMENT_BEGIN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | POSITION | Value transfer | Type reference (TYPE) | TYPE_SOURCE_POSITION | POSITION | 20061207 | |||
| 2 | STATEMENT | Call by reference | Type reference (TYPE) | SSTMNT | STATEMENT | 20061207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_CLIF_SCAN_ERROR | 20091124 |
Method GET_STATEMENT_END Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | APPEND_COMMENT | Call by reference | Type reference (TYPE) | SEOX_BOOLEAN | SEOX_FALSE | 20070710 | |||
| 2 | POSITION | Value transfer | Type reference (TYPE) | TYPE_SOURCE_POSITION | POSITION | 20061207 | |||
| 3 | STATEMENT | Call by reference | Type reference (TYPE) | SSTMNT | STATEMENT | 20061207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Class Processing Error | 20091124 |
Method GET_TOKEN_FROM_STATEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | STATEMENT | Call by reference | Type reference (TYPE) | SSTMNT | STATEMENT | 20061207 | |||
| 2 | TOKEN | Value transfer | Type reference (TYPE) | STOKES | TOKEN | 20061207 | |||
| 3 | TOKEN_NUMBER | Call by reference | Type reference (TYPE) | I | 1 | TOKEN_NUMBER | 20061207 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Class Processing Error | 20091124 |
Method SCAN Signature
Method SCAN on class CL_SOURCE_SCANNER has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CX_CLIF_SCAN_ERROR | 20091124 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 710 |