visitStatement<R, C> method

  1. @override
R visitStatement<R, C>(
  1. StatementVisitor<R, C> visitor,
  2. C context
)
override

Implementation

@override
R visitStatement<R, C>(o.StatementVisitor<R, C> visitor, C context) {
  return node._visibility == NodeReferenceVisibility.classPublic
      ? o.WriteClassMemberExpr(name, value!)
          .toStmt()
          .visitStatement(visitor, context)
      : visitor.visitDeclareVarStmt(this, context);
}