Example #1
0
 private void classVarNode(ClassVarNode node) {
   sb.append(" ").append(node.getName());
 }
Example #2
0
 @Override
 public RubyNode visitClassVarNode(org.jruby.ast.ClassVarNode node) {
   final SourceSection sourceSection = translate(node.getPosition());
   return new ReadClassVariableNode(
       context, sourceSection, node.getName(), new SelfNode(context, sourceSection));
 }