org.hecl
Class ParseList

java.lang.Object
  extended by org.hecl.Parse
      extended by org.hecl.ParseList

public class ParseList
extends Parse

ParseList parses up Hecl lists.

Version:
1.0
Author:
David N. Welton

Field Summary
 
Fields inherited from class org.hecl.Parse
in, interp, outBuf, outBufNumeric, outBufused, outGroup, outList, parselist, state
 
Constructor Summary
ParseList(java.lang.String in_in)
          Creates a new ParseList instance.
 
Method Summary
 void parseLine(ParseState state)
          parseLine parses a line of Hecl code.
 void parseText(ParseState state)
          parseText parses some text, such as that enclosed in quotes "".
 void parseWord(ParseState state)
          parseWord parses a plain Hecl word.
 
Methods inherited from class org.hecl.Parse
addCommand, addCurrent, addDollar, addSub, appendToCurrent, more, newCurrent, parse, parseBlock, parseBlockOrCommand, parseCommand, parseEscape, parseToCode, parseVarBlock
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParseList

public ParseList(java.lang.String in_in)
Creates a new ParseList instance.

Parameters:
in_in - a String value
Method Detail

parseLine

public void parseLine(ParseState state)
               throws HeclException
parseLine parses a line of Hecl code.

Overrides:
parseLine in class Parse
Parameters:
state - a ParseState value
Throws:
HeclException - if an error occurs

parseText

public void parseText(ParseState state)
               throws HeclException
parseText parses some text, such as that enclosed in quotes "".

Overrides:
parseText in class Parse
Parameters:
state - a ParseState value
Throws:
HeclException - if an error occurs

parseWord

public void parseWord(ParseState state)
               throws HeclException
parseWord parses a plain Hecl word.

Overrides:
parseWord in class Parse
Parameters:
state - a ParseState value
Throws:
HeclException - if an error occurs