org.codehaus.groovy.classgen
Class BlockScope

java.lang.Object
  extended byorg.codehaus.groovy.classgen.BlockScope

public class BlockScope
extends java.lang.Object

A helper class to help maintain a stack of scopes for labels etc

Version:
$Revision: 1.2 $
Author:
James Strachan

Constructor Summary
BlockScope(BlockScope parent)
           
 
Method Summary
 org.objectweb.asm.Label getBreakLabel()
           
 org.objectweb.asm.Label getContinueLabel()
           
 int getLastVariableIndex()
           
 BlockScope getParent()
           
 void setContinueLabel(org.objectweb.asm.Label continueLabel)
           
 void setLastVariableIndex(int lastVariableIndex)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BlockScope

public BlockScope(BlockScope parent)
Method Detail

getContinueLabel

public org.objectweb.asm.Label getContinueLabel()

setContinueLabel

public void setContinueLabel(org.objectweb.asm.Label continueLabel)

getBreakLabel

public org.objectweb.asm.Label getBreakLabel()

getParent

public BlockScope getParent()

getLastVariableIndex

public int getLastVariableIndex()

setLastVariableIndex

public void setLastVariableIndex(int lastVariableIndex)


Copyright © 2003-2004 The Codehaus. All Rights Reserved.