|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||
java.lang.Objectdk.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 string| Method Detail |
|---|
public String getString()
public String toString()
toString in class Objectpublic <T> T visitBy(EntityVisitor<T> v)
Entity
visitBy in class Entityv - entity visitor
|
||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||