org.codehaus.groovy.classgen
Class BlockScope

java.lang.Object
  extended by 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

Constructor Summary
BlockScope(BlockScope parent)
           
 
Method Summary
 org.objectweb.asm.Label getBreakLabel()
           
 org.objectweb.asm.Label getContinueLabel()
           
 int getFirstVariableIndex()
           
 int getLastVariableIndex()
           
 BlockScope getParent()
           
 void setBreakLabel(org.objectweb.asm.Label breakLabel)
           
 void setContinueLabel(org.objectweb.asm.Label continueLabel)
           
 void setFirstVariableIndex(int firstVariableIndex)
           
 void setLastVariableIndex(int firstVariableIndex)
          Deprecated.  
 
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()

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-2010 The Codehaus. All Rights Reserved.