Structured Text Toolkit

com.saelist.stx.parser
Class StxParser

java.lang.Object
  extended bycom.saelist.stx.parser.StxParser

public class StxParser
extends java.lang.Object

Parses free form structured text.

  PAIR = TEXT [ LBR PAIR * RBR ].


Field Summary
static Logger logger
           
 
Constructor Summary
StxParser()
           
 
Method Summary
static Pair parse(java.lang.String text)
           
static Pair parsePair(Pair parent, java.util.List tokens, int pos)
          A pair that remembers its location in the source file.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

logger

public static Logger logger
Constructor Detail

StxParser

public StxParser()
Method Detail

parse

public static Pair parse(java.lang.String text)
                  throws ParserException
Parameters:
text - the text to parse.
Throws:
ParserException

parsePair

public static Pair parsePair(Pair parent,
                             java.util.List tokens,
                             int pos)
                      throws ParserException
A pair that remembers its location in the source file.

Throws:
ParserException

Structured Text Toolkit