parameterValue method

AstNode parameterValue()

Implementation

AstNode parameterValue() {
  if (match([TokenType.leftParen])) {
    return anonymousFunction();
  }
  if (match([TokenType.flutterParam])) {
    return flutterParameter();
  }
  return expression();
}