TypeCast constructor
- PrimitiveType type,
- Node<
dynamic, LangVal< childLangType> >
Constructs a type cast operation with target type and source expression.
Parameters:
type
: The target primitive type to cast tochild
: The expression whose value will be cast
Implementation
TypeCast(PrimitiveType type, Node<dynamic, LangVal> child)
: super(type, [child]);