protected abstract static class JavacParser.AbstractEndPosTable extends Object implements EndPosTable
Modifier and Type | Field and Description |
---|---|
protected int |
errorEndPos
Store the last error position.
|
protected JavacParser |
parser
The current parser.
|
Constructor and Description |
---|
AbstractEndPosTable(JavacParser parser) |
Modifier and Type | Method and Description |
---|---|
protected void |
setErrorEndPos(int errPos)
Set the error position during the parsing phases, the value of which
will be set only if it is greater than the last stored error position.
|
protected void |
setParser(JavacParser parser) |
protected abstract <T extends JCTree> |
to(T t)
Store current token's ending position for a tree, the value of which
will be the greater of last error position and the ending position of
the current token.
|
protected abstract <T extends JCTree> |
toP(T t)
Store current token's ending position for a tree, the value of which
will be the greater of last error position and the ending position of
the previous token.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndPos, replaceTree, storeEnd
protected JavacParser parser
protected int errorEndPos
public AbstractEndPosTable(JavacParser parser)
protected abstract <T extends JCTree> T to(T t)
t
- The tree.protected abstract <T extends JCTree> T toP(T t)
t
- The tree.protected void setErrorEndPos(int errPos)
errPos
- The error positionprotected void setParser(JavacParser parser)
Copyright © 2017 earcam. All rights reserved.