dk.brics.grammar
Class EOFTerminalEntity

java.lang.Object
  extended by dk.brics.grammar.Entity
      extended by dk.brics.grammar.TerminalEntity
          extended by dk.brics.grammar.EOFTerminalEntity

public class EOFTerminalEntity
extends TerminalEntity

An EOF terminal.


Constructor Summary
EOFTerminalEntity()
          Constructs a new ignorable EOF terminal.
 
Method Summary
 String toString()
          Returns string representation of this entity.
<T> T
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

EOFTerminalEntity

public EOFTerminalEntity()
Constructs a new ignorable EOF terminal.

Method Detail

toString

public String toString()
Returns string representation of this entity.

Overrides:
toString in class Object

visitBy

public <T> T visitBy(EntityVisitor<T> v)
Description copied from class: Entity
Visits this entity with the given visitor.

Specified by:
visitBy in class Entity
Parameters:
v - entity visitor


Copyright © 2005-2008 Anders Møller.