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