visitInvokeMemberMethodExpr method

  1. @override
void visitInvokeMemberMethodExpr(
  1. InvokeMemberMethodExpr expr,
  2. EmitterVisitorContext context
)
override

Implementation

@override
void visitInvokeMemberMethodExpr(
    o.InvokeMemberMethodExpr expr, EmitterVisitorContext context) {
  context.print('this.${expr.methodName}(');
  visitAllExpressions(expr.args, context, ',');
  visitAllNamedExpressions(
    expr.namedArgs,
    context,
    ',',
    alwaysAddSeperator: expr.args.isNotEmpty,
  );
  context.print(')');
}