InvocationTemplate
- class InvocationTemplate
Description
A function invocation: the template form of
f(a, b)orf(x=a, y=b).functionis the invoked type (a calculation definition, say), and the arguments are positional or named – one or the other, as in the textual syntax. A named argument pairs the function’s input parameter, aFeature, with its value;call()resolves the keyword names to those parameters. Equality and hashing use theelement_idof the function and of each parameter, for the reasonReferenceTemplategives, and compare the argument templates structurally.Inheritance:
Members defined in
InvocationTemplate(4 members)RWRWRWHash the function’s identity with the arguments.
Members inherited from
ExpressionTemplate(13 members)Attributes
- arguments: tuple[syside.experimental.expressions.ExpressionTemplate, ...] = None
- function: syside.Type = None
- named_arguments: tuple[tuple[syside.Feature, syside.experimental.expressions.ExpressionTemplate], ...] = None
Methods
Used by