public class Antlr4ParserPlugin extends Object implements ParserPlugin
| Constructor and Description |
|---|
Antlr4ParserPlugin() |
| Modifier and Type | Method and Description |
|---|---|
ModuleNode |
buildAST(SourceUnit sourceUnit,
ClassLoader classLoader,
Reduction cst) |
Reduction |
parseCST(SourceUnit sourceUnit,
Reader reader) |
public Reduction parseCST(SourceUnit sourceUnit, Reader reader) throws CompilationFailedException
parseCST in interface ParserPluginCompilationFailedExceptionpublic ModuleNode buildAST(SourceUnit sourceUnit, ClassLoader classLoader, Reduction cst) throws ParserException
buildAST in interface ParserPluginParserException