net.jangaroo.jooc
Class NodeImplBase
java.lang.Object
net.jangaroo.jooc.NodeImplBase
- Direct Known Subclasses:
- Annotation, ClassBody, CompilationUnit, EmptyDeclaration, Extends, Ide, IdeDeclaration, ImportDirective, InfixOpExpr, Parameters, Type, TypeRelation, UseNamespaceDirective, VectorLiteral
public abstract class NodeImplBase
- extends Object
- Author:
- Andreas Gawecki
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NodeImplBase
public NodeImplBase()
generateCode
public void generateCode(JsWriter out)
throws IOException
- Throws:
IOException
generateJsCode
protected abstract void generateJsCode(JsWriter out)
throws IOException
- Throws:
IOException
generateAsApiCode
protected void generateAsApiCode(JsWriter out)
throws IOException
- Default implementation generates same code as JS. Overwritten where this must differ.
- Throws:
IOException
analyze
public net.jangaroo.jooc.AstNode analyze(net.jangaroo.jooc.AstNode parentNode,
AnalyzeContext context)
scope
public <N extends net.jangaroo.jooc.AstNode> void scope(List<N> nodes,
Scope scope)
analyze
public <N extends net.jangaroo.jooc.AstNode> List<N> analyze(net.jangaroo.jooc.AstNode parent,
List<N> nodes,
AnalyzeContext context)
withNewDeclarationScope
public void withNewDeclarationScope(net.jangaroo.jooc.AstNode definingNode,
Scope scope,
NodeImplBase.Scoped scoped)
withNewLabelScope
public void withNewLabelScope(net.jangaroo.jooc.Statement statement,
Scope scope,
NodeImplBase.Scoped scoped)
getSymbol
public JooSymbol getSymbol()
scope
public void scope(Scope scope)
Copyright © 2002-2011 CoreMedia AG. All Rights Reserved.