public class InstanceOf extends Procedure2 implements Inlineable
Modifier and Type | Field and Description |
---|---|
protected Language |
language |
applyToObject
applyMethodType, applyToConsumerDefault, applyToConsumerMethod, applyToObjectDefault, applyToObjectMethod, compilerKey, compilerXKey, inlineIfConstantSymbol, validateApplyKey, validateXApplyKey
nameKey
Constructor and Description |
---|
InstanceOf(Language language) |
InstanceOf(Language language,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
apply2(java.lang.Object arg1,
java.lang.Object arg2) |
void |
compile(ApplyExp exp,
Compilation comp,
Target target) |
static void |
emitIsInstance(TypeValue type,
Variable incoming,
Compilation comp,
Target target) |
Type |
getReturnType(Expression[] args)
Semi-deprecated - instead should be set at Inline time.
|
apply0, apply1, apply3, apply4, applyN, applyToObject, numArgs
applyL, applyToConsumerDefault, applyToObjectDefault, checkArgCount, checkBadCode, getApplyMethod, getApplyToConsumerMethod, getApplyToObjectMethod, getSetter, getSourceLocation, isSideEffectFree, lookupApplyHandle, maxArgs, maxArgs, minArgs, minArgs, set0, set1, setN, setSetter, setSourceLocation, toString
getName, getProperty, getSymbol, removeProperty, setName, setProperty, setProperty, setSymbol
protected Language language
public InstanceOf(Language language)
public InstanceOf(Language language, java.lang.String name)
public java.lang.Object apply2(java.lang.Object arg1, java.lang.Object arg2)
apply2
in class Procedure2
public void compile(ApplyExp exp, Compilation comp, Target target)
compile
in interface Inlineable
public Type getReturnType(Expression[] args)
Procedure
getReturnType
in class Procedure
public static void emitIsInstance(TypeValue type, Variable incoming, Compilation comp, Target target)