|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ASTInspector | |
---|---|
org.jruby | |
org.jruby.compiler | |
org.jruby.compiler.impl | |
org.jruby.javasupport.util |
Uses of ASTInspector in org.jruby |
---|
Methods in org.jruby with parameters of type ASTInspector | |
---|---|
Script |
Ruby.tryCompile(Node node,
ASTInspector inspector)
Try to compile the code associated with the given Node, returning an instance of the successfully-compiled Script or null if the script could not be compiled. |
Uses of ASTInspector in org.jruby.compiler |
---|
Methods in org.jruby.compiler that return ASTInspector | |
---|---|
ASTInspector |
ASTInspector.subInspect(Node... nodes)
Perform an inspection of a subtree or set of subtrees separate from the parent inspection, to make independent decisions based on that subtree(s). |
Methods in org.jruby.compiler with parameters of type ASTInspector | |
---|---|
void |
CacheCompiler.cacheClosure(BaseBodyCompiler method,
java.lang.String closureMethod,
int arity,
StaticScope scope,
java.lang.String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
|
void |
CacheCompiler.cacheClosure19(BaseBodyCompiler method,
java.lang.String closureMethod,
int arity,
StaticScope scope,
java.lang.String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
java.lang.String parameterList,
ASTInspector inspector)
|
void |
ASTCompiler.compileRoot(Node node,
ScriptCompiler context,
ASTInspector inspector)
|
void |
ASTCompiler.compileRoot(Node node,
ScriptCompiler context,
ASTInspector inspector,
boolean load,
boolean main)
|
void |
BodyCompiler.createNewClosure(java.lang.String file,
int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
Create a new closure (block) using the given lexical scope information, call arity, and body generated by the body callback. |
void |
BodyCompiler.createNewClosure19(java.lang.String file,
int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
java.lang.String parameterList,
ASTInspector inspector)
Create a new closure (block) using the given lexical scope information, call arity, and body generated by the body callback. |
void |
BodyCompiler.createNewForLoop(int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
Create a new closure (block) for a for loop with the given call arity and body generated by the body callback. |
void |
BodyCompiler.defineClass(java.lang.String name,
StaticScope staticScope,
CompilerCallback superCallback,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
CompilerCallback receiverCallback,
ASTInspector inspector)
|
void |
BodyCompiler.defineModule(java.lang.String name,
StaticScope staticScope,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
ASTInspector inspector)
|
void |
BodyCompiler.defineNewMethod(java.lang.String name,
int methodArity,
StaticScope scope,
CompilerCallback body,
CompilerCallback args,
CompilerCallback receiver,
ASTInspector inspector,
boolean root,
java.lang.String filename,
int line,
java.lang.String parameterDesc)
Define a new method with the given name, arity, local variable count, and body callback. |
void |
ASTInspector.integrate(ASTInspector other)
Integrate the results of a separate inspection into the state of this inspector. |
BodyCompiler |
ScriptCompiler.startFileMethod(CompilerCallback args,
StaticScope scope,
ASTInspector inspector)
Begin compilation for the root of a script named __file__. |
BodyCompiler |
ScriptCompiler.startMethod(java.lang.String rubyName,
java.lang.String javaName,
CompilerCallback argsHandler,
StaticScope scope,
ASTInspector inspector)
Begin compilation for a method that has the specified number of local variables. |
BodyCompiler |
ScriptCompiler.startRoot(java.lang.String rubyName,
java.lang.String javaName,
StaticScope scope,
ASTInspector inspector)
Begin compilation for a the root of a script. |
Uses of ASTInspector in org.jruby.compiler.impl |
---|
Fields in org.jruby.compiler.impl declared as ASTInspector | |
---|---|
protected ASTInspector |
BaseBodyCompiler.inspector
|
Methods in org.jruby.compiler.impl with parameters of type ASTInspector | |
---|---|
void |
InheritedCacheCompiler.cacheClosure(BaseBodyCompiler method,
java.lang.String closureMethod,
int arity,
StaticScope scope,
java.lang.String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
|
void |
InheritedCacheCompiler.cacheClosure19(BaseBodyCompiler method,
java.lang.String closureMethod,
int arity,
StaticScope scope,
java.lang.String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
java.lang.String parameterList,
ASTInspector inspector)
|
void |
BaseBodyCompiler.createNewClosure(java.lang.String file,
int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
|
void |
BaseBodyCompiler.createNewClosure19(java.lang.String file,
int line,
StaticScope scope,
int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
java.lang.String parameterList,
ASTInspector inspector)
|
void |
BaseBodyCompiler.createNewForLoop(int arity,
CompilerCallback body,
CompilerCallback args,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
|
void |
BaseBodyCompiler.defineClass(java.lang.String name,
StaticScope staticScope,
CompilerCallback superCallback,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
CompilerCallback receiverCallback,
ASTInspector inspector)
|
void |
BaseBodyCompiler.defineModule(java.lang.String name,
StaticScope staticScope,
CompilerCallback pathCallback,
CompilerCallback bodyCallback,
ASTInspector inspector)
|
void |
BaseBodyCompiler.defineNewMethod(java.lang.String name,
int methodArity,
StaticScope scope,
CompilerCallback body,
CompilerCallback args,
CompilerCallback receiver,
ASTInspector inspector,
boolean root,
java.lang.String filename,
int line,
java.lang.String parameterDesc)
|
BodyCompiler |
StandardASMCompiler.startFileMethod(CompilerCallback args,
StaticScope scope,
ASTInspector inspector)
|
BodyCompiler |
StandardASMCompiler.startMethod(java.lang.String rubyName,
java.lang.String javaName,
CompilerCallback args,
StaticScope scope,
ASTInspector inspector)
|
BodyCompiler |
StandardASMCompiler.startRoot(java.lang.String rubyName,
java.lang.String javaName,
StaticScope scope,
ASTInspector inspector)
|
Constructors in org.jruby.compiler.impl with parameters of type ASTInspector | |
---|---|
BaseBodyCompiler(StandardASMCompiler scriptCompiler,
java.lang.String methodName,
java.lang.String rubyName,
ASTInspector inspector,
StaticScope scope)
|
|
ChainedChildBodyCompiler(StandardASMCompiler scriptCompiler,
java.lang.String methodName,
java.lang.String rubyName,
ASTInspector inspector,
StaticScope scope,
ChildScopedBodyCompiler parent)
|
|
ChainedChildBodyCompiler19(StandardASMCompiler scriptCompiler,
java.lang.String methodName,
java.lang.String rubyName,
ASTInspector inspector,
StaticScope scope,
ChildScopedBodyCompiler parent)
|
|
ChainedRootBodyCompiler(StandardASMCompiler scriptCompiler,
java.lang.String methodName,
java.lang.String rubyName,
ASTInspector inspector,
StaticScope scope,
RootScopedBodyCompiler parent)
|
|
ChildScopedBodyCompiler(StandardASMCompiler scriptCompiler,
java.lang.String closureMethodName,
java.lang.String rubyName,
ASTInspector inspector,
StaticScope scope)
|
|
ChildScopedBodyCompiler19(StandardASMCompiler scriptCompiler,
java.lang.String closureMethodName,
java.lang.String rubyName,
ASTInspector inspector,
StaticScope scope)
|
|
ClassBodyCompiler(StandardASMCompiler scriptCompiler,
java.lang.String friendlyName,
java.lang.String rubyName,
ASTInspector inspector,
StaticScope scope)
|
|
MethodBodyCompiler(StandardASMCompiler scriptCompiler,
java.lang.String rubyName,
java.lang.String javaName,
ASTInspector inspector,
StaticScope scope)
|
|
RootScopedBodyCompiler(StandardASMCompiler scriptCompiler,
java.lang.String friendlyName,
java.lang.String rubyName,
ASTInspector inspector,
StaticScope scope)
|
Uses of ASTInspector in org.jruby.javasupport.util |
---|
Methods in org.jruby.javasupport.util with parameters of type ASTInspector | |
---|---|
static java.lang.String |
RuntimeHelpers.buildBlockDescriptor(java.lang.String closureMethod,
int arity,
StaticScope scope,
java.lang.String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
ASTInspector inspector)
|
static java.lang.String |
RuntimeHelpers.buildBlockDescriptor19(java.lang.String closureMethod,
int arity,
StaticScope scope,
java.lang.String file,
int line,
boolean hasMultipleArgsHead,
NodeType argsNodeId,
java.lang.String parameterList,
ASTInspector inspector)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |