|
Options |
Name |
Purpose |
|
|
|
ClearParseUnitCache ()
|
Releases every cached parse unit
|
|
|
|
CollectNodes (INode, character, integer)
|
Adds the given node, its following siblings and all of their
children to the ttNodes temp-table
|
|
|
|
DisableParseUnitCache ()
|
Disables the parse unit cache and releases the cached parse units
|
|
|
|
EnableParseUnitCache ()
|
Enables the parse unit cache and discards anything cached before
|
|
|
|
LOGICAL ExistsChildNodeByPath (INode, character)
|
Returns if the child node with the given node path exists
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode FindChildNodeOfNodeType (INode, character)
|
Searches for a child node of the given node with the matching node type
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode FindChildNodeOfNodeTypeWithID (INode, character, character)
|
Searches for a child node of the given node with the matching node type
and ID childnode text
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode FindChildNodeOfNodeTypeWithText (INode, character, character)
|
Searches for a child node of the given node with the matching node type
and text
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode FindFirstChildByPositionInCode (INode)
|
Returns the first INode in a AST by position
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode FindFirstPositionedDescendant (INode)
|
Returns the node with the earliest source position in the
subtree of the given node, the node itself included
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode FindRoutineParent (INode)
|
Finds the Routine-Level Block that contains the given INode
|
|
|
|
CHARACTER FullyQualifiedTableName (IRecordNameNode)
|
Returns the fully qualified table name
|
|
|
|
Consultingwerk.BufferFieldName GetBufferFieldName (IFieldRefNode)
|
Returns a BufferFieldName based on the given IFieldRefNode instance
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode GetChildNodeByPath (INode, character)
|
Returns the reference to the child node with the given node path
|
|
|
|
CHARACTER GetFullFieldName (INode)
|
Returns the full name of the represented field
|
|
|
|
CHARACTER GetFullNodeText (INode)
|
Returns the full text of the Node
|
|
|
|
GetFullNodeText (INode, character)
|
Appends the text of the given node and its children to the
passed in return value
|
|
|
|
CHARACTER GetIdNodeText (INode)
|
Returns the text of the ID node below the given Node
|
|
|
|
GetInternalRunStatements (INode)
|
Returns a temp-table with all internal RUN statements in the given
node (typically the Root node of a parse unit)
|
|
|
|
GetInternalRunStatements (INode, table)
|
Returns a temp-table with all internal RUN statements in the given
node (typically the Root node of a parse unit)
|
|
|
|
GetNodeChildren (INode, table)
|
Returns a temp-table with all children (direct and indirect) of
the given node
|
|
|
|
GetNodeChildrenOfNodeType (INode, character, table)
|
Returns a temp-table with all children (direct and indirect) of
the given node with the given node type
|
|
|
|
INTEGER GetRoutineDepth (INode)
|
Returns the block level relative to the next Routine-Level Block
for the given INode
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode GetRoutineParent (INode)
|
Returns the INode of the routine (method, function, procedure, ...)
that contains the given node
|
|
|
|
Consultingwerk.Studio.ProparseApi.INode GetTopParent (INode)
|
Returns the top-most parent-node, the Program_root-node, of a node
|
|
|
|
CHARACTER GetTypeName (NodeTypesEnum)
|
Returns the type-name of the given NodeTypesEnum member
|
|
|
|
LOGICAL HasChildNodeOfNodeType (INode, character)
|
Searches for a Childnode of the given node with the matching node type
|
|
|
|
LOGICAL HasChildNodeOfNodeType (INode, NodeTypesEnum)
|
Searches for a Childnode of the given node with the matching node type
|
|
|
|
LOGICAL HasChildNodeOfNodeTypeWithID (INode, character, character)
|
Searches for a Childnode of the given node with the matching node type
and ID childnode text
|
|
|
|
LOGICAL HasChildNodeOfNodeTypeWithText (INode, character, character)
|
Searches for a Childnode of the given node with the matching node type
and text
|
|
|
|
initialize ()
|
Initializes proparse API
|
|
|
|
LOGICAL IsKeywordType (NodeTypesEnum)
|
Returns whether the given node type represents an ABL keyword
|
|
|
|
Consultingwerk.Studio.ProparseApi.IVariable LookupVariable (ISymbolScope, character)
|
Looks up a variable in the given symbol scope
|
|
|
|
INTEGER NumChildNodeOfNodeType (INode, character)
|
Returns the number of child nodes of the given node with the matching
node type
|
|
|
|
INTEGER NumChildren (INode)
|
Returns the number of direct child nodes of the given INode
|
|
|
|
LOGICAL ParentIsTrivialDo (INode)
|
Returns if the parent of the given INode is a simple DO: block
(without any condition, e.g. DO WITH FRAME:)
|
|
|
|
Consultingwerk.Studio.ProparseApi.IParseUnit ParseFile (character)
|
Parses a file and returns the reference to the ParseUnit
|
|
|
|
CHARACTER ParseParameterList (INode)
|
Parses the Parameter_list of a Method/Function/Event/Constructor
node
|
|
|
|
CHARACTER ParseParameterList (INode, logical)
|
Parses the Parameter_list of a Method/Function/Event/Constructor
node
|
|
|
|
CHARACTER ParseProcedureParameterList (INode)
|
Parses the Parameter_list of a procedure (internal or external) node
|
|
|
|
CHARACTER ParseProcedureParameterList (INode, logical)
|
Parses the Parameter_list of a procedure (internal or external) node
|
|
|
|
Consultingwerk.Studio.ProparseApi.IParseUnit ParseString (longchar)
|
Parses the passed in String
|
|
|
|
Consultingwerk.Studio.ProparseApi.IParseUnit ParseString (longchar, IProparseApi)
|
Parses the passed in String using the given IProparseApi instance
|
|
|
|
RemoveNode (INode)
|
Removes a Node from the ParseUnit
|
|
|
|
ReplaceIndividualNode (INode, longchar)
|
Replaces an individual node with the given text
|
|
|
|
ReplaceRoutineNode (INode, longchar, logical, logical)
|
Replaces a routine node (METHOD, CONSTRUCTOR, ...) with the given
text
|
|
|
|
CHARACTER TriggerCompleteEventList (INode)
|
Returns the complete trigger Event_list node of a Trigger node
|
|
|
|
CHARACTER TriggerEventList (INode)
|
Returns the Text of the Event_list node of a Trigger node
|
|
|
|
CHARACTER TriggerWidgetRef (INode)
|
Returns the Text of the Widget_ref node of a Trigger node
|