Package gnu.kawa.functions
Class MakeSplice
java.lang.Object
gnu.mapping.PropertySet
gnu.mapping.Procedure
gnu.mapping.Procedure1
gnu.kawa.functions.MakeSplice
- All Implemented Interfaces:
Named
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final MakeSplice
static final MakeSplice
static final QuoteExp
static final QuoteExp
Fields inherited from class gnu.mapping.Procedure1
applyToObject
Fields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
Fields inherited from class gnu.mapping.PropertySet
nameKey
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Helper method called by compiled code.static Expression
argIfSplice
(Expression exp) static void
static void
static int
boolean
Methods inherited from class gnu.mapping.Procedure1
apply0, apply2, apply3, apply4, applyN, applyToObject, numArgs
Methods inherited from class gnu.mapping.Procedure
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getReturnType, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
Methods inherited from class gnu.mapping.PropertySet
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
-
Field Details
-
instance
-
keywordsAllowedInstance
-
quoteInstance
-
quoteKeywordsAllowedInstance
-
-
Method Details
-
getKeywordsAllowed
public boolean getKeywordsAllowed() -
argIfSplice
-
apply1
- Specified by:
apply1
in classProcedure1
- Throws:
Throwable
-
count
-
copyTo
-
copyTo
-
addAll
Helper method called by compiled code.
-