Package com.batch.android.lisp
Class MetaContext
- java.lang.Object
-
- com.batch.android.lisp.MetaContext
-
- All Implemented Interfaces:
EvaluationContext
public final class MetaContext extends java.lang.Object implements EvaluationContext
Context wrapper that's an union of multiple contextsIt should be initialized with the contexts in order of priority: first one to give a non "null" (not to be confused with a BALPrimitiveValue with a nil type, which is considered a result) will "win".
-
-
Constructor Summary
Constructors Constructor Description MetaContext(java.util.ArrayList<EvaluationContext> contexts)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ValueresolveVariableNamed(java.lang.String name)
-
-
-
Constructor Detail
-
MetaContext
public MetaContext(java.util.ArrayList<EvaluationContext> contexts)
-
-
Method Detail
-
resolveVariableNamed
public Value resolveVariableNamed(java.lang.String name)
- Specified by:
resolveVariableNamedin interfaceEvaluationContext
-
-