Skip to content

Class: TypeCast

Represents an explicit type casting or annotation expression.

Constructors

Constructor

new TypeCast(expression, body, loc?): TypeCast

Parameters

ParameterType
expressionExpression
bodyType
loc?SourceLocation

Returns

TypeCast

Overrides

ASTNode.constructor