yieldStatement abstract method

YieldStatement yieldStatement(
  1. Token yieldKeyword,
  2. Token? star,
  3. Expression expression,
  4. Token semicolon,
)

Returns a newly created yield expression. The star can be null if no star was provided.

Implementation

YieldStatement yieldStatement(
    Token yieldKeyword, Token? star, Expression expression, Token semicolon);