Modifier and Type | Class and Description |
---|---|
static class |
JastAddJavaParser.Terminals |
Parser.Exception, Parser.Simulator, Parser.TokenStream
Modifier and Type | Field and Description |
---|---|
protected Collection |
errors |
Constructor and Description |
---|
JastAddJavaParser() |
Modifier and Type | Method and Description |
---|---|
protected Symbol |
invokeReduceAction(int rule_num,
int offset)
Invoke actual reduce action routine.
|
CompilationUnit |
parse(InputStream is,
String fileName) |
parse, parse, recoverFromError
protected Collection errors
public CompilationUnit parse(InputStream is, String fileName) throws IOException, Parser.Exception
IOException
Parser.Exception
protected Symbol invokeReduceAction(int rule_num, int offset)
Parser
invokeReduceAction
in class Parser
rule_num
- ID of a reduce action routine to invokeoffset
- to the symbol before first action routine argumentCopyright © 2020 Sable. All rights reserved.