Namespace: Consultingwerk.Studio
Class 
AnnotationParser Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:AnnotationParser
Purpose:Parses the source code searching for certain annotations
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sun Jan 27 22:13:06 CET 2013
Notes:This class requires Proparse and is only accessible on
Windows



Top Method Summary
Options Name Purpose
+ Consultingwerk.Studio.ListAnnotation FindAnnotations (character) Locates Annotations with the specified name
# WalkAst (JPNode, character, ListAnnotation) Walks the AST of the ParseUnit and searchs for Annotations with the given name

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

Top Property Summary
Options Name Purpose
+ org.prorefactor.treeparser.ParseUnit ParseUnit Returns the reference to the ParseUnit


Method Detail
Top

PUBLIC Consultingwerk.Studio.ListAnnotation FindAnnotations (character)

Purpose: Locates Annotations with the specified name
Notes:

Parameters:
pcName CHARACTER
The name of the Annotation to locate
Returns Consultingwerk.Studio.ListAnnotation
The ListAnnotation with the list of the annotations
Top

PROTECTED WalkAst (JPNode, character, ListAnnotation)

Purpose: Walks the AST of the ParseUnit and searchs for Annotations with the
given name
Notes:

Parameters:
poASTNode org.prorefactor.core.JPNode
The current parent node
pcName CHARACTER
The name of the annotation to locate
poList Consultingwerk.Studio.ListAnnotation
The ListAnnotation with the list to add the annotations to


Constructor Detail
Top

PUBLIC AnnotationParser (character)

Purpose: Constructor for the AnnotationParser class
Notes:

Parameters:
pcFileName CHARACTER
The file name to parse


Property Detail
Top

PUBLIC org.prorefactor.treeparser.ParseUnit ParseUnit

Purpose: Returns the reference to the ParseUnit
Notes:

Returns org.prorefactor.treeparser.ParseUnit


©2006-2016 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       26.08.2016 08:45:01