Methods
Type Params |
Return Type |
Name and description |
|
BlockStatement |
appendStatementsToBlockStatement(BlockStatement bs, Statement... statements)
|
|
ModuleNode |
buildAST()
|
|
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)
|
|
AssertStatement |
visitAssertStmtAlt(AssertStmtAltContext 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)
|
|
BreakStatement |
visitBreakStmtAlt(BreakStmtAltContext ctx)
|
|
VariableExpression |
visitBuiltInType(BuiltInTypeContext ctx)
|
|
VariableExpression |
visitBuiltInTypePrmrAlt(BuiltInTypePrmrAltContext 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 |
visitClosurePrmrAlt(ClosurePrmrAltContext 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)
|
|
Statement |
visitConditionalStmtAlt(ConditionalStmtAltContext ctx)
|
|
ContinueStatement |
visitContinueStatement(ContinueStatementContext ctx)
|
|
ContinueStatement |
visitContinueStmtAlt(ContinueStmtAltContext ctx)
|
|
ClassNode |
visitCreatedName(CreatedNameContext ctx)
|
|
Expression |
visitCreator(CreatorContext ctx)
|
|
List<List<AnnotationNode>> |
visitDims(DimsContext ctx)
|
|
List<List<AnnotationNode>> |
visitDimsOpt(DimsOptContext 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)
|
|
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)
|
|
ExpressionStatement |
visitExpressionStmtAlt(ExpressionStmtAltContext 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)
|
|
GStringExpression |
visitGstringPrmrAlt(GstringPrmrAltContext ctx)
|
|
Expression |
visitGstringValue(GstringValueContext ctx)
|
|
String |
visitIdentifier(IdentifierContext ctx)
|
|
Expression |
visitIdentifierPrmrAlt(IdentifierPrmrAltContext ctx)
|
|
IfStatement |
visitIfElseStatement(IfElseStatementContext ctx)
|
|
ImportNode |
visitImportDeclaration(ImportDeclarationContext ctx)
|
|
ImportNode |
visitImportStmtAlt(ImportStmtAltContext 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)
|
|
ClosureExpression |
visitLambdaPrmrAlt(LambdaPrmrAltContext ctx)
|
|
ListExpression |
visitList(ListContext ctx)
|
|
ListExpression |
visitListPrmrAlt(ListPrmrAltContext ctx)
|
|
ConstantExpression |
visitLiteralPrmrAlt(LiteralPrmrAltContext ctx)
|
|
AstBuilder.DeclarationListStatement |
visitLocalVariableDeclaration(LocalVariableDeclarationContext ctx)
|
|
Statement |
visitLocalVariableDeclarationStmtAlt(LocalVariableDeclarationStmtAltContext 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)
|
|
MapExpression |
visitMapPrmrAlt(MapPrmrAltContext ctx)
|
|
Void |
visitMemberDeclaration(MemberDeclarationContext ctx)
|
|
Statement |
visitMethodBody(MethodBodyContext ctx)
|
|
MethodNode |
visitMethodDeclaration(MethodDeclarationContext ctx)
|
|
MethodNode |
visitMethodDeclarationStmtAlt(MethodDeclarationStmtAltContext 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)
|
|
ExpressionStatement |
visitNormalExprAlt(NormalExprAltContext ctx)
|
|
ConstantExpression |
visitNullLiteralAlt(NullLiteralAltContext ctx)
|
|
PackageNode |
visitPackageDeclaration(PackageDeclarationContext ctx)
|
|
Expression |
visitParExpression(ParExpressionContext ctx)
|
|
Expression |
visitParenPrmrAlt(ParenPrmrAltContext ctx)
|
|
Expression |
visitPathElement(PathElementContext ctx)
|
|
Expression |
visitPathExpression(PathExpressionContext ctx)
|
|
Expression |
visitPostfixExprAlt(PostfixExprAltContext 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)
|
|
Expression |
visitShiftExprAlt(ShiftExprAltContext ctx)
|
|
LambdaExpression |
visitStandardLambdaExpression(StandardLambdaExpressionContext ctx)
|
|
Parameter[] |
visitStandardLambdaParameters(StandardLambdaParametersContext ctx)
|
|
List<ASTNode> |
visitStatements(StatementsContext ctx)
|
|
ConstantExpression |
visitStringLiteral(StringLiteralContext ctx)
|
|
ConstantExpression |
visitStringLiteralAlt(StringLiteralAltContext 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)
|
|
Statement |
visitTryCatchStmtAlt(TryCatchStmtAltContext 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 |
visitTypeDeclarationStmtAlt(TypeDeclarationStmtAltContext 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)
|