Namespace: Consultingwerk.Studio
Class 
UsingParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Studio.ProparseApi.IProparseNodeAction

File:UsingParser
Purpose:Processes nodes to populate the eUsing-table
Author(s):Sebastian Wandel / Consultingwerk Ltd.
Created:Fri Sep 11 13:38:23 CEST 2020



Top Method Summary
Options Name Purpose
# CHARACTER GetType (INode) Returns the type of a given USING-node
# CHARACTER GetTypeName (INode) Finds and returns the text of the TYPE_NAME node of a given node
+ LOGICAL GetUsings (character) Populates the bound eUsing table with the USING Statements from the given file
+ LOGICAL ProcessNode (INode) Processes iNodes to populate the eUsing table

Top Constructor Summary
Options Name Purpose
+ UsingParser (table) Constructor for the UsingParser class


Method Detail
Top

PROTECTED CHARACTER GetType (INode)

Purpose: Returns the type of a given USING-node
Notes:

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
USING-node whose type is sought
Returns CHARACTER
PROPATH or ASSEMBLY
Top

PROTECTED CHARACTER GetTypeName (INode)

Purpose: Finds and returns the text of the TYPE_NAME node of a given node
Notes:

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
Node whose type is sought
Returns CHARACTER
Text of poNodes TYPE_NAME-node
Top

PUBLIC LOGICAL GetUsings (character)

Purpose: Populates the bound eUsing table with the USING Statements
from the given file
Notes: Based on the Proparse2 API

Parameters:
pcFileName CHARACTER
The name of the file to parse
Returns LOGICAL
Logical value indicating if the file had USING Statements or not
Top

PUBLIC LOGICAL ProcessNode (INode)

Purpose: Processes iNodes to populate the eUsing table
Notes:

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
The currently processed INode
Returns LOGICAL
Logical value indicating if the process should be cancelled


Constructor Detail
Top

PUBLIC UsingParser (table)

Purpose: Constructor for the UsingParser class
Notes:

Parameters:
eUsing TEMP-TABLE eUsing
Temp-Table to bind to


Temp-Table Detail

Temp-Table eUsing

Defined in:


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:16:21