visitReadKeyExpr method

  1. @override
void visitReadKeyExpr(
  1. ReadKeyExpr ast,
  2. EmitterVisitorContext context
)
override

Implementation

@override
void visitReadKeyExpr(o.ReadKeyExpr ast, EmitterVisitorContext context) {
  ast.receiver.visitExpression(this, context);
  context.print('[');
  ast.index.visitExpression(this, context);
  context.print(']');
}