public class LiNonterminal extends LiUserDataHolder implements Nonterminal
UD_NAME_HINT| Constructor and Description |
|---|
LiNonterminal(String name,
SourceElement origin) |
| Modifier and Type | Method and Description |
|---|---|
RhsRoot |
getDefinition() |
int |
getIndex() |
String |
getName() |
SourceElement |
getOrigin() |
Iterable<Rule> |
getRules() |
AstType |
getType() |
boolean |
isNullable() |
boolean |
isTerm() |
String |
toString() |
getUserData, putUserDataclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetUserData, putUserDatapublic LiNonterminal(String name, SourceElement origin)
public RhsRoot getDefinition()
getDefinition in interface Nonterminalpublic Iterable<Rule> getRules()
getRules in interface Nonterminalpublic boolean isNullable()
isNullable in interface Nonterminalpublic SourceElement getOrigin()
getOrigin in interface DerivedSourceElementCopyright © 2014. All rights reserved.