org.apache.xalan.xsltc.compiler.util
Class SlotAllocator

java.lang.Object
  extended by org.apache.xalan.xsltc.compiler.util.SlotAllocator

final class SlotAllocator
extends java.lang.Object


Field Summary
private  int _firstAvailableSlot
           
private  int _free
           
private  int _size
           
private  int[] _slotsTaken
           
 
Constructor Summary
SlotAllocator()
           
 
Method Summary
 int allocateSlot(Type type)
           
 void initialize(LocalVariableGen[] vars)
           
 void releaseSlot(LocalVariableGen lvg)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_firstAvailableSlot

private int _firstAvailableSlot

_size

private int _size

_free

private int _free

_slotsTaken

private int[] _slotsTaken
Constructor Detail

SlotAllocator

SlotAllocator()
Method Detail

initialize

public void initialize(LocalVariableGen[] vars)

allocateSlot

public int allocateSlot(Type type)

releaseSlot

public void releaseSlot(LocalVariableGen lvg)