public interface InvocationCompiler
| Modifier and Type | Method and Description |
|---|---|
void |
invokeArrayDeref(java.lang.String file,
java.lang.String scopeFieldName,
CallBase call)
Invoke the array dereferencing method ([]) on an object other than self.
|
void |
invokeClassSuper(java.lang.String file,
java.lang.String name,
int arity,
boolean hasClosure,
boolean literalClosure,
boolean[] splatmap)
Invoke a superclass method from a class context.
|
void |
invokeEQQ(EQQInstr call)
Perform a === call appropriate for a case/when statement.
|
void |
invokeInstanceSuper(java.lang.String file,
java.lang.String name,
int arity,
boolean hasClosure,
boolean literalClosure,
boolean[] splatmap)
Invoke a superclass method from an instance context.
|
void |
invokeOther(java.lang.String file,
java.lang.String scopeFieldName,
CallBase call,
int arity)
Invoke a method on an object other than self.
|
void |
invokeOtherOneFixnum(java.lang.String file,
CallBase call,
long fixnum)
Invoke a fixnum-receiving method on an object other than self.
|
void |
invokeOtherOneFloat(java.lang.String file,
CallBase call,
double flote)
Invoke a float-receiving method on an object other than self.
|
void |
invokeSelf(java.lang.String file,
java.lang.String scopeFieldName,
CallBase call,
int arity)
Invoke a method on self.
|
void |
invokeUnresolvedSuper(java.lang.String file,
java.lang.String name,
int arity,
boolean hasClosure,
boolean literalClosure,
boolean[] splatmap)
Invoke a superclass method from an unresolved context.
|
void |
invokeZSuper(java.lang.String file,
java.lang.String name,
int arity,
boolean hasClosure,
boolean[] splatmap)
Invoke a superclass method from a zsuper in a block.
|
void invokeOther(java.lang.String file,
java.lang.String scopeFieldName,
CallBase call,
int arity)
Stack required: context, self, all arguments, optional block
call - the call to be invokedvoid invokeArrayDeref(java.lang.String file,
java.lang.String scopeFieldName,
CallBase call)
If this invokes against a Hash with a frozen string, it will follow an optimized path.
Stack required: context, self, target, arg0
file - void invokeOtherOneFixnum(java.lang.String file,
CallBase call,
long fixnum)
Stack required: context, self, receiver (fixnum will be handled separately)
void invokeOtherOneFloat(java.lang.String file,
CallBase call,
double flote)
Stack required: context, self, receiver (float will be handled separately)
void invokeSelf(java.lang.String file,
java.lang.String scopeFieldName,
CallBase call,
int arity)
file - the filename of the script making this callcall - to be invoked on selfarity - of the call.void invokeInstanceSuper(java.lang.String file,
java.lang.String name,
int arity,
boolean hasClosure,
boolean literalClosure,
boolean[] splatmap)
file - the filename of the script making this callname - name of the method to invokearity - arity of the arguments on the stackhasClosure - whether a block is passedliteralClosure - whether the block passed is a literal closuresplatmap - a map of arguments to be splatted back into arg listvoid invokeClassSuper(java.lang.String file,
java.lang.String name,
int arity,
boolean hasClosure,
boolean literalClosure,
boolean[] splatmap)
file - the filename of the script making this callname - name of the method to invokearity - arity of the arguments on the stackhasClosure - whether a block is passedliteralClosure - whether the block passed is a literal closuresplatmap - a map of arguments to be splatted back into arg listvoid invokeUnresolvedSuper(java.lang.String file,
java.lang.String name,
int arity,
boolean hasClosure,
boolean literalClosure,
boolean[] splatmap)
file - the filename of the script making this callname - name of the method to invokearity - arity of the arguments on the stackhasClosure - whether a block is passedliteralClosure - whether the block passed is a literal closuresplatmap - a map of arguments to be splatted back into arg listvoid invokeZSuper(java.lang.String file,
java.lang.String name,
int arity,
boolean hasClosure,
boolean[] splatmap)
file - the filename of the script making this callname - name of the method to invokearity - arity of the arguments on the stackhasClosure - whether a block is passedsplatmap - a map of arguments to be splatted back into arg listvoid invokeEQQ(EQQInstr call)
Copyright © 2001-2022 JRuby. All Rights Reserved.