test2.tool
クラス TreeBuilder

java.lang.Object
  拡張test2.tool.TreeBuilder

public class TreeBuilder
extends java.lang.Object

Generic parser utility API, Node builder. This class is not really a builder (in terms of Builder pattern), while the result can be collected directly from it. This builder will parse the input (string, stream) and create Abstract Syntax Tree, via set of utility methods.

作成者:
Mariusz Nowostawski

コンストラクタの概要
TreeBuilder()
           
 
メソッドの概要
static Node getNode(java.io.PushbackReader r)
           
static Node getNode(java.io.Reader r)
           
static Node getNode(java.lang.String text)
           
static Node getNode(java.lang.StringBuffer text)
           
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

TreeBuilder

public TreeBuilder()
メソッドの詳細

getNode

public static Node getNode(java.io.Reader r)
                    throws java.io.IOException,
                           LexerException,
                           ParserException
例外:
java.io.IOException
LexerException
ParserException

getNode

public static Node getNode(java.lang.StringBuffer text)
                    throws java.io.IOException,
                           LexerException,
                           ParserException
例外:
java.io.IOException
LexerException
ParserException

getNode

public static Node getNode(java.lang.String text)
                    throws java.io.IOException,
                           LexerException,
                           ParserException
例外:
java.io.IOException
LexerException
ParserException

getNode

public static Node getNode(java.io.PushbackReader r)
                    throws java.io.IOException,
                           LexerException,
                           ParserException
例外:
java.io.IOException
LexerException
ParserException