Methods in org.jruby.compiler with parameters of type ClosureCallback |
java.lang.Object |
Compiler.beginMethod(java.lang.String friendlyName,
ClosureCallback argsHandler)
Begin compilation for a method that has the specified number of local variables. |
void |
Compiler.createNewClosure(StaticScope scope,
int arity,
ClosureCallback body,
ClosureCallback args)
Create a new closure (block) using the given lexical scope information, call arity, and
body generated by the body callback. |
void |
Compiler.defineClass(java.lang.String name,
StaticScope staticScope,
ClosureCallback superCallback,
ClosureCallback pathCallback,
ClosureCallback bodyCallback)
|
void |
Compiler.defineModule(java.lang.String name,
StaticScope staticScope,
ClosureCallback pathCallback,
ClosureCallback bodyCallback)
|
void |
Compiler.defineNewMethod(java.lang.String name,
StaticScope scope,
ClosureCallback body,
ClosureCallback args)
Define a new method with the given name, arity, local variable count, and body callback. |
void |
Compiler.invokeDynamic(java.lang.String name,
boolean hasReceiver,
boolean hasArgs,
CallType callType,
ClosureCallback closureArg,
boolean attrAssign)
Invoke the named method as a "function", i.e. |
Methods in org.jruby.compiler.impl with parameters of type ClosureCallback |
java.lang.Object |
StandardASMCompiler.beginMethod(java.lang.String friendlyName,
ClosureCallback args)
|
void |
StandardASMCompiler.createNewClosure(StaticScope scope,
int arity,
ClosureCallback body,
ClosureCallback args)
|
void |
StandardASMCompiler.defineClass(java.lang.String name,
StaticScope staticScope,
ClosureCallback superCallback,
ClosureCallback pathCallback,
ClosureCallback bodyCallback)
|
void |
StandardASMCompiler.defineModule(java.lang.String name,
StaticScope staticScope,
ClosureCallback pathCallback,
ClosureCallback bodyCallback)
|
void |
StandardASMCompiler.defineNewMethod(java.lang.String name,
StaticScope scope,
ClosureCallback body,
ClosureCallback args)
|
void |
StandardASMCompiler.invokeDynamic(java.lang.String name,
boolean hasReceiver,
boolean hasArgs,
CallType callType,
ClosureCallback closureArg,
boolean attrAssign)
|