Methods
Type Params |
Return Type |
Name and description |
|
BlockStatement |
appendStatementsToBlockStatement(BlockStatement bs, Statement statements)
|
|
ModuleNode |
buildAST()
|
|
void |
syntaxError(Recognizer recognizer, Object offendingSymbol, int line, int charPositionInLine, String msg, RecognitionException e)
|
|
Object |
visit(ParseTree tree) Visit tree safely, no NPE occurred when the tree is null. |
|
BinaryExpression |
visitAdditiveExprAlt(AdditiveExprAltContext ctx)
|
|
BinaryExpression |
visitAndExprAlt(AndExprAltContext ctx)
|
|
ClassNode |
visitAnnotatedQualifiedClassName(AnnotatedQualifiedClassNameContext ctx)
|
|
AnnotationNode |
visitAnnotation(AnnotationContext ctx)
|
|
String |
visitAnnotationName(AnnotationNameContext ctx)
|
|
List<AnnotationNode> |
visitAnnotationsOpt(AnnotationsOptContext ctx)
|
|
InnerClassNode |
visitAnonymousInnerClassDeclaration(AnonymousInnerClassDeclarationContext ctx)
|
|
Expression |
visitArguments(ArgumentsContext ctx)
|
|
List<Expression> |
visitArrayInitializer(ArrayInitializerContext ctx)
|
|
AssertStatement |
visitAssertStatement(AssertStatementContext ctx)
|
|
BinaryExpression |
visitAssignmentExprAlt(AssignmentExprAltContext ctx)
|
|
Statement |
visitBlock(BlockContext ctx)
|
|
Statement |
visitBlockStatement(BlockStatementContext ctx)
|
|
BlockStatement |
visitBlockStatements(BlockStatementsContext ctx)
|
|
BlockStatement |
visitBlockStatementsOpt(BlockStatementsOptContext ctx)
|
|
ConstantExpression |
visitBooleanLiteralAlt(BooleanLiteralAltContext ctx)
|
|
BreakStatement |
visitBreakStatement(BreakStatementContext ctx)
|
|
VariableExpression |
visitBuiltInType(BuiltInTypeContext ctx)
|
|
CastExpression |
visitCastExprAlt(CastExprAltContext ctx)
|
|
ClassNode |
visitCastParExpression(CastParExpressionContext ctx)
|
|
List<CatchStatement> |
visitCatchClause(CatchClauseContext ctx) Multi-catch(1..*) clause will be unpacked to several normal catch clauses, so the return type is List |
|
List<ClassNode> |
visitCatchType(CatchTypeContext ctx)
|
|
Void |
visitClassBody(ClassBodyContext ctx)
|
|
Void |
visitClassBodyDeclaration(ClassBodyDeclarationContext ctx)
|
|
ClassNode |
visitClassDeclaration(ClassDeclarationContext ctx)
|
|
String |
visitClassName(ClassNameContext ctx)
|
|
ModifierNode |
visitClassOrInterfaceModifier(ClassOrInterfaceModifierContext ctx)
|
|
List<ModifierNode> |
visitClassOrInterfaceModifiers(ClassOrInterfaceModifiersContext ctx)
|
|
List<ModifierNode> |
visitClassOrInterfaceModifiersOpt(ClassOrInterfaceModifiersOptContext ctx)
|
|
ClassNode |
visitClassOrInterfaceType(ClassOrInterfaceTypeContext ctx)
|
|
Tuple2<Parameter, Expression> |
visitClassicalForControl(ClassicalForControlContext ctx)
|
|
List<ModifierNode> |
visitClassifiedModifiers(ClassifiedModifiersContext ctx)
|
|
ClosureExpression |
visitClosure(ClosureContext ctx)
|
|
ClosureExpression |
visitClosureOrLambdaExpression(ClosureOrLambdaExpressionContext ctx)
|
|
Expression |
visitCommandArgument(CommandArgumentContext ctx)
|
|
ExpressionStatement |
visitCommandExprAlt(CommandExprAltContext ctx)
|
|
Expression |
visitCommandExpression(CommandExpressionContext ctx)
|
|
ModuleNode |
visitCompilationUnit(CompilationUnitContext ctx)
|
|
Expression |
visitConditionalExprAlt(ConditionalExprAltContext ctx)
|
|
Statement |
visitConditionalStatement(ConditionalStatementContext ctx)
|
|
ContinueStatement |
visitContinueStatement(ContinueStatementContext ctx)
|
|
ClassNode |
visitCreatedName(CreatedNameContext ctx)
|
|
Expression |
visitCreator(CreatorContext ctx)
|
|
Tuple3<Expression, List<AnnotationNode>, TerminalNode> |
visitDim(DimContext ctx)
|
|
DoWhileStatement |
visitDoWhileStmtAlt(DoWhileStmtAltContext ctx)
|
|
Expression |
visitDynamicMemberName(DynamicMemberNameContext ctx)
|
|
Expression |
visitElementValue(ElementValueContext ctx)
|
|
ListExpression |
visitElementValueArrayInitializer(ElementValueArrayInitializerContext ctx)
|
|
Tuple2<String, Expression> |
visitElementValuePair(ElementValuePairContext ctx)
|
|
Map<String, Expression> |
visitElementValuePairs(ElementValuePairsContext ctx)
|
|
List<Tuple2<String, Expression>> |
visitElementValues(ElementValuesContext ctx)
|
|
List<List<AnnotationNode>> |
visitEmptyDims(EmptyDimsContext ctx)
|
|
List<List<AnnotationNode>> |
visitEmptyDimsOpt(EmptyDimsOptContext ctx)
|
|
Expression |
visitEnhancedArgumentList(EnhancedArgumentListContext ctx)
|
|
Expression |
visitEnhancedArgumentListElement(EnhancedArgumentListElementContext ctx)
|
|
Tuple2<Parameter, Expression> |
visitEnhancedForControl(EnhancedForControlContext ctx)
|
|
Expression |
visitEnhancedStatementExpression(EnhancedStatementExpressionContext ctx)
|
|
FieldNode |
visitEnumConstant(EnumConstantContext ctx)
|
|
List<FieldNode> |
visitEnumConstants(EnumConstantsContext ctx)
|
|
BinaryExpression |
visitEqualityExprAlt(EqualityExprAltContext ctx)
|
|
BinaryExpression |
visitExclusiveOrExprAlt(ExclusiveOrExprAltContext ctx)
|
|
Expression |
visitExpressionInPar(ExpressionInParContext ctx)
|
|
List<Expression> |
visitExpressionList(ExpressionListContext ctx)
|
|
Expression |
visitExpressionListElement(ExpressionListElementContext ctx)
|
|
Void |
visitFieldDeclaration(FieldDeclarationContext ctx)
|
|
Statement |
visitFinallyBlock(FinallyBlockContext ctx)
|
|
ConstantExpression |
visitFloatingPointLiteralAlt(FloatingPointLiteralAltContext ctx)
|
|
Tuple2<Parameter, Expression> |
visitForControl(ForControlContext ctx)
|
|
Expression |
visitForInit(ForInitContext ctx)
|
|
ForStatement |
visitForStmtAlt(ForStmtAltContext ctx)
|
|
Expression |
visitForUpdate(ForUpdateContext ctx)
|
|
Parameter |
visitFormalParameter(FormalParameterContext ctx)
|
|
Parameter[] |
visitFormalParameterList(FormalParameterListContext ctx)
|
|
Parameter[] |
visitFormalParameters(FormalParametersContext ctx)
|
|
GStringExpression |
visitGstring(GstringContext ctx)
|
|
Expression |
visitGstringPath(GstringPathContext ctx)
|
|
Expression |
visitGstringValue(GstringValueContext ctx)
|
|
String |
visitIdentifier(IdentifierContext ctx)
|
|
Expression |
visitIdentifierPrmrAlt(IdentifierPrmrAltContext ctx)
|
|
IfStatement |
visitIfElseStatement(IfElseStatementContext ctx)
|
|
ImportNode |
visitImportDeclaration(ImportDeclarationContext ctx)
|
|
BinaryExpression |
visitInclusiveOrExprAlt(InclusiveOrExprAltContext ctx)
|
|
Tuple2<Token, Expression> |
visitIndexPropertyArgs(IndexPropertyArgsContext ctx)
|
|
ConstantExpression |
visitIntegerLiteralAlt(IntegerLiteralAltContext ctx)
|
|
ConstantExpression |
visitKeywords(KeywordsContext ctx)
|
|
Statement |
visitLabeledStmtAlt(LabeledStmtAltContext ctx)
|
|
Statement |
visitLambdaBody(LambdaBodyContext ctx)
|
|
ListExpression |
visitList(ListContext ctx)
|
|
AstBuilder.DeclarationListStatement |
visitLocalVariableDeclaration(LocalVariableDeclarationContext ctx)
|
|
BinaryExpression |
visitLogicalAndExprAlt(LogicalAndExprAltContext ctx)
|
|
BinaryExpression |
visitLogicalOrExprAlt(LogicalOrExprAltContext ctx)
|
|
Statement |
visitLoopStmtAlt(LoopStmtAltContext ctx)
|
|
MapExpression |
visitMap(MapContext ctx)
|
|
MapEntryExpression |
visitMapEntry(MapEntryContext ctx)
|
|
Expression |
visitMapEntryLabel(MapEntryLabelContext ctx)
|
|
List<MapEntryExpression> |
visitMapEntryList(MapEntryListContext ctx)
|
|
Void |
visitMemberDeclaration(MemberDeclarationContext ctx)
|
|
Statement |
visitMethodBody(MethodBodyContext ctx)
|
|
MethodNode |
visitMethodDeclaration(MethodDeclarationContext ctx)
|
|
String |
visitMethodName(MethodNameContext ctx)
|
|
ModifierNode |
visitModifier(ModifierContext ctx)
|
|
List<ModifierNode> |
visitModifiers(ModifiersContext ctx)
|
|
List<ModifierNode> |
visitModifiersOpt(ModifiersOptContext ctx)
|
|
BinaryExpression |
visitMultipleAssignmentExprAlt(MultipleAssignmentExprAltContext ctx)
|
|
BinaryExpression |
visitMultiplicativeExprAlt(MultiplicativeExprAltContext ctx)
|
|
Expression |
visitNamePart(NamePartContext ctx)
|
|
List<MapEntryExpression> |
visitNamedPropertyArgs(NamedPropertyArgsContext ctx)
|
|
Expression |
visitNewPrmrAlt(NewPrmrAltContext ctx)
|
|
GenericsType[] |
visitNonWildcardTypeArguments(NonWildcardTypeArgumentsContext ctx)
|
|
ConstantExpression |
visitNullLiteralAlt(NullLiteralAltContext ctx)
|
|
PackageNode |
visitPackageDeclaration(PackageDeclarationContext ctx)
|
|
Expression |
visitParExpression(ParExpressionContext ctx)
|
|
Expression |
visitPathElement(PathElementContext ctx)
|
|
Expression |
visitPathExpression(PathExpressionContext ctx)
|
|
Expression |
visitPostfixExpression(PostfixExpressionContext ctx)
|
|
BinaryExpression |
visitPowerExprAlt(PowerExprAltContext ctx)
|
|
ClassNode |
visitPrimitiveType(PrimitiveTypeContext ctx)
|
|
ClassNode |
visitQualifiedClassName(QualifiedClassNameContext ctx)
|
|
ClassNode[] |
visitQualifiedClassNameList(QualifiedClassNameListContext ctx)
|
|
String |
visitQualifiedName(QualifiedNameContext ctx)
|
|
ClassNode |
visitQualifiedStandardClassName(QualifiedStandardClassNameContext ctx)
|
|
BinaryExpression |
visitRegexExprAlt(RegexExprAltContext ctx)
|
|
Expression |
visitRelationalExprAlt(RelationalExprAltContext ctx)
|
|
ExpressionStatement |
visitResource(ResourceContext ctx)
|
|
List<ExpressionStatement> |
visitResourceList(ResourceListContext ctx)
|
|
List<ExpressionStatement> |
visitResources(ResourcesContext ctx)
|
|
ReturnStatement |
visitReturnStmtAlt(ReturnStmtAltContext ctx)
|
|
ClassNode |
visitReturnType(ReturnTypeContext ctx)
|
|
List<ASTNode> |
visitScriptStatements(ScriptStatementsContext ctx)
|
|
Expression |
visitShiftExprAlt(ShiftExprAltContext ctx)
|
|
LambdaExpression |
visitStandardLambdaExpression(StandardLambdaExpressionContext ctx)
|
|
Parameter[] |
visitStandardLambdaParameters(StandardLambdaParametersContext ctx)
|
|
ConstantExpression |
visitStringLiteral(StringLiteralContext ctx)
|
|
VariableExpression |
visitSuperPrmrAlt(SuperPrmrAltContext ctx)
|
|
List<Statement> |
visitSwitchBlockStatementGroup(SwitchBlockStatementGroupContext ctx)
|
|
Tuple2<Token, Expression> |
visitSwitchLabel(SwitchLabelContext ctx)
|
|
SwitchStatement |
visitSwitchStatement(SwitchStatementContext ctx)
|
|
SynchronizedStatement |
visitSynchronizedStmtAlt(SynchronizedStmtAltContext ctx)
|
|
Parameter |
visitThisFormalParameter(ThisFormalParameterContext ctx)
|
|
VariableExpression |
visitThisPrmrAlt(ThisPrmrAltContext ctx)
|
|
ThrowStatement |
visitThrowStmtAlt(ThrowStmtAltContext ctx)
|
|
Statement |
visitTryCatchStatement(TryCatchStatementContext ctx)
|
|
ClassNode |
visitType(TypeContext ctx)
|
|
GenericsType |
visitTypeArgument(TypeArgumentContext ctx)
|
|
GenericsType[] |
visitTypeArguments(TypeArgumentsContext ctx)
|
|
GenericsType[] |
visitTypeArgumentsOrDiamond(TypeArgumentsOrDiamondContext ctx)
|
|
ClassNode[] |
visitTypeBound(TypeBoundContext ctx)
|
|
ClassNode |
visitTypeDeclaration(TypeDeclarationContext ctx)
|
|
ClassNode[] |
visitTypeList(TypeListContext ctx)
|
|
VariableExpression |
visitTypeNamePair(TypeNamePairContext ctx)
|
|
List<Expression> |
visitTypeNamePairs(TypeNamePairsContext ctx)
|
|
GenericsType |
visitTypeParameter(TypeParameterContext ctx)
|
|
GenericsType[] |
visitTypeParameters(TypeParametersContext ctx)
|
|
Expression |
visitUnaryAddExprAlt(UnaryAddExprAltContext ctx)
|
|
Expression |
visitUnaryNotExprAlt(UnaryNotExprAltContext ctx)
|
|
AstBuilder.DeclarationListStatement |
visitVariableDeclaration(VariableDeclarationContext ctx)
|
|
DeclarationExpression |
visitVariableDeclarator(VariableDeclaratorContext ctx)
|
|
VariableExpression |
visitVariableDeclaratorId(VariableDeclaratorIdContext ctx)
|
|
List<DeclarationExpression> |
visitVariableDeclarators(VariableDeclaratorsContext ctx)
|
|
Expression |
visitVariableInitializer(VariableInitializerContext ctx)
|
|
List<Expression> |
visitVariableInitializers(VariableInitializersContext ctx)
|
|
ModifierNode |
visitVariableModifier(VariableModifierContext ctx)
|
|
List<ModifierNode> |
visitVariableModifiers(VariableModifiersContext ctx)
|
|
List<ModifierNode> |
visitVariableModifiersOpt(VariableModifiersOptContext ctx)
|
|
TupleExpression |
visitVariableNames(VariableNamesContext ctx)
|
|
WhileStatement |
visitWhileStmtAlt(WhileStmtAltContext ctx)
|