FuncExpr.anonymous constructor

FuncExpr.anonymous(
  1. Token token, {
  2. required List<Stmt> body,
  3. required List<DeclArg> args,
})

Construct a function without an id.

Implementation

FuncExpr.anonymous(this.token, {required this.body, required this.args})
  : idParts = [],
    local = false;