Modifier and Type | Field and Description |
---|---|
protected static java.lang.String[] |
errorMessages |
protected java.util.ArrayList |
firstPopped |
Analysis |
ignoredTokens |
protected java.util.ArrayList |
lastPopped |
protected java.util.ArrayList |
nodeList |
Modifier and Type | Method and Description |
---|---|
protected boolean |
addElementsFromListToNewList(java.lang.String productionRuleAsString) |
protected void |
checkResult(java.lang.Object elementToCheck) |
protected void |
checkResult(java.lang.Object elementToCheck,
boolean slurp) |
protected SourcePosition |
createBeginPos(int index) |
protected SourcePosition |
createEndPos(int index) |
protected int |
findBeginPos(java.util.ArrayList list,
PositionedNode n) |
protected int |
findEndPos(java.util.ArrayList list) |
protected int |
findIndex(IToken token) |
java.util.Map<PositionedNode,SourcecodeRange> |
getMapping() |
protected java.util.ArrayList |
new0() |
protected java.util.ArrayList |
new1() |
protected java.util.ArrayList |
new10() |
protected java.util.ArrayList |
new11() |
protected java.util.ArrayList |
new12() |
protected java.util.ArrayList |
new13() |
protected java.util.ArrayList |
new14() |
protected java.util.ArrayList |
new15() |
protected java.util.ArrayList |
new16() |
protected java.util.ArrayList |
new17() |
protected java.util.ArrayList |
new18() |
protected java.util.ArrayList |
new19() |
protected java.util.ArrayList |
new2() |
protected java.util.ArrayList |
new20() |
protected java.util.ArrayList |
new21() |
protected java.util.ArrayList |
new22() |
protected java.util.ArrayList |
new23() |
protected java.util.ArrayList |
new3() |
protected java.util.ArrayList |
new4() |
protected java.util.ArrayList |
new5() |
protected java.util.ArrayList |
new6() |
protected java.util.ArrayList |
new7() |
protected java.util.ArrayList |
new8() |
protected java.util.ArrayList |
new9() |
Start |
parse() |
protected java.util.ArrayList |
pop() |
public final Analysis ignoredTokens
protected java.util.ArrayList nodeList
protected java.util.ArrayList firstPopped
protected java.util.ArrayList lastPopped
protected static java.lang.String[] errorMessages
public Parser(Lexer lexer)
public java.util.Map<PositionedNode,SourcecodeRange> getMapping()
getMapping
in interface IParser
protected void checkResult(java.lang.Object elementToCheck)
protected void checkResult(java.lang.Object elementToCheck, boolean slurp)
protected int findBeginPos(java.util.ArrayList list, PositionedNode n)
protected int findEndPos(java.util.ArrayList list)
protected int findIndex(IToken token)
protected SourcePosition createBeginPos(int index)
protected SourcePosition createEndPos(int index)
protected boolean addElementsFromListToNewList(java.lang.String productionRuleAsString)
protected java.util.ArrayList pop()
public Start parse() throws ParserException, LexerException, java.io.IOException
ParserException
LexerException
java.io.IOException
protected java.util.ArrayList new0()
protected java.util.ArrayList new1()
protected java.util.ArrayList new2()
protected java.util.ArrayList new3()
protected java.util.ArrayList new4()
protected java.util.ArrayList new5()
protected java.util.ArrayList new6()
protected java.util.ArrayList new7()
protected java.util.ArrayList new8()
protected java.util.ArrayList new9()
protected java.util.ArrayList new10()
protected java.util.ArrayList new11()
protected java.util.ArrayList new12()
protected java.util.ArrayList new13()
protected java.util.ArrayList new14()
protected java.util.ArrayList new15()
protected java.util.ArrayList new16()
protected java.util.ArrayList new17()
protected java.util.ArrayList new18()
protected java.util.ArrayList new19()
protected java.util.ArrayList new20()
protected java.util.ArrayList new21()
protected java.util.ArrayList new22()
protected java.util.ArrayList new23()