asExpression abstract method

AsExpression asExpression(
  1. Expression expression,
  2. Token asOperator,
  3. TypeAnnotation type
)

Returns a newly created as expression.

Implementation

AsExpression asExpression(
    Expression expression, Token asOperator, TypeAnnotation type);