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

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.GrammarNodeTerminalCharRange
All Implemented Interfaces:
java.lang.Comparable<IGrammarNode>, IGrammarNode
Direct Known Subclasses:
GrammarNodeTerminalCharRangeSpringBean

public class GrammarNodeTerminalCharRange
extends AbstractTerminalNode

terminal characters range grammar node

Author:
luc peuvrier

Field Summary
 
Fields inherited from class net.sf.parser4j.kernelgenerator.entity.grammarnode.AbstractGrammarNode
emptyNonTerminal, matchClassSimpleName, nonTerminalName
 
Constructor Summary
GrammarNodeTerminalCharRange()
           
 
Method Summary
 void setFirstTerminalValue(int firstTerminalValue)
           
 void setLastTerminalValue(int lastTerminalValue)
           
 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

GrammarNodeTerminalCharRange

public GrammarNodeTerminalCharRange()
Method Detail

setFirstTerminalValue

public void setFirstTerminalValue(int firstTerminalValue)

setLastTerminalValue

public void setLastTerminalValue(int lastTerminalValue)

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.