pygritia.symbols module
Provides Symbol
lazy action class
It makes operators work well in lazy expression
Action Symbol
does not have corresponding LazyMixin class, because symbol does not
need any additional feature to lazy expression.
-
class
pygritia.symbols.
Symbol
(name: str)[source]
Bases: pygritia.core.LazyAction
Symbol accessor
-
evaluate
(namespace: Mapping[Union[str, LazyMixin], Any]) → Any[source]
Evaluate expression
To substitute actual value for specific symbol, give value with keyword argument.
-
name