jp.sourceforge.expression_computer
クラス CompileContext

java.lang.Object
  拡張jp.sourceforge.expression_computer.CompileContext

public final class CompileContext
extends java.lang.Object

コンパイルの情報を保持するコンテキストです。

作成者:
uguu@users.sourceforge.jp

コンストラクタの概要
CompileContext()
           
 
メソッドの概要
 void add(Command command)
           コンテキストにコンパイルされたコマンドを追加します。
 CommandList toCommandList()
           コンテキストに追加された一連のコマンドを返します。
 
クラス java.lang.Object から継承したメソッド
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

CompileContext

public CompileContext()
メソッドの詳細

add

public void add(Command command)

コンテキストにコンパイルされたコマンドを追加します。

パラメータ:
command - 追加するコマンド。
nullの場合、NullPointerException例外をスローします。

toCommandList

public CommandList toCommandList()

コンテキストに追加された一連のコマンドを返します。

戻り値:
コンテキストに追加された一連のコマンド。


Copyright © 2006 . All Rights Reserved.