Top Method Summary
Options Name Purpose
AddNumberedArg (character) Appends a numbered include argument Notes : @param pcValue The argument value */
DefineName (character, character) Defines a scoped preprocessor name in this scope Notes : @param pcName The (lowercased) name @param pcValue The value */
DefineNamedArg (character, character) Defines a named include argument Notes : Named include arguments can also be referenced by number, so they are appended to the numbered argument list as well. @param pcName The argument name @param pcValue The argument value */
CHARACTER GetAllNamedArgs () Returns all named argument definitions (&name="value" ...) Notes : Corresponds to the {&*} reference. @return The concatenated named argument definitions */
CHARACTER GetAllNumberedArgs () Returns all numbered arguments (from {1}) space delimited Notes : Corresponds to the {*} reference. @return The space-delimited argument values */
CHARACTER GetName (character) Returns the value of a scoped name, or the unknown value Notes : @param pcName The name to look up @return The value, or ? if not defined */
CHARACTER GetNamedArg (character) Returns a named argument value, or the unknown value Notes : If the name is blank, the first blank (undefined) named argument is returned. The first definition wins. @param pcName The argument name @return The argument value, or ? if not found */
CHARACTER GetNumberedArg (integer) Returns a numbered argument value ("" if out of range) Notes : @param piArgNum The 0-based argument number @return The argument value, or the empty string */
LOGICAL HasName (character) Returns whether a scoped name is defined in this scope Notes : @param pcName The name to check @return Logical value indicating if the name is defined */
INTEGER NumberedArgCount () Returns the count of numbered arguments (including {0}) Notes : @return The number of numbered arguments */
LOGICAL RemoveName (character) Removes a scoped name from this scope Notes : @param pcName The name to remove @return Logical value indicating if the name was found and removed */
LOGICAL UndefineNamedArg (character) Undefines the first matching named include argument Notes : Blanks the name of the first matching entry, which is what Progress does, so a later definition of the same name becomes the active one. @param pcName The argument name @return Logical value indicating if a matching argument was found */

Top Constructor Summary
Options Name Purpose
PreproScope (character, InputSource) Constructor for the PreproScope class Notes : @param pcReferencedWithName The name this include was referenced with ({0}) @param poInput The bottom input source (the include file content) */

Top Property Summary
Options Name Purpose
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproScope Previous
Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.InputSource TopInput


Method Detail
Top

AddNumberedArg (character)

Purpose: Appends a numbered include argument
Notes :

Parameters:
pcValue CHARACTER
The argument value
Top

DefineName (character, character)

Purpose: Defines a scoped preprocessor name in this scope
Notes :

Parameters:
pcName CHARACTER
The (lowercased) name
pcValue CHARACTER
The value
Top

DefineNamedArg (character, character)

Purpose: Defines a named include argument
Notes : Named include arguments can also be referenced by number, so
they are appended to the numbered argument list as well.

Parameters:
pcName CHARACTER
The argument name
pcValue CHARACTER
The argument value
Top

CHARACTER GetAllNamedArgs ()

Purpose: Returns all named argument definitions (&name="value" ...)
Notes : Corresponds to the {&*} reference.

Returns CHARACTER
The concatenated named argument definitions
Top

CHARACTER GetAllNumberedArgs ()

Purpose: Returns all numbered arguments (from {1}) space delimited
Notes : Corresponds to the {*} reference.

Returns CHARACTER
The space-delimited argument values
Top

CHARACTER GetName (character)

Purpose: Returns the value of a scoped name, or the unknown value
Notes :

Parameters:
pcName CHARACTER
The name to look up
Returns CHARACTER
The value, or ? if not defined
Top

CHARACTER GetNamedArg (character)

Purpose: Returns a named argument value, or the unknown value
Notes : If the name is blank, the first blank (undefined) named
argument is returned. The first definition wins.

Parameters:
pcName CHARACTER
The argument name
Returns CHARACTER
The argument value, or ? if not found
Top

CHARACTER GetNumberedArg (integer)

Purpose: Returns a numbered argument value ("" if out of range)
Notes :

Parameters:
piArgNum INTEGER
The 0-based argument number
Returns CHARACTER
The argument value, or the empty string
Top

LOGICAL HasName (character)

Purpose: Returns whether a scoped name is defined in this scope
Notes :

Parameters:
pcName CHARACTER
The name to check
Returns LOGICAL
Logical value indicating if the name is defined
Top

INTEGER NumberedArgCount ()

Purpose: Returns the count of numbered arguments (including {0})
Notes :

Returns INTEGER
The number of numbered arguments
Top

LOGICAL RemoveName (character)

Purpose: Removes a scoped name from this scope
Notes :

Parameters:
pcName CHARACTER
The name to remove
Returns LOGICAL
Logical value indicating if the name was found and removed
Top

LOGICAL UndefineNamedArg (character)

Purpose: Undefines the first matching named include argument
Notes : Blanks the name of the first matching entry, which is what
Progress does, so a later definition of the same name becomes
the active one.

Parameters:
pcName CHARACTER
The argument name
Returns LOGICAL
Logical value indicating if a matching argument was found


Constructor Detail
Top

PreproScope (character, InputSource)

Purpose: Constructor for the PreproScope class
Notes :

Parameters:
pcReferencedWithName CHARACTER
The name this include was referenced with ({0})
poInput Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.InputSource
The bottom input source (the include file content)


Property Detail
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproScope Previous


Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.PreproScope
Top

Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.InputSource TopInput


Returns Consultingwerk.Studio.ProparseApi.Implementation.ProparseAbl.Lexer.InputSource


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