Package gnu.kawa.xml

Class Attributes

All Implemented Interfaces:
Named

public class Attributes extends MethodProc
  • Field Details

    • attributes

      public static final Attributes attributes
  • Method Details

    • numArgs

      public int numArgs()
      Description copied from class: Procedure
      Return minArgs()|(maxArgs<<12). We use a single virtual function to reduce the number of methods in the system, as well as the number of virtual method table entries. We shift by 12 so the number can normally be represented using a sipush instruction, without requiring a constant pool entry.
      Overrides:
      numArgs in class Procedure
    • attributes

      public static void attributes(TreeList tlist, int index, Consumer consumer)
    • attributes

      public static void attributes(Object node, Consumer consumer)
    • applyToConsumer

      public static Object applyToConsumer(Procedure proc, CallContext ctx) throws Throwable
      Throws:
      Throwable