Context
com.netflix.atlas.core.stacklang.Context
case class Context(interpreter: Interpreter, stack: List[Any], variables: Map[String, Any], initialVariables: Map[String, Any], frozenStack: List[Any], features: Features, callDepth: Int)
State related to the execution of a stack language expression.
Value parameters
- features
-
Set of features that are permitted for the execution.
- frozenStack
-
Separate stack that has been frozen to prevent further modification. See the
:freeze
operator for more information. - initialVariables
-
Initial set of variables used when beginning the execution. These values will be used when operations like
:freeze
need to reset the interpreter to the initial state. - interpreter
-
Interpreter that is performing the execution.
- stack
-
Stack that maintains the state for the program.
- variables
-
Variables that can be set to keep state outside of the main stack. See the
:get
and:set
operators for more information.
Attributes
- Graph
-
- Supertypes
-
trait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass Any
Members list
In this article