ArrowInvocationTemplate
- class ArrowInvocationTemplate
Description
An arrow invocation: the template form of
s->f(b),s->f(y=b),s->collect {in i; i + 1}ors->reduce g.“A special syntax for an invocation expression in which the first argument is given before the arrow” (KerML 7.4.9.3):
sourceis that argument, andargumentsandnamed_argumentsare the ones afterfunction, as inInvocationTemplate;argumentsis aFunctionReferenceTemplatefors->reduce g. Equality and hashing compare the templates structurally and the function and parameters byelement_id, for the reasonReferenceTemplategives.Inheritance:
Members defined in
ArrowInvocationTemplate(5 members)RWRWRWRWHash the source, the function’s identity and the arguments.
Members inherited from
ExpressionTemplate(13 members)Attributes
- arguments: tuple[syside.experimental.expressions.ExpressionTemplate, ...] | syside.experimental.expressions.FunctionReferenceTemplate = None
- function: syside.Type = None
- named_arguments: tuple[tuple[syside.Feature, syside.experimental.expressions.ExpressionTemplate], ...] = None
- source: syside.experimental.expressions.ExpressionTemplate = None
Methods
Used by