Package org.apache.groovy.parser.antlr4
package org.apache.groovy.parser.antlr4
-
ClassDescriptionBecause antlr4 does not support generating lexer with specified interface, we have to create a super class for it and implement the interface.Because antlr4 does not support generating parser with specified interface, we have to create a super class for it and implement the interface.A parser plugin for the new parser.A parser plugin factory for the new parser.Builds the AST from the parse tree generated by Antlr4.A utilities for managing groovydoc, e.g.The lexer for Groovy programming language, which is based on the lexer generated by Antlr4The parser for Groovy programming language, which is based on the parser generated by Antlr4GroovyParserBaseVisitor<Result>This class provides an empty implementation of
GroovyParserVisitor
, which can be extended to create a visitor which only needs to handle a subset of the available methods.GroovyParserVisitor<Result>This interface defines a complete generic visitor for a parse tree produced byGroovyParser
.Represents a syntax error of groovy programSome semantic predicates for altering the behaviour of the lexer and parserA SyntaxErrorReportable is a recognizer that can report syntax errorTransform try-with-resources to try-catch-finally Reference JLS "14.20.3.