visitExpression<R, C> method

  1. @override
R visitExpression<R, C>(
  1. ExpressionVisitor<R, C> visitor,
  2. C context
)
override

Implementation

@override
R visitExpression<R, C>(o.ExpressionVisitor<R, C> visitor, C context) {
  return node._visibility == NodeReferenceVisibility.classPublic
      ? o.ReadClassMemberExpr(name!, type).visitExpression(visitor, context)
      : visitor.visitReadVarExpr(this, context);
}