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

File:ClassAnnotationParser
Purpose:Parser for class and class member annotations
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Wed Mar 20 20:45:02 CET 2013
Notes:This class uses proparse and is thus dependent on
windows / the .NET framework



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 ParseMethodReturnType (JPNode) Parses the method return type

Top Constructor Summary
Options Name Purpose
+ ClassAnnotationParser (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 list of class members and their annotations
Top

PROTECTED CHARACTER ParseMethodReturnType (JPNode)

Purpose: Parses the method return type
Notes:

Parameters:
poNode org.prorefactor.core.JPNode
The JPNode representing the METHOD
Returns CHARACTER
The return type as a character value, e.g. "CHARACTER", "CHARACTER EXTENT 12", "VOID"


Constructor Detail
Top

PUBLIC ClassAnnotationParser (character)

Purpose: Constructor for the ClassAnnotationParser class
Notes:

Parameters:
pcFileName CHARACTER
The file name to parse


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       09.11.2024 19:01:47