org.pz.platypus.utilities
Class ProcessSymbol

java.lang.Object
  extended by org.pz.platypus.utilities.ProcessSymbol

public class ProcessSymbol
extends java.lang.Object

utility class for processing input symbols

Author:
alb

Constructor Summary
ProcessSymbol()
           
 
Method Summary
static int toToken(Source source, TokenList tl, java.lang.String root)
          Adds the symbol to the end of the token list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ProcessSymbol

public ProcessSymbol()
Method Detail

toToken

public static int toToken(Source source,
                          TokenList tl,
                          java.lang.String root)
Adds the symbol to the end of the token list. Symbols have the following Token layout:

Parameters:
source - file# and line#
tl - list of tokens to which new token will be added
root - the command abbreviation
Returns:
Status.OK if all went well; otherwise, error code.


Copyright © 2008-10 Pacific Data Works LLC