net.jangaroo.jooc.ast
Class Annotation

java.lang.Object
  extended by net.jangaroo.jooc.ast.NodeImplBase
      extended by net.jangaroo.jooc.ast.Directive
          extended by net.jangaroo.jooc.ast.Annotation
All Implemented Interfaces:
AstNode

public class Annotation
extends Directive

An annotation (square bracket meta data).

Author:
Frank Wienberg

Nested Class Summary
 
Nested classes/interfaces inherited from class net.jangaroo.jooc.ast.NodeImplBase
NodeImplBase.Scoped
 
Constructor Summary
Annotation(JooSymbol leftBracket, Ide ide, JooSymbol rightBracket)
           
Annotation(JooSymbol leftBracket, Ide ide, JooSymbol optLeftParen, CommaSeparatedList<AnnotationParameter> optAnnotationParameters, JooSymbol optRightParen, JooSymbol optRightBracket)
           
 
Method Summary
 void analyze(AstNode parentNode)
           
 List<? extends AstNode> getChildren()
           
 Ide getIde()
           
 JooSymbol getLeftBracket()
           
 String getMetaName()
           
 CommaSeparatedList<AnnotationParameter> getOptAnnotationParameters()
           
 JooSymbol getOptLeftParen()
           
 JooSymbol getOptRightParen()
           
 JooSymbol getRightBracket()
           
 JooSymbol getSymbol()
           
 void scope(Scope scope)
           
 void visit(AstVisitor visitor)
           
 
Methods inherited from class net.jangaroo.jooc.ast.Directive
isClassMember, isStatic, setClassMember
 
Methods inherited from class net.jangaroo.jooc.ast.NodeImplBase
analyze, getParentNode, makeChildren, scope, withNewDeclarationScope, withNewLabelScope
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Annotation

public Annotation(JooSymbol leftBracket,
                  Ide ide,
                  JooSymbol rightBracket)

Annotation

public Annotation(JooSymbol leftBracket,
                  Ide ide,
                  JooSymbol optLeftParen,
                  CommaSeparatedList<AnnotationParameter> optAnnotationParameters,
                  JooSymbol optRightParen,
                  JooSymbol optRightBracket)
Method Detail

getChildren

public List<? extends AstNode> getChildren()
Specified by:
getChildren in interface AstNode
Overrides:
getChildren in class NodeImplBase

visit

public void visit(AstVisitor visitor)
           throws IOException
Throws:
IOException

scope

public void scope(Scope scope)

analyze

public void analyze(AstNode parentNode)
Specified by:
analyze in interface AstNode
Overrides:
analyze in class NodeImplBase

getSymbol

public JooSymbol getSymbol()

getMetaName

public String getMetaName()

getLeftBracket

public JooSymbol getLeftBracket()

getIde

public Ide getIde()

getOptLeftParen

public JooSymbol getOptLeftParen()

getOptAnnotationParameters

public CommaSeparatedList<AnnotationParameter> getOptAnnotationParameters()

getOptRightParen

public JooSymbol getOptRightParen()

getRightBracket

public JooSymbol getRightBracket()


Copyright © 2002-2012 CoreMedia AG. All Rights Reserved.