return new WriteClassVariableNode(context, sourceSection, node.getName(), receiver, rhs);
}
@Override
public RubyNode visitClassVarNode(org.jruby.ast.ClassVarNode node) {
final SourceSection sourceSection = translate(node.getPosition());
final RubyNode receiver;
if (useClassVariablesAsIfInClass) {
receiver = BoxingNodeFactory.create(context, sourceSection, new SelfNode(context, sourceSection));
} else {
receiver = new ClassNode(context, sourceSection, BoxingNodeFactory.create(context, sourceSection, new SelfNode(context, sourceSection)));