1 package net.sf.saxon.expr; 2 3 import net.sf.saxon.instruct.SlotManager; 4 import net.sf.saxon.om.ValueRepresentation; 5 6 10 11 public class StackFrame { 12 protected SlotManager map; 13 protected ValueRepresentation[] slots; 14 15 public StackFrame (SlotManager map, ValueRepresentation[] slots) { 16 this.map = map; 17 this.slots = slots; 18 } 19 20 public SlotManager getStackFrameMap() { 21 return map; 22 } 23 24 public ValueRepresentation[] getStackFrameValues() { 25 return slots; 26 } 27 28 public static final StackFrame EMPTY = new StackFrame(null, ValueRepresentation.EMPTY_VALUE_ARRAY); 29 } 30 31 | Popular Tags |