Package org.codehaus.groovy.control
Interface ParserPlugin
- 
- All Known Implementing Classes:
- Antlr4ParserPlugin,- AntlrParserPlugin
 
 public interface ParserPluginA simple extension point to allow us to switch between the classic Groovy parser and the new Antlr based parser(s).
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description static ModuleNodebuildAST(CharSequence sourceText, CompilerConfiguration config, GroovyClassLoader loader, ErrorCollector errors)ModuleNodebuildAST(SourceUnit sourceUnit, ClassLoader classLoader, Reduction cst)ReductionparseCST(SourceUnit sourceUnit, Reader reader)
 
- 
- 
- 
Method Detail- 
parseCSTReduction parseCST(SourceUnit sourceUnit, Reader reader) throws CompilationFailedException - Throws:
- CompilationFailedException
 
 - 
buildASTModuleNode buildAST(SourceUnit sourceUnit, ClassLoader classLoader, Reduction cst) throws ParserException - Throws:
- ParserException
 
 - 
buildASTstatic ModuleNode buildAST(CharSequence sourceText, CompilerConfiguration config, GroovyClassLoader loader, ErrorCollector errors) throws CompilationFailedException - Throws:
- CompilationFailedException
 
 
- 
 
-