net.sf.parser4j.kernelgenerator.entity.grammarnode.impl
Class GrammarNodeTerminalChar

java.lang.Object
  extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
      extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractTerminalNode
          extended by net.sf.parser4j.kernelgenerator.entity.grammarnode.impl.GrammarNodeTerminalChar
All Implemented Interfaces:
java.lang.Comparable<IGrammarNode>, IGrammarNode
Direct Known Subclasses:
GrammarNodeTerminalCharSpringBean

public class GrammarNodeTerminalChar
extends AbstractTerminalNode

terminal character grammar node

Author:
luc peuvrier

Field Summary
 
Fields inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
emptyNonTerminal, matchClassSimpleName, nonTerminalName
 
Constructor Summary
GrammarNodeTerminalChar()
           
 
Method Summary
 void setTerminalValue(int terminalValue)
           
 java.util.Iterator<TerminalCharRange> terminalValuesIterator()
           
 java.lang.String toDefinitionString()
           
 java.lang.String toString()
          Returns a string full representation of the object.
 java.lang.String valueToString()
           
 
Methods inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractTerminalNode
accept, expectedNonTerminal, getRightPart, match, setOperandList
 
Methods inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
badRecognitionPointIndex, characterValueToString, compareTo, equals, getGrammarNodeType, getMatchClassSimpleName, getNonTerminalIdentifier, getNonTerminalName, hashCode, isEmptyNonTerminal, isEmptyType, isIntermediate, isNonTerminal, isStringTerminal, isStringToken, isTerminal, isToken, matchClassToString, nonTerminalToString, setMatchClassSimpleName, setNonTerminalIdentifier, setNonTerminalName, setStringToken, setToken
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

GrammarNodeTerminalChar

public GrammarNodeTerminalChar()
Method Detail

setTerminalValue

public void setTerminalValue(int terminalValue)

terminalValuesIterator

public java.util.Iterator<TerminalCharRange> terminalValuesIterator()
Returns:
iterator on terminal values

valueToString

public java.lang.String valueToString()
Specified by:
valueToString in class AbstractTerminalNode

toDefinitionString

public java.lang.String toDefinitionString()

toString

public java.lang.String toString()
Description copied from interface: IGrammarNode
Returns a string full representation of the object.

Specified by:
toString in interface IGrammarNode
Overrides:
toString in class AbstractGrammarNode


Copyright © 2008-2009 Luc Peuvrier. All Rights Reserved.