public class LiTerminal extends LiUserDataHolder implements Terminal
| Constructor and Description |
|---|
LiTerminal(String name,
AstType type,
SourceElement origin) |
| Modifier and Type | Method and Description |
|---|---|
String |
getConstantValue() |
int |
getIndex() |
String |
getName() |
SourceElement |
getOrigin() |
Iterable<LexerRule> |
getRules() |
Symbol |
getSoftClass() |
AstType |
getType() |
boolean |
isConstant() |
boolean |
isSoft() |
boolean |
isTerm() |
String |
toString() |
getUserData, putUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUserData, putUserDatapublic LiTerminal(String name, AstType type, SourceElement origin)
public Symbol getSoftClass()
getSoftClass in interface Terminalpublic String getConstantValue()
getConstantValue in interface Terminalpublic boolean isConstant()
isConstant in interface Terminalpublic SourceElement getOrigin()
getOrigin in interface DerivedSourceElementCopyright © 2014. All rights reserved.