public interface LexicalAnalyzer extends Cloneable
Modifier and Type | Interface and Description |
---|---|
static interface |
LexicalAnalyzer.Token |
Modifier and Type | Method and Description |
---|---|
LexicalAnalyzer |
clone()
Creates a copy of the object.
|
void |
drop_state() |
int |
getColumn() |
int |
getLine() |
int |
getMaxColumn() |
int |
getMaxLine() |
int |
getMaxPosition() |
int |
getPosition() |
java.lang.String |
getSource() |
java.lang.String |
getSourceContext() |
boolean |
getUseBracketsForIdentifiers() |
boolean |
isEOF() |
LexicalAnalyzer.Token |
look() |
LexicalAnalyzer.Token |
next() |
void |
restore_state() |
void |
save_state() |
void |
setSource(java.lang.String source) |
void |
setUseBracketsForIdentifiers(boolean useBracketsForIdentifiers) |
cloneQuietly, cloneQuietly
void setSource(java.lang.String source)
LexicalAnalyzer.Token look()
LexicalAnalyzer.Token next()
LexicalAnalyzer clone() throws java.lang.CloneNotSupportedException
Cloneable
java.lang.CloneNotSupportedException
- if the instance of the object cannot
be cloned. As this is extending Cloneable
so its sure
it implements it, so this exception may be used for problems on specific
object instances.Object#clone()}.
boolean isEOF()
int getPosition()
int getMaxPosition()
int getLine()
int getMaxLine()
int getColumn()
int getMaxColumn()
java.lang.String getSource()
void setUseBracketsForIdentifiers(boolean useBracketsForIdentifiers)
boolean getUseBracketsForIdentifiers()
java.lang.String getSourceContext()
void save_state()
void restore_state()
void drop_state()