Namespace: Consultingwerk.Studio
Class 
XrefClassAnnotationParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object
Implements: Consultingwerk.Studio.IClassAnnotationParser

File:XrefClassAnnotationParser
Purpose:Parser for class and class member annotations
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Mar 20 20:45:02 CET 2013



Top Method Summary
Options Name Purpose
# AddAnnotations (ClassMember, Annotation[]) Adds an Array of Annotations to the ClassMember
+ Consultingwerk.Studio.ListAnnotation GetClassAnnotations () Gets the List of Annotations of the ClassHeader
+ Consultingwerk.Studio.ListClassMember GetClassMemberAnnotations () Gets the List of Class Members and their Annotations
# CHARACTER ParseParameterList (integer) Parses the parameter list of an XREF element
# CHARACTER QuoteAnnotationAttributeValues (character) Re-quotes annotation attribute values. The quotes are stripped off by the compiler's XREF functionality.

Top Constructor Summary
Options Name Purpose
+ XrefClassAnnotationParser (character) Constructor for the ClassAnnotationParser class


Method Detail
Top

PROTECTED AddAnnotations (ClassMember, Annotation[])

Purpose: Adds an Array of Annotations to the ClassMember
Notes:

Parameters:
poMember Consultingwerk.Studio.ClassMember
The ClassMember instance to add the annotations to
poAnnotations Consultingwerk.Studio.Annotation
The Annotation Array to add to the ClassMember
Top

PUBLIC Consultingwerk.Studio.ListAnnotation GetClassAnnotations ()

Purpose: Gets the List of Annotations of the ClassHeader
Notes:

Returns Consultingwerk.Studio.ListAnnotation
The ListAnnotation with the list of annotations from the class header
Top

PUBLIC Consultingwerk.Studio.ListClassMember GetClassMemberAnnotations ()

Purpose: Gets the List of Class Members and their Annotations
Notes:

Returns Consultingwerk.Studio.ListClassMember
The ListClassMember with the lsit of class members and their annotations
Top

PROTECTED CHARACTER ParseParameterList (integer)

Purpose: Parses the parameter list of an XREF element
Notes:

Parameters:
piRefSeq INTEGER
The eSequence.RefSeq value of the element to parse
Returns CHARACTER
The parameter list as a single string
Top

PROTECTED CHARACTER QuoteAnnotationAttributeValues (character)

Purpose: Re-quotes annotation attribute values. The quotes are stripped
off by the compiler's XREF functionality.
Notes:
or more attributes and their values

Parameters:
pcParameter CHARACTER
: The value(s) for a single annotation. May contain 0
Returns CHARACTER
The annotation value(s), with attribute values quoted.


Constructor Detail
Top

PUBLIC XrefClassAnnotationParser (character)

Purpose: Constructor for the ClassAnnotationParser class
Notes:

Parameters:
pcFileName CHARACTER
The file name to parse


Temp-Table Detail


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