public interface ParserPlugin
A simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser(s).
Type Params | Return Type | Name and description |
---|---|---|
|
ModuleNode |
buildAST(SourceUnit sourceUnit, ClassLoader classLoader, Reduction cst) |
|
static ModuleNode |
buildAST(CharSequence sourceText, CompilerConfiguration config, GroovyClassLoader loader, ErrorCollector errors) |
|
Reduction |
parseCST(SourceUnit sourceUnit, Reader reader) |