net.jangaroo.jooc
Class Annotation
java.lang.Object
net.jangaroo.jooc.NodeImplBase
net.jangaroo.jooc.Annotation
public class Annotation
- extends NodeImplBase
An annotation (square bracket meta data).
- Author:
- Frank Wienberg
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Annotation
public Annotation(JooSymbol leftBracket,
Ide ide,
JooSymbol rightBracket)
Annotation
public Annotation(JooSymbol leftBracket,
Ide ide,
JooSymbol optLeftParen,
net.jangaroo.jooc.CommaSeparatedList<net.jangaroo.jooc.AnnotationParameter> optAnnotationParameters,
JooSymbol optRightParen,
JooSymbol optRightBracket)
scope
public void scope(Scope scope)
analyze
public net.jangaroo.jooc.AstNode analyze(net.jangaroo.jooc.AstNode parentNode,
AnalyzeContext context)
- Overrides:
analyze in class NodeImplBase
getSymbol
public JooSymbol getSymbol()
generateJsCode
protected void generateJsCode(JsWriter out)
throws IOException
- Specified by:
generateJsCode in class NodeImplBase
- Throws:
IOException
generateAsApiCode
protected void generateAsApiCode(JsWriter out)
throws IOException
- Description copied from class:
NodeImplBase
- Default implementation generates same code as JS. Overwritten where this must differ.
- Overrides:
generateAsApiCode in class NodeImplBase
- Throws:
IOException
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.