|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object dk.brics.grammar.Entity dk.brics.grammar.TerminalEntity dk.brics.grammar.StringTerminalEntity
public class StringTerminalEntity
A string terminal.
Constructor Summary | |
---|---|
StringTerminalEntity(String string)
Constructs a new string terminal. |
Method Summary | ||
---|---|---|
String |
getString()
Returns the string of this string terminal. |
|
String |
toString()
Returns string representation of this entity. |
|
|
visitBy(EntityVisitor<T> v)
Visits this entity with the given visitor. |
Methods inherited from class dk.brics.grammar.Entity |
---|
getExample, getLabel, isExplicitlyLabeled, isLabeled, setLabel |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public StringTerminalEntity(String string)
string
- the stringMethod Detail |
---|
public String getString()
public String toString()
toString
in class Object
public <T> T visitBy(EntityVisitor<T> v)
Entity
visitBy
in class Entity
v
- entity visitor
|
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |