org.jmlspecs.jml4.compiler.parser
Class JmlIdentifier
java.lang.Object
org.jmlspecs.jml4.compiler.parser.JmlIdentifier
public class JmlIdentifier
- extends java.lang.Object
This is a helper class for the Parser. Instances of this class are meant to
hold JML keyword identifiers ...
Constructor Summary |
JmlIdentifier(char[] token,
boolean hasRedundantSuffix,
int id,
long pos)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JmlIdentifier
public JmlIdentifier(char[] token,
boolean hasRedundantSuffix,
int id,
long pos)
sourceStart
public int sourceStart()
sourceEnd
public int sourceEnd()
token
public char[] token()
setToken
public void setToken(char[] token)
id
public int id()
setId
public void setId(int id)
getPos
public long getPos()
setPos
public void setPos(long pos)
hasRedundantSuffix
public boolean hasRedundantSuffix()
setHasRedundantSuffix
public void setHasRedundantSuffix(boolean hasRedundantSuffix)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object