1 28 package org.jruby.compiler; 29 30 import org.jruby.ast.BignumNode; 31 import org.jruby.ast.Node; 32 33 36 public class BignumNodeCompiler implements NodeCompiler { 37 public BignumNodeCompiler() {} 38 39 public void compile(Node node, Compiler context) { 40 context.lineNumber(node.getPosition()); 41 context.createNewBignum(((BignumNode)node).getValue()); 42 } 43 } | Popular Tags |