Top Method Summary
Options Name Purpose
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken EvaluateDefined () Evaluates a DEFINED() function call inside an &IF condition Notes : Named EvaluateDefined because a method named "Defined" crashes the OpenEdge 11.7 compiler (SCL-5595). @return A NUMBER token carrying the DEFINED result (0..3) */
GetNextToken () Reads the next token from the lexer into the current token Notes : */
LOGICAL IfLastConsuming () Returns whether the top &IF state is consuming Notes : @return Logical value indicating consuming */
LOGICAL IfLastDone () Returns whether the top &IF state has already matched a branch Notes : @return Logical value indicating a matched branch */
IfPop () Pops the top &IF state off the stack Notes : */
IfPush () Pushes a new &IF state onto the stack Notes : */
IfSetLastConsuming (logical) Sets the consuming flag of the top &IF state Notes : @param plValue The value to set */
IfSetLastDone (logical) Sets the done flag of the top &IF state Notes : @param plValue The value to set */
INTEGER IfSize () Returns the current depth of the &IF state stack Notes : @return The stack depth */
LOGICAL IfStateConsuming (integer) Returns whether the &IF state at the given level is consuming Notes : @param piLevel The &IF stack level @return Logical value indicating consuming */
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken NextToken () Returns the next token, resolving &IF conditional compilation Notes : @return The next visible ProToken */
PreproConsume () Consumes the tokens of a compiled-out &IF / &ELSEIF / &ELSE branch Notes : */
PreproElse () Processes an &ELSE directive Notes : */
PreproElseif () Processes an &ELSEIF directive Notes : */
PreproEndif () Processes an &ENDIF directive Notes : */
PreproIf () Processes an &IF directive Notes : */
LOGICAL PreproIfCond (logical) Collects and evaluates an &IF / &ELSEIF condition Notes : @param plEvaluate The plEvaluate value @return The condition result */

Top Constructor Summary
Options Name Purpose
Postlexer (Preprocessor, Lexer) Constructor for the Postlexer class Notes : @param poPreprocessor The preprocessor @param poLexer The lexer */


Method Detail
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken EvaluateDefined ()

Purpose: Evaluates a DEFINED() function call inside an &IF condition
Notes : Named EvaluateDefined because a method named "Defined"
crashes the OpenEdge 11.7 compiler (SCL-5595).

Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken
A NUMBER token carrying the DEFINED result (0..3)
Top

GetNextToken ()

Purpose: Reads the next token from the lexer into the current token
Notes :

Top

LOGICAL IfLastConsuming ()

Purpose: Returns whether the top &IF state is consuming
Notes :

Returns LOGICAL
Logical value indicating consuming
Top

LOGICAL IfLastDone ()

Purpose: Returns whether the top &IF state has already matched a branch
Notes :

Returns LOGICAL
Logical value indicating a matched branch
Top

IfPop ()

Purpose: Pops the top &IF state off the stack
Notes :

Top

IfPush ()

Purpose: Pushes a new &IF state onto the stack
Notes :

Top

IfSetLastConsuming (logical)

Purpose: Sets the consuming flag of the top &IF state
Notes :

Parameters:
plValue LOGICAL
The value to set
Top

IfSetLastDone (logical)

Purpose: Sets the done flag of the top &IF state
Notes :

Parameters:
plValue LOGICAL
The value to set
Top

INTEGER IfSize ()

Purpose: Returns the current depth of the &IF state stack
Notes :

Returns INTEGER
The stack depth
Top

LOGICAL IfStateConsuming (integer)

Purpose: Returns whether the &IF state at the given level is consuming
Notes :

Parameters:
piLevel INTEGER
The &IF stack level
Returns LOGICAL
Logical value indicating consuming
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken NextToken ()

Purpose: Returns the next token, resolving &IF conditional compilation
Notes :

Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.ProToken
The next visible ProToken
Top

PreproConsume ()

Purpose: Consumes the tokens of a compiled-out &IF / &ELSEIF / &ELSE branch
Notes :

Top

PreproElse ()

Purpose: Processes an &ELSE directive
Notes :

Top

PreproElseif ()

Purpose: Processes an &ELSEIF directive
Notes :

Top

PreproEndif ()

Purpose: Processes an &ENDIF directive
Notes :

Top

PreproIf ()

Purpose: Processes an &IF directive
Notes :

Top

LOGICAL PreproIfCond (logical)

Purpose: Collects and evaluates an &IF / &ELSEIF condition
Notes :

Parameters:
plEvaluate LOGICAL
The plEvaluate value
Returns LOGICAL
The condition result


Constructor Detail
Top

Postlexer (Preprocessor, Lexer)

Purpose: Constructor for the Postlexer class
Notes :

Parameters:
poPreprocessor Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.Preprocessor
The preprocessor
poLexer Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.Lexer
The lexer


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