コード例 #1
0
ファイル: SexpMaker.java プロジェクト: xb/jruby
 private void classVarNode(ClassVarNode node) {
   sb.append(" ").append(node.getName());
 }
コード例 #2
0
ファイル: ModuleTranslator.java プロジェクト: byteit101/jruby
 @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));
 }