Top Interfaces Classes
[default module]

Package org.apache.groovy.parser.antlr4


Interface Summary

Modifier and TypeInterface and Description
public interface
GroovyParserVisitor<
The return type of the visit operation. Use Void for operations with no return type.
Result
>

This interface defines a complete generic visitor for a parse tree produced by GroovyParser.

public interface
SyntaxErrorReportable

A SyntaxErrorReportable is a recognizer that can report syntax error

Class Summary

Modifier and TypeClass and Description
public abstract class
AbstractLexer

Because antlr4 does not support generating lexer with specified interface, we have to create a super class for it and implement the interface.

public abstract class
AbstractParser

Because antlr4 does not support generating parser with specified interface, we have to create a super class for it and implement the interface.

public class
Antlr4ParserPlugin

A parser plugin for the new parser.

public class
Antlr4PluginFactory

A parser plugin factory for the new parser.

public class
AstBuilder

Builds the AST from the parse tree generated by Antlr4.

public class
GroovydocManager

A utilities for managing groovydoc, e.g. 1) extracting groovydoc from groovy AST; 2) TODO extracting tags from groovydoc; 3) attach groovydoc to AST node as metadata

public class
GroovyLangLexer

The lexer for Groovy programming language, which is based on the lexer generated by Antlr4

public class
GroovyLangParser

The parser for Groovy programming language, which is based on the parser generated by Antlr4

public class
public class
public class
GroovyParserBaseVisitor<
The return type of the visit operation. Use Void for operations with no return type.
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.

public class
GroovySyntaxError

Represents a syntax error of groovy program

pack-priv class
ModifierManager

Process modifiers for AST nodes

public class
public class
SemanticPredicates

Some semantic predicates for altering the behaviour of the lexer and parser

public class
TryWithResourcesASTTransformation

Transform try-with-resources to try-catch-finally Reference JLS "14.20.3.