visitMappingExpr method

  1. @override
void visitMappingExpr(
  1. Mapping expr
)
override

Implementation

@override
void visitMappingExpr(Expr.Mapping expr) {
  resolveExpr(expr.callee);
  if (expr.lambda is Stmt.Functional) {
    resolveFunction(expr.lambda as Stmt.Functional, FunctionType.FUNCTION);
  } else {
    resolveExpr(expr.lambda);
  }
  return;
}