| oscript.visitor.ObjectVisitor
All known Subclasses: oscript.visitor.ObjectDepthFirst,
ObjectVisitor | public interface ObjectVisitor (Code) | | All Object visitors must implement this interface.
|
Method Summary | |
public Object | visit(NodeList n, Object argu) | public Object | visit(NodeListOptional n, Object argu) | public Object | visit(NodeOptional n, Object argu) | public Object | visit(NodeSequence n, Object argu) | 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"
|
|
|