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

File:PublicMemberParser
Purpose:Parses the public members of a class
Author(s):Sebastian Wandel / Consultingwerk Ltd.
Created:Fri Sep 11 10:39:41 CEST 2020



Top Method Summary
Options Name Purpose
# CHARACTER GetAnnotationText (INode) Returns AllLeadingHiddenText of directly preceding annotations
# CHARACTER GetFullStatement (INode) Parses Temp-table and dataset defines
# CHARACTER GetIncludeLine (longchar, character) Returns the text-line of an include-file, with macros passed to it
# CHARACTER ParseFullStatement (INode, character) Recursively constructs define statement
# CHARACTER ParseMember (INode) Parses a member-node
# CHARACTER ParseStatement (INode, character) Recursively constructs string for the statement in which pcText is
+ LOGICAL ProcessNode (INode) Processes a JPNode

Top Constructor Summary
Options Name Purpose
+ PublicMemberParser (table, character) Constructor of the PublicMemberParser class


Method Detail
Top

PROTECTED CHARACTER GetAnnotationText (INode)

Purpose: Returns AllLeadingHiddenText of directly preceding annotations
Notes:

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
Node whose leading hidden text is sought
Returns CHARACTER
Concatenation of the leading hidden text of annotations directly preceding poNode
Top

PROTECTED CHARACTER GetFullStatement (INode)

Purpose: Parses Temp-table and dataset defines
Notes:

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
Define node
Returns CHARACTER
String with either complete definition or include-file if available
Top

PROTECTED CHARACTER GetIncludeLine (longchar, character)

Purpose: Returns the text-line of an include-file, with macros passed to it
Notes:

Parameters:
plcFile LONGCHAR
Content of the file in which the include-file is sought
pcInclude CHARACTER
Relative path of the include-file
Returns CHARACTER
The text-line with the include-file
Top

PROTECTED CHARACTER ParseFullStatement (INode, character)

Purpose: Recursively constructs define statement
Notes: For temp-tables or datasets

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
Current node
pcText CHARACTER
String being build
Returns CHARACTER
String after it is finished
Top

PROTECTED CHARACTER ParseMember (INode)

Purpose: Parses a member-node
Notes:

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
node to parse
Returns CHARACTER
Signature for the node
Top

PROTECTED CHARACTER ParseStatement (INode, character)

Purpose: Recursively constructs string for the statement in which pcText is
Notes:

Parameters:
poNode Consultingwerk.Studio.ProparseApi.INode
Node with Statement
pcText CHARACTER
String for statement being constructed
Returns CHARACTER
The resulting statement text
Top

PUBLIC LOGICAL ProcessNode (INode)

Purpose: Processes a JPNode
Notes:

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


Constructor Detail
Top

PUBLIC PublicMemberParser (table, character)

Purpose: Constructor of the PublicMemberParser class
Notes:

Parameters:
ttPublicMembers TEMP-TABLE ttPublicMembers
Temp-Table to bind to
pcAnnotation CHARACTER
Annotation for which to filter (optional)


Temp-Table Detail

Temp-Table ttPublicMembers

Defined in:


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       08.12.2024 13:22:21