Class MakeSplice

  • All Implemented Interfaces:
    Named

    public class MakeSplice
    extends Procedure1
    A pseudo-function whose argument is splice into an outer argument list. Represented by ($splice$ arg). If arg is the list or array [a b c] then (fun x ($splice$ arg) y) is (fun x a b c y). Processed at compile-time only.
    • Field Detail

      • instance

        public static final MakeSplice instance
      • keywordsAllowedInstance

        public static final MakeSplice keywordsAllowedInstance
      • quoteInstance

        public static final QuoteExp quoteInstance
      • quoteKeywordsAllowedInstance

        public static final QuoteExp quoteKeywordsAllowedInstance
    • Method Detail

      • getKeywordsAllowed

        public boolean getKeywordsAllowed()
      • apply1

        public java.lang.Object apply1​(java.lang.Object arg1)
                                throws java.lang.Throwable
        Specified by:
        apply1 in class Procedure1
        Throws:
        java.lang.Throwable
      • count

        public static int count​(java.lang.Object values)
      • copyTo

        public static void copyTo​(java.lang.Object[] target,
                                  int start,
                                  int size,
                                  java.lang.Object values)
      • copyTo

        public static void copyTo​(java.lang.Object target,
                                  int start,
                                  int size,
                                  java.lang.Object values,
                                  Type elementType)
      • addAll

        public static void addAll​(java.util.ArrayList<java.lang.Object> list,
                                  java.lang.Object values)
        Helper method called by compiled code.