Documentation ¶
Index ¶
- Constants
- func TranslateExpression(expression *parser.Expression, declaredIdentifiers mapset.Set) (result expressions.Expression, settedStates mapset.Set, err error)
- func TranslateProgram(program *parser.Program, declaredIdentifiers mapset.Set, options Options, ...) (definitions context.ValueGroup, ...)
- type ErrorHandler
- type Options
- type Waiter
Constants ¶
View Source
const ( EmptyListConstantName = "__empty_list__" EmptyHashTableConstantName = "__empty_hash__" ListConstructionFunctionName = "__cons__" HashTableConstructionFunctionName = "__with__" EqualFunctionName = "__eq__" NotEqualFunctionName = "__ne__" LessFunctionName = "__lt__" LessOrEqualFunctionName = "__le__" GreaterFunctionName = "__gt__" GreaterOrEqualFunctionName = "__ge__" BitwiseDisjunctionFunctionName = "__or__" BitwiseExclusiveDisjunctionFunctionName = "__xor__" BitwiseConjunctionFunctionName = "__and__" BitwiseLeftShiftFunctionName = "__lshift__" BitwiseRightShiftFunctionName = "__rshift__" BitwiseUnsignedRightShiftFunctionName = "__urshift__" AdditionFunctionName = "__add__" SubtractionFunctionName = "__sub__" MultiplicationFunctionName = "__mul__" DivisionFunctionName = "__div__" ModuloFunctionName = "__mod__" ArithmeticNegationFunctionName = "__neg__" BitwiseNegationFunctionName = "__bitwise_not__" LogicalNegationFunctionName = "__logical_not__" KeyAccessorFunctionName = "__item__" )
...
Variables ¶
This section is empty.
Functions ¶
func TranslateExpression ¶
func TranslateExpression( expression *parser.Expression, declaredIdentifiers mapset.Set, ) ( result expressions.Expression, settedStates mapset.Set, err error, )
TranslateExpression ...
func TranslateProgram ¶
func TranslateProgram( program *parser.Program, declaredIdentifiers mapset.Set, options Options, dependencies runtime.Dependencies, ) ( definitions context.ValueGroup, translatedActors []runtime.ConcurrentActorFactory, err error, )
TranslateProgram ...
Types ¶
type ErrorHandler ¶
type ErrorHandler interface { runtime.ErrorHandler }
ErrorHandler ...
It's used only for mock generating.
Click to show internal directories.
Click to hide internal directories.