public abstract class AbstractInterpreterBase extends java.lang.Object implements Interpreter, InterpreterSource
コンストラクタと説明 |
---|
AbstractInterpreterBase() |
修飾子とタイプ | メソッドと説明 |
---|---|
void |
execute(Expression[] expressions,
java.util.Map controlMap)
命令を実行する
|
protected Reference |
getReference(java.lang.String ref)
参照を取得する
|
protected abstract boolean |
interpret(Expression expression,
java.util.Map controlMap)
インタプリタ処理を実行する
|
protected boolean |
interpretChildren(Expression[] children,
java.util.Map controlMap)
入れ子の内部のインタプリタ処理を実行する
|
protected void |
setReferenceSource(ReferenceSource rs)
参照ソースを登録する
|
protected abstract void |
setup(java.util.Map info)
インタプリタのセットアップを行う
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getInterpreter, getInterpreterCategory
public void execute(Expression[] expressions, java.util.Map controlMap) throws RecoverableException
execute
インタフェース内 Interpreter
exps
- 実行命令配列controlMap
- 制御情報格納MapRecoverableException
- 回復可能な業務例外protected void setReferenceSource(ReferenceSource rs)
rs
- 参照ソースprotected Reference getReference(java.lang.String ref)
ref
- 参照文字列protected abstract void setup(java.util.Map info)
info
- パラメータマップprotected abstract boolean interpret(Expression expression, java.util.Map controlMap) throws RecoverableException
expression
- 実行命令controlMap
- 制御パラメータマップRecoverableException
protected boolean interpretChildren(Expression[] children, java.util.Map controlMap) throws RecoverableException
children
- 実行命令配列controlMap
- 制御パラメータマップRecoverableException