newDefinition function

Eval_Definition newDefinition(
  1. Expr_Path path,
  2. String ident,
  3. Value value
)

Implementation

Eval_Definition newDefinition(Expr_Path path, String ident, Value value) =>
    Eval_Definition(
      ident: ident,
      body: Expr(
        path: path,
        kind: Expr_Kind.JSON,
        value: value,
        json: Json(json: value),
      ),
    );