concepts.dsl.dsl_types.Variable#
- class Variable[source]#
Bases:
_Placeholder
The class representing a variable in a function.
Methods
clone_with_scope
(scope)set_quantifier_flag
(flag)set_scope
(scope)Attributes
Additional quantifier flag for the variable.
An additional integer indicating the scope identifier of the variable.
The name of the variable.
The data type of the variable.
- __init__(name, dtype)#
- Parameters:
name (str | StateObjectReference | StateObjectList)
dtype (ObjectType | ValueType | FunctionType)
- __new__(**kwargs)#
- dtype: ObjectType | ValueType | FunctionType#
The data type of the variable.
- quantifier_flag: str | None = None#
Additional quantifier flag for the variable. This flag will be set by the parser indicating the quantifier scope of this variable. Currently this is only used in PDSketch for “quantified variable” in regression rules.
- property typename#