The base parser for creating a module node. The concrete compiler configuration can be specified by the sub-classes of the base parser(e.g. Antlr2Parser, Antlr4Parser)
Type Params | Return Type | Name and description |
---|---|---|
|
protected CompilerConfiguration |
getCompilerConfiguration() |
|
ModuleNode |
parse(File file) |
|
ModuleNode |
parse(String name, String text) |
|
ModuleNode |
parse(org.codehaus.groovy.control.SourceUnit sourceUnit) |