| java.lang.Object oscript.visitor.ObjectDepthFirst oscript.visitor.ExtensibleVisitor
Method Summary | |
public Value | get(Class nodeType) | public Value | register(Class nodeType, Value fxn) | public Value | remove(Class nodeType) | public Object | visit(NodeToken n, Object argu) | public Object | visit(ProgramFile n, Object argu) | public Object | visit(Program n, Object argu) | public Object | visit(EvaluationUnit n, Object argu) | public Object | visit(ScopeBlock n, Object argu) | public Object | visit(VariableDeclarationBlock n, Object argu) | public Object | visit(ExpressionBlock n, Object argu) | public Object | visit(ThrowBlock n, Object argu) | public Object | visit(ImportBlock n, Object argu) | public Object | visit(MixinBlock n, Object argu) | public Object | visit(EvalBlock n, Object argu) | public Object | visit(VariableDeclaration n, Object argu) | public Object | visit(FunctionDeclaration n, Object argu) | public Object | visit(Arglist n, Object argu) | public Object | visit(TryStatement n, Object argu) | public Object | visit(ForLoopStatement n, Object argu) | public Object | visit(CollectionForLoopStatement n, Object argu) | public Object | visit(PreLoopStatement n, Object argu) | public Object | visit(WhileLoopStatement n, Object argu) | public Object | visit(ConditionalStatement n, Object argu) | public Object | visit(SynchronizedStatement n, Object argu) | public Object | visit(ReturnStatement n, Object argu) | public Object | visit(BreakStatement n, Object argu) | public Object | visit(ContinueStatement n, Object argu) | public Object | visit(Expression n, Object argu) | public Object | visit(FunctionCallExpressionList n, Object argu) | public Object | visit(FunctionCallExpressionListBody n, Object argu) | public Object | visit(AssignmentExpression n, Object argu) | public Object | visit(ConditionalExpression n, Object argu) | public Object | visit(LogicalOrExpression n, Object argu) | public Object | visit(LogicalAndExpression n, Object argu) | public Object | visit(BitwiseOrExpression n, Object argu) | public Object | visit(BitwiseXorExpression n, Object argu) | public Object | visit(BitwiseAndExpression n, Object argu) | public Object | visit(EqualityExpression n, Object argu) | public Object | visit(RelationalExpression n, Object argu) | public Object | visit(ShiftExpression n, Object argu) | public Object | visit(AdditiveExpression n, Object argu) | public Object | visit(MultiplicativeExpression n, Object argu) | public Object | visit(UnaryExpression n, Object argu) | public Object | visit(PostfixExpression n, Object argu) | public Object | visit(TypeExpression n, Object argu) | public Object | visit(AllocationExpression n, Object argu) | public Object | visit(CastExpression n, Object argu) | public Object | visit(PrimaryExpression n, Object argu) | public Object | visit(PrimaryExpressionNotFunction n, Object argu) | public Object | visit(PrimaryExpressionWithTrailingFxnCallExpList n, Object argu) | public Object | visit(PrimaryPrefix n, Object argu) | public Object | visit(PrimaryPrefixNotFunction n, Object argu) | public Object | visit(ThisPrimaryPrefix n, Object argu) | public Object | visit(SuperPrimaryPrefix n, Object argu) | public Object | visit(CalleePrimaryPrefix n, Object argu) | public Object | visit(IdentifierPrimaryPrefix n, Object argu) | public Object | visit(ParenPrimaryPrefix n, Object argu) | public Object | visit(FunctionPrimaryPrefix n, Object argu) | public Object | visit(ShorthandFunctionPrimaryPrefix n, Object argu) | public Object | visit(ArrayDeclarationPrimaryPrefix n, Object argu) | public Object | visit(PrimaryPostfix n, Object argu) | public Object | visit(PrimaryPostfixWithTrailingFxnCallExpList n, Object argu) | public Object | visit(FunctionCallPrimaryPostfix n, Object argu) | public Object | visit(ArraySubscriptPrimaryPostfix n, Object argu) | public Object | visit(PropertyIdentifierPrimaryPostfix n, Object argu) | public Object | visit(ThisScopeQualifierPrimaryPostfix n, Object argu) | public Object | visit(Literal n, Object argu) | public Object | visit(Permissions n, Object argu) |
visit | public Object visit(EvaluationUnit n, Object argu)(Code) | |
f0 -> ScopeBlock()
| VariableDeclarationBlock()
| FunctionDeclaration()
| TryStatement()
| ForLoopStatement()
| CollectionForLoopStatement()
| WhileLoopStatement()
| ConditionalStatement()
| SynchronizedStatement()
| ReturnStatement()
| BreakStatement()
| ContinueStatement()
| ExpressionBlock()
| ThrowBlock()
| ImportBlock()
| MixinBlock()
| EvalBlock()
|
visit | public Object visit(FunctionDeclaration n, Object argu)(Code) | |
f0 -> Permissions(true)
f1 -> "function"
f2 -> <IDENTIFIER>
f3 -> "("
f4 -> ( Arglist() )?
f5 -> ")"
f6 -> ( "extends" PrimaryExpressionWithTrailingFxnCallExpList() FunctionCallExpressionList() )?
f7 -> "{"
f8 -> Program(true)
f9 -> "}"
|
visit | public Object visit(Arglist n, Object argu)(Code) | |
f0 -> Permissions(false)
f1 -> <IDENTIFIER>
f2 -> ( "," Permissions(false) <IDENTIFIER> )*
f3 -> ( "..." )?
|
visit | public Object visit(TryStatement n, Object argu)(Code) | |
f0 -> "try"
f1 -> EvaluationUnit()
f2 -> ( "catch" "(" Expression() <IDENTIFIER> ")" EvaluationUnit() )*
f3 -> ( "catch" "(" <IDENTIFIER> ")" EvaluationUnit() )?
f4 -> ( "finally" EvaluationUnit() )?
|
visit | public Object visit(ForLoopStatement n, Object argu)(Code) | |
f0 -> "for"
f1 -> "("
f2 -> ( PreLoopStatement() )?
f3 -> ";"
f4 -> ( Expression() )?
f5 -> ";"
f6 -> ( Expression() )?
f7 -> ")"
f8 -> EvaluationUnit()
|
visit | public Object visit(AssignmentExpression n, Object argu)(Code) | |
f0 -> ConditionalExpression()
f1 -> ( ( "=" | "+=" | "-=" | "*=" | "/=" | "%=" | ">>=" | "<<=" | ">>>=" | "&=" | "^=" | "|=" ) ConditionalExpression() )*
|
visit | public Object visit(PrimaryPrefixNotFunction n, Object argu)(Code) | |
f0 -> ThisPrimaryPrefix()
| SuperPrimaryPrefix()
| CalleePrimaryPrefix()
| ArrayDeclarationPrimaryPrefix()
| IdentifierPrimaryPrefix()
| ParenPrimaryPrefix()
| Literal()
|
visit | public Object visit(FunctionPrimaryPrefix n, Object argu)(Code) | |
f0 -> "function"
f1 -> "("
f2 -> ( Arglist() )?
f3 -> ")"
f4 -> ( "extends" PrimaryExpressionWithTrailingFxnCallExpList() FunctionCallExpressionList() )?
f5 -> "{"
f6 -> Program(true)
f7 -> "}"
|
visit | public Object visit(PrimaryPostfix n, Object argu)(Code) | |
f0 -> FunctionCallPrimaryPostfix()
| ArraySubscriptPrimaryPostfix()
| ThisScopeQualifierPrimaryPostfix()
| PropertyIdentifierPrimaryPostfix()
|
visit | public Object visit(Literal n, Object argu)(Code) | |
f0 -> <INTEGER_LITERAL>
| <FLOATING_POINT_LITERAL>
| <STRING_LITERAL>
| <REGEXP_LITERAL>
| "true"
| "false"
| "null"
| "undefined"
|
Methods inherited from oscript.visitor.ObjectDepthFirst | public Object visit(NodeList n, Object argu)(Code)(Java Doc) public Object visit(NodeListOptional n, Object argu)(Code)(Java Doc) public Object visit(NodeOptional n, Object argu)(Code)(Java Doc) public Object visit(NodeSequence n, Object argu)(Code)(Java Doc) public Object visit(NodeToken n, Object argu)(Code)(Java Doc) public Object visit(ProgramFile n, Object argu)(Code)(Java Doc) public Object visit(Program n, Object argu)(Code)(Java Doc) public Object visit(EvaluationUnit n, Object argu)(Code)(Java Doc) public Object visit(ScopeBlock n, Object argu)(Code)(Java Doc) public Object visit(VariableDeclarationBlock n, Object argu)(Code)(Java Doc) public Object visit(ExpressionBlock n, Object argu)(Code)(Java Doc) public Object visit(ThrowBlock n, Object argu)(Code)(Java Doc) public Object visit(ImportBlock n, Object argu)(Code)(Java Doc) public Object visit(MixinBlock n, Object argu)(Code)(Java Doc) public Object visit(EvalBlock n, Object argu)(Code)(Java Doc) public Object visit(VariableDeclaration n, Object argu)(Code)(Java Doc) public Object visit(FunctionDeclaration n, Object argu)(Code)(Java Doc) public Object visit(Arglist n, Object argu)(Code)(Java Doc) public Object visit(TryStatement n, Object argu)(Code)(Java Doc) public Object visit(ForLoopStatement n, Object argu)(Code)(Java Doc) public Object visit(CollectionForLoopStatement n, Object argu)(Code)(Java Doc) public Object visit(PreLoopStatement n, Object argu)(Code)(Java Doc) public Object visit(WhileLoopStatement n, Object argu)(Code)(Java Doc) public Object visit(ConditionalStatement n, Object argu)(Code)(Java Doc) public Object visit(SynchronizedStatement n, Object argu)(Code)(Java Doc) public Object visit(ReturnStatement n, Object argu)(Code)(Java Doc) public Object visit(BreakStatement n, Object argu)(Code)(Java Doc) public Object visit(ContinueStatement n, Object argu)(Code)(Java Doc) public Object visit(Expression n, Object argu)(Code)(Java Doc) public Object visit(FunctionCallExpressionList n, Object argu)(Code)(Java Doc) public Object visit(FunctionCallExpressionListBody n, Object argu)(Code)(Java Doc) public Object visit(AssignmentExpression n, Object argu)(Code)(Java Doc) public Object visit(ConditionalExpression n, Object argu)(Code)(Java Doc) public Object visit(LogicalOrExpression n, Object argu)(Code)(Java Doc) public Object visit(LogicalAndExpression n, Object argu)(Code)(Java Doc) public Object visit(BitwiseOrExpression n, Object argu)(Code)(Java Doc) public Object visit(BitwiseXorExpression n, Object argu)(Code)(Java Doc) public Object visit(BitwiseAndExpression n, Object argu)(Code)(Java Doc) public Object visit(EqualityExpression n, Object argu)(Code)(Java Doc) public Object visit(RelationalExpression n, Object argu)(Code)(Java Doc) public Object visit(ShiftExpression n, Object argu)(Code)(Java Doc) public Object visit(AdditiveExpression n, Object argu)(Code)(Java Doc) public Object visit(MultiplicativeExpression n, Object argu)(Code)(Java Doc) public Object visit(UnaryExpression n, Object argu)(Code)(Java Doc) public Object visit(PostfixExpression n, Object argu)(Code)(Java Doc) public Object visit(TypeExpression n, Object argu)(Code)(Java Doc) public Object visit(AllocationExpression n, Object argu)(Code)(Java Doc) public Object visit(CastExpression n, Object argu)(Code)(Java Doc) public Object visit(PrimaryExpression n, Object argu)(Code)(Java Doc) public Object visit(PrimaryExpressionNotFunction n, Object argu)(Code)(Java Doc) public Object visit(PrimaryExpressionWithTrailingFxnCallExpList n, Object argu)(Code)(Java Doc) public Object visit(PrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(PrimaryPrefixNotFunction n, Object argu)(Code)(Java Doc) public Object visit(ThisPrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(SuperPrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(CalleePrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(IdentifierPrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(ParenPrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(FunctionPrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(ShorthandFunctionPrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(ArrayDeclarationPrimaryPrefix n, Object argu)(Code)(Java Doc) public Object visit(PrimaryPostfix n, Object argu)(Code)(Java Doc) public Object visit(PrimaryPostfixWithTrailingFxnCallExpList n, Object argu)(Code)(Java Doc) public Object visit(FunctionCallPrimaryPostfix n, Object argu)(Code)(Java Doc) public Object visit(ArraySubscriptPrimaryPostfix n, Object argu)(Code)(Java Doc) public Object visit(PropertyIdentifierPrimaryPostfix n, Object argu)(Code)(Java Doc) public Object visit(ThisScopeQualifierPrimaryPostfix n, Object argu)(Code)(Java Doc) public Object visit(Literal n, Object argu)(Code)(Java Doc) public Object visit(Permissions n, Object argu)(Code)(Java Doc)
|
|
|