org.inxar.syntacs.grammar.context_free
Interface Terminal

All Superinterfaces:
GrammarSymbol
All Known Subinterfaces:
Epsilon
All Known Implementing Classes:
CFTerminal

public interface Terminal
extends GrammarSymbol

The Terminal interface abstracts objects which act as concrete symbols in a context free language, typically as a Token. They form the leaves of the syntax tree.


Method Summary
 Token getToken()
          Returns the Token object upon which this Terminal takes its identity.
 
Methods inherited from interface org.inxar.syntacs.grammar.context_free.GrammarSymbol
getFirstSet, getID, getName, isNullable, isTerminal
 

Method Detail

getToken

public Token getToken()
Returns the Token object upon which this Terminal takes its identity.