Uses of Class
org.jruby.ast.FloatNode

Packages that use FloatNode
org.jruby.ast.visitor   
org.jruby.compiler.ir   
org.jruby.parser   
 

Uses of FloatNode in org.jruby.ast.visitor
 

Methods in org.jruby.ast.visitor with parameters of type FloatNode
 java.lang.Object NodeVisitor.visitFloatNode(FloatNode iVisited)
           
 

Uses of FloatNode in org.jruby.compiler.ir
 

Methods in org.jruby.compiler.ir with parameters of type FloatNode
 Operand IRBuilder.buildFloat(FloatNode node, IRScope m)
          public Operand buildFlip(Node node, IRScope m) { final FlipNode flipNode = (FlipNode) node; m.getVariableCompiler().retrieveLocalVariable(flipNode.getIndex(), flipNode.getDepth()); if (flipNode.isExclusive()) { m.performBooleanBranch(new BranchCallback() { public void branch(IRScope m) { build(flipNode.getEndNode(), m,true); m.performBooleanBranch(new BranchCallback() { public void branch(IRScope m) { m.loadFalse(); m.getVariableCompiler().assignLocalVariable(flipNode.getIndex(), flipNode.getDepth(), false); } }, new BranchCallback() { public void branch(IRScope m) { } }); m.loadTrue(); } }, new BranchCallback() { public void branch(IRScope m) { build(flipNode.getBeginNode(), m,true); becomeTrueOrFalse(m); m.getVariableCompiler().assignLocalVariable(flipNode.getIndex(), flipNode.getDepth(), true); } }); } else { m.performBooleanBranch(new BranchCallback() { public void branch(IRScope m) { build(flipNode.getEndNode(), m,true); m.performBooleanBranch(new BranchCallback() { public void branch(IRScope m) { m.loadFalse(); m.getVariableCompiler().assignLocalVariable(flipNode.getIndex(), flipNode.getDepth(), false); } }, new BranchCallback() { public void branch(IRScope m) { } }); m.loadTrue(); } }, new BranchCallback() { public void branch(IRScope m) { build(flipNode.getBeginNode(), m,true); m.performBooleanBranch(new BranchCallback() { public void branch(IRScope m) { build(flipNode.getEndNode(), m,true); flipTrueOrFalse(m); m.getVariableCompiler().assignLocalVariable(flipNode.getIndex(), flipNode.getDepth(), false); m.loadTrue(); } }, new BranchCallback() { public void branch(IRScope m) { m.loadFalse(); } }); } }); } // TODO: don't require pop if (!expr) m.consumeCurrentValue(); } private void becomeTrueOrFalse(IRScope m) { m.performBooleanBranch(new BranchCallback() { public void branch(IRScope m) { m.loadTrue(); } }, new BranchCallback() { public void branch(IRScope m) { m.loadFalse(); } }); } private void flipTrueOrFalse(IRScope m) { m.performBooleanBranch(new BranchCallback() { public void branch(IRScope m) { m.loadFalse(); } }, new BranchCallback() { public void branch(IRScope m) { m.loadTrue(); } }); }
 

Uses of FloatNode in org.jruby.parser
 

Methods in org.jruby.parser that return FloatNode
 FloatNode ParserSupport.negateFloat(FloatNode floatNode)
           
 

Methods in org.jruby.parser with parameters of type FloatNode
 FloatNode ParserSupport.negateFloat(FloatNode floatNode)
           
 



Copyright © 2002-2009 JRuby Team. All Rights Reserved.