Package net.jangaroo.jooc.ast
Interface AstNode
-
- All Known Subinterfaces:
ObjectFieldOrSpread
- All Known Implementing Classes:
AbstractBlock,Annotation,AnnotationParameter,ApplyExpr,ArrayIndexExpr,ArrayLiteral,AsExpr,AssignmentOpExpr,BinaryOpExpr,BlockStatement,BreakStatement,CaseStatement,Catch,ClassBody,ClassDeclaration,CommaSeparatedList,CompilationUnit,ConditionalExpr,ConditionalLoopStatement,ContinueStatement,Declaration,DefaultStatement,Directive,DoStatement,DotExpr,EmptyDeclaration,EmptyStatement,Expr,Extends,ForInitializer,ForInStatement,ForStatement,FunctionDeclaration,FunctionExpr,Ide,IdeDeclaration,IdeExpr,IdeWithTypeParam,IfStatement,Implements,ImportDirective,InfixOpExpr,Initializer,IsExpr,KeywordExprStatement,KeywordStatement,LabeledStatement,LabelRefStatement,LiteralExpr,LoopStatement,MxmlCompilationUnit,NamespaceDeclaration,NamespacedIde,NewExpr,NodeImplBase,ObjectField,ObjectLiteral,OpExpr,PackageDeclaration,Parameter,Parameters,ParenthesizedExpr,PostfixOpExpr,PredefinedTypeDeclaration,PrefixOpExpr,PropertyDeclaration,QualifiedIde,ReturnStatement,SemicolonTerminatedStatement,Spread,Statement,SuperConstructorCallStatement,SwitchStatement,ThrowStatement,TryStatement,Type,TypeDeclaration,TypedIdeDeclaration,TypeRelation,UnaryOpExpr,UseNamespaceDirective,VariableDeclaration,VectorLiteral,WhileStatement,XmlAttribute,XmlElement,XmlHeader,XmlTag
public interface AstNode- Author:
- Andreas Gawecki
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidanalyze(AstNode parentNode)List<? extends AstNode>getChildren()AstNodegetParentNode()JooSymbolgetSymbol()booleanisAssignmentLHS()voidnotifyInstanceThisUsed()voidscope(Scope scope)booleanusesInstanceThis()voidvisit(AstVisitor visitor)
-
-
-
Method Detail
-
getSymbol
JooSymbol getSymbol()
-
scope
void scope(Scope scope)
-
analyze
void analyze(AstNode parentNode)
-
getParentNode
AstNode getParentNode()
-
visit
void visit(AstVisitor visitor) throws IOException
- Throws:
IOException
-
notifyInstanceThisUsed
void notifyInstanceThisUsed()
-
usesInstanceThis
boolean usesInstanceThis()
-
isAssignmentLHS
boolean isAssignmentLHS()
-
-