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