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 MakeSplicestatic final MakeSplicestatic final QuoteExpstatic final QuoteExpFields inherited from class gnu.mapping.Procedure1
applyToObjectFields inherited from class gnu.mapping.Procedure
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKeyFields inherited from class gnu.mapping.PropertySet
nameKey -
Method Summary
Modifier and TypeMethodDescriptionstatic voidHelper method called by compiled code.static ExpressionargIfSplice(Expression exp) static voidstatic voidstatic intbooleanMethods inherited from class gnu.mapping.Procedure1
apply0, apply2, apply3, apply4, applyN, applyToObject, numArgsMethods 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, toStringMethods 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:
apply1in classProcedure1- Throws:
Throwable
-
count
-
copyTo
-
copyTo
-
addAll
Helper method called by compiled code.
-