Class XSLVariableDeclaration

    • Field Detail

      • references

        protected java.util.List references
    • Constructor Detail

      • XSLVariableDeclaration

        public XSLVariableDeclaration()
    • Method Detail

      • getSlotManager

        public SlotManager getSlotManager()
        Get the SlotManager associated with this stylesheet construct. The SlotManager contains the information needed to manage the local stack frames used by run-time instances of the code.
        Specified by:
        getSlotManager in interface StylesheetProcedure
        Returns:
        the associated SlotManager object
      • getSlotNumber

        public int getSlotNumber()
      • setSlotNumber

        public void setSlotNumber​(int slot)
      • getRequiredType

        public abstract SequenceType getRequiredType()
        Get the static type of the variable.
      • getReferences

        public java.util.List getReferences()
        Get the list of references to this variable or parameter. The items in the list are of class BindingReference.
      • isInstruction

        public boolean isInstruction()
        Determine whether this node is an instruction.
        Overrides:
        isInstruction in class StyleElement
        Returns:
        true - it is an instruction (well, it can be, anyway)
      • getReferenceList

        public java.util.List getReferenceList()
        Get the list of references
      • fixupBinding

        protected void fixupBinding​(Binding binding)
        Notify all variable references of the Binding instruction
      • setReferenceCount

        protected void setReferenceCount​(GeneralVariable var)
        Set the number of references to this variable. This code is invoked only for a global variable, and only if there is at least one reference.
        Overrides:
        setReferenceCount in class XSLGeneralVariable
        Parameters:
        var -