org.codehaus.groovy.classgen
Class BlockScope
java.lang.Object
org.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.4 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
breakLabel
private org.objectweb.asm.Label breakLabel
continueLabel
private org.objectweb.asm.Label continueLabel
parent
private BlockScope parent
firstVariableIndex
private int firstVariableIndex
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.