Package kawa.lang

Class Translator.FormStack

    • Method Detail

      • getHead

        public Pair getHead()
        Return the "head" of the list. The cdr of the head is the first element.
      • getFirst

        public Object getFirst()
      • lastPair

        public Pair lastPair()
        The Pair whose car is the last form in the list. If the list is empty, this returns the list head.
        Overrides:
        lastPair in class Pair
      • popTail

        public Object popTail​(Pair oldTail)
      • push

        public void push​(Object value)
      • pushAll

        public void pushAll​(LList values)
      • pushAll

        public void pushAll​(LList values,
                            Pair valuesLast)
      • pushAfter

        public void pushAfter​(Object value,
                              Pair position)