TypeOperationTemplate
- class TypeOperationTemplate
Description
An operator whose last operand is a type: the template form of
x istype T,x hastype T,x @ T,x as T,q @@ M,q meta Mandall T.operandis the first operand,Nonewhere the text has none:all Tnever has one, andistype T(likewisehastypeand@) testsself(KerML 7.4.9.2), which instantiation writes as a reference toBase::Anything::self. For@@andmetait is theMetadataAccessTemplateof the named element.typeis the type operand. Equality and hashing compare the operand structurally and the type byelement_id, for the reasonReferenceTemplategives.Inheritance:
Members defined in
TypeOperationTemplate(4 members)Members inherited from
ExpressionTemplate(13 members)Attributes
- operand: syside.experimental.expressions.ExpressionTemplate | None = None
- type: syside.Type = None
Methods
Used by