Top Method Summary
Options Name Purpose
EmitToken (integer, integer, integer, integer, character, ListProToken) Emits one token in the requested representation Notes : Called only for modes 1 and 2 (mode 0 counts inline). @param piMode The scan mode (1 = object, 2 = temp-table) @param piType The token type @param piSeq The token sequence number @param piLine The source line @param pcText The token text @param poList The token list (mode 1) */
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken GetToken (integer) Materializes a ProToken for a stored token on demand Notes : Demonstrates lazy materialization from the columnar store. @param piSeq The 1-based token sequence number @return The ProToken, or the unknown value if out of range */
INTEGER LookupKeyword (character) Resolves an identifier to a token type, with caching Notes : @param pcText The identifier text @return The resolved token type */
INTEGER Scan (longchar, integer, ListProToken) Single-pass block-scanning tokenizer over a byte buffer Notes : @param plcSource The source code @param piMode The representation mode (0 count, 1 objects, 2 temp-table) @param poList The token list (mode 1) @return The number of tokens produced */
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ListProToken Tokenize (longchar) Tokenizes source and returns the tokens as a ProToken list Notes : @param plcSource The source code @return The token list */
INTEGER TokenizeCount (longchar) Tokenizes source and returns only the token count Notes : Isolates raw scanning throughput from token materialization. @param plcSource The source code @return The number of tokens */
INTEGER TokenizeToTable (longchar) Tokenizes source into a columnar temp-table store Notes : The lazy / non-object token representation. ProToken objects are materialized only on demand via GetToken. @param plcSource The source code @return The number of tokens stored */

Top Constructor Summary
Options Name Purpose
FastScanner () Constructor for the FastScanner class Notes : */


Method Detail
Top

EmitToken (integer, integer, integer, integer, character, ListProToken)

Purpose: Emits one token in the requested representation
Notes : Called only for modes 1 and 2 (mode 0 counts inline).

Parameters:
piMode INTEGER
The scan mode (1 = object, 2 = temp-table)
piType INTEGER
The token type
piSeq INTEGER
The token sequence number
piLine INTEGER
The source line
pcText CHARACTER
The token text
poList Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ListProToken
The token list (mode 1)
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken GetToken (integer)

Purpose: Materializes a ProToken for a stored token on demand
Notes : Demonstrates lazy materialization from the columnar store.

Parameters:
piSeq INTEGER
The 1-based token sequence number
Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken
The ProToken, or the unknown value if out of range
Top

INTEGER LookupKeyword (character)

Purpose: Resolves an identifier to a token type, with caching
Notes :

Parameters:
pcText CHARACTER
The identifier text
Returns INTEGER
The resolved token type
Top

INTEGER Scan (longchar, integer, ListProToken)

Purpose: Single-pass block-scanning tokenizer over a byte buffer
Notes :

Parameters:
plcSource LONGCHAR
The source code
piMode INTEGER
The representation mode (0 count, 1 objects, 2 temp-table)
poList Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ListProToken
The token list (mode 1)
Returns INTEGER
The number of tokens produced
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ListProToken Tokenize (longchar)

Purpose: Tokenizes source and returns the tokens as a ProToken list
Notes :

Parameters:
plcSource LONGCHAR
The source code
Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ListProToken
The token list
Top

INTEGER TokenizeCount (longchar)

Purpose: Tokenizes source and returns only the token count
Notes : Isolates raw scanning throughput from token materialization.

Parameters:
plcSource LONGCHAR
The source code
Returns INTEGER
The number of tokens
Top

INTEGER TokenizeToTable (longchar)

Purpose: Tokenizes source into a columnar temp-table store
Notes : The lazy / non-object token representation. ProToken objects
are materialized only on demand via GetToken.

Parameters:
plcSource LONGCHAR
The source code
Returns INTEGER
The number of tokens stored


Constructor Detail
Top

FastScanner ()

Purpose: Constructor for the FastScanner class
Notes :



©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       19.09.2026 10:18:13