org.codehaus.groovy.classgen
Class BlockScope
java.lang.Object
org.codehaus.groovy.classgen.BlockScope
- public class BlockScope
- extends Object
A helper class to help maintain a stack of scopes for labels etc
- Version:
- $Revision: 1.4 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BlockScope
public BlockScope(BlockScope parent)
getContinueLabel
public org.objectweb.asm.Label getContinueLabel()
setContinueLabel
public void setContinueLabel(org.objectweb.asm.Label continueLabel)
getBreakLabel
public org.objectweb.asm.Label getBreakLabel()
setBreakLabel
public void setBreakLabel(org.objectweb.asm.Label breakLabel)
getParent
public BlockScope getParent()
getFirstVariableIndex
public int getFirstVariableIndex()
setFirstVariableIndex
public void setFirstVariableIndex(int firstVariableIndex)
setLastVariableIndex
public void setLastVariableIndex(int firstVariableIndex)
- Deprecated.
- Parameters:
firstVariableIndex
-
getLastVariableIndex
public int getLastVariableIndex()
Copyright © 2003-2005 The Codehaus. All Rights Reserved.