public class TokenGroup extends Object
| Constructor and Description |
|---|
TokenGroup(List<Terminal> tokens,
String name,
String displayName)
Construct a fully defined group
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDisplayName() |
String |
getName() |
List<Terminal> |
getTokens() |
void |
setDisplayName(String displayName) |
void |
setName(String name) |
void |
setTokens(List<Terminal> tokens) |
String |
toString()
Returns the name of the group, and its tokens
|
public String getName()
public void setName(String name)
name - the name to setpublic String getDisplayName()
public void setDisplayName(String displayName)
displayName - the displayName to setpublic boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public String toString()
toString in class ObjectObject.toString()Copyright © 2017. All rights reserved.