Top Method Summary
Options Name Purpose
Consultingwerk.Studio.ProparseApi.INode FindMarkerAnnotation (IParseUnit) Returns the marker annotation appended in front of the expression
Consultingwerk.BufferFieldName GetBufferFieldName (IFieldRefNode) Returns the field reference of a Field_ref node
INTEGER GetFileLength (character) Returns the length of the content of a file in characters
Consultingwerk.Studio.ProparseApi.IProparseApi GetProparseApi () Returns the IProparseApi service used to parse the expression
INTEGER NextFieldOrder (character) Returns the next available field order value for the given temp-table
CHARACTER ProcessCalculatedFieldExpression (character, character, handle) Processes a calculated field expression
CHARACTER ProcessCalculatedFieldExpression (character, handle) Processes a calculated field expression
CHARACTER TempTableForSourceTable (character) Returns the name of the temp-table which is mapping the given source (DB) table
WalkAst (INode, RefactorSession2) Recursively walks the AST

Top Property Summary
Options Name Purpose
CHARACTER MarkerAnnotation


Method Detail
Top

Consultingwerk.Studio.ProparseApi.INode FindMarkerAnnotation (IParseUnit)

Purpose: Returns the marker annotation appended in front of the expression
Notes: The annotation is appended to the end of the program, so the last
annotation with the marker text is returned

Parameters:
poParseUnit Consultingwerk.Studio.ProparseApi.IParseUnit
The IParseUnit of the temporary source file
Returns Consultingwerk.Studio.ProparseApi.INode
The INode of the marker annotation or ? when it is not found
Top

Consultingwerk.BufferFieldName GetBufferFieldName (IFieldRefNode)

Purpose: Returns the field reference of a Field_ref node
Notes: A field reference without a resolved symbol (an unknown name) has
no field reference

Parameters:
poFieldRefNode Consultingwerk.Studio.ProparseApi.IFieldRefNode
The IFieldRefNode to return the field reference for
Returns Consultingwerk.BufferFieldName
The BufferFieldName of the field reference or ? when the symbol is not resolved
Top

INTEGER GetFileLength (character)

Purpose: Returns the length of the content of a file in characters
Notes:

Parameters:
pcFileName CHARACTER
The name of the file
Returns INTEGER
The length of the file content in characters
Top

Consultingwerk.Studio.ProparseApi.IProparseApi GetProparseApi ()

Purpose: Returns the IProparseApi service used to parse the expression
Notes: SCL-6313: Without a registered IProparseApi service, the desktop
default ProparseDotNetApi is registered on Windows and the pure
ABL ProparseAblApi otherwise

Returns Consultingwerk.Studio.ProparseApi.IProparseApi
The IProparseApi service
Top

INTEGER NextFieldOrder (character)

Purpose: Returns the next available field order value for the given temp-table
Notes: SCL-6313: The index of eField is named Order. The former reference
to an index FieldOrder made the FIND fail, and the method then
read the field of an unavailable record

Parameters:
pcTempTableName CHARACTER
The temp-table name of return the field order for
Returns INTEGER
The next available field order value for the given temp-table
Top

CHARACTER ProcessCalculatedFieldExpression (character, character, handle)

Purpose: Processes a calculated field expression
Notes: Replaces database field references in the expression with the mapped
temp-tables. With a file name, the expression is parsed in the
context of that ABL program (its variables and buffers), appended
after a marker annotation

Parameters:
pcExpression CHARACTER
The original calculated field expression
pcFileName CHARACTER
The name of the original ABL program
phBusinessEntityDataset HANDLE
The dataset with the Business Entity design
Returns CHARACTER
The modified calculated field expression
Top

CHARACTER ProcessCalculatedFieldExpression (character, handle)

Purpose: Processes a calculated field expression
Notes: Replaces database field references in the expression with the mapped
temp-tables

Parameters:
pcExpression CHARACTER
The original calculated field expression
phBusinessEntityDataset HANDLE
The dataset with the Business Entity design
Returns CHARACTER
The modified calculated field expression
Top

CHARACTER TempTableForSourceTable (character)

Purpose: Returns the name of the temp-table which is mapping the given source
(DB) table
Notes:

Parameters:
pcDbTableName CHARACTER
The database tale name
Returns CHARACTER
The temp-table name that maps the
Top

WalkAst (INode, RefactorSession2)

Purpose: Recursively walks the AST
Notes: Registers rewrites of field names in the RefactorSession

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
The current INode
poRefactor Consultingwerk.Studio.SmartRefactor.RefactorSession2
The refactor session to register rewrites in


Property Detail
Top

CHARACTER MarkerAnnotation


Returns CHARACTER


©2006-2026 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       24.11.2026 10:11:31