org.jruby.ast.visitor.rewriter.utils
Class BooleanStateStack

java.lang.Object
  extended byorg.jruby.ast.visitor.rewriter.utils.BooleanStateStack

public class BooleanStateStack
extends java.lang.Object


Constructor Summary
BooleanStateStack(boolean b, boolean defaultValue)
           
 
Method Summary
 boolean isTrue()
           
 void revert()
           
 void set(boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BooleanStateStack

public BooleanStateStack(boolean b,
                         boolean defaultValue)
Method Detail

set

public void set(boolean b)

revert

public void revert()

isTrue

public boolean isTrue()


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