Package | Description |
---|---|
org.jruby.compiler | |
org.jruby.compiler.impl |
Modifier and Type | Method and Description |
---|---|
void |
BodyCompiler.hasBlock(BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BodyCompiler.isCaptured(int number,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BodyCompiler.isClassVarDefined(String name,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BodyCompiler.isConstantBranch(BranchCallback setup,
String name) |
void |
BodyCompiler.isGlobalDefined(String name,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BodyCompiler.isInstanceOf(Class clazz,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BodyCompiler.isMethodBound(String name,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BodyCompiler.isNil(BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BodyCompiler.isNull(BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BodyCompiler.performBooleanBranch(BranchCallback trueBranch,
BranchCallback falseBranch)
Perform a boolean branch operation based on the Ruby "true" value of the top value
on the stack.
|
void |
BodyCompiler.performBooleanBranch2(BranchCallback trueBranch,
BranchCallback falseBranch)
Perform a boolean branch operation based on the boolean top value
on the stack.
|
void |
BodyCompiler.performBooleanConstantBranch(String globalName,
BranchCallback trueBranch,
BranchCallback falseBranch)
Perform a boolean branch operation based on the boolean constant value
on the stack.
|
void |
BodyCompiler.performBooleanGlobalBranch(String globalName,
BranchCallback trueBranch,
BranchCallback falseBranch)
Perform a boolean branch operation based on the boolean global value
on the stack.
|
void |
BodyCompiler.performBooleanLoop(BranchCallback condition,
BranchCallback body,
boolean checkFirst)
Perform a boolean loop using the given condition-calculating branch and body branch.
|
void |
BodyCompiler.performBooleanLoopLight(BranchCallback condition,
BranchCallback body,
boolean checkFirst)
Perform a boolean loop using the given condition-calculating branch and body branch.
|
void |
BodyCompiler.performBooleanLoopSafe(BranchCallback condition,
BranchCallback body,
boolean checkFirst)
Perform a boolean loop using the given condition-calculating branch and body branch.
|
void |
BodyCompiler.performEnsure(BranchCallback regularCode,
BranchCallback ensuredCode) |
void |
BodyCompiler.performLogicalAnd(BranchCallback longBranch)
Perform a logical short-circuited Ruby "and" operation, using Ruby notions of true and false.
|
void |
BodyCompiler.performLogicalOr(BranchCallback longBranch)
Perform a logical short-circuited Ruby "or" operation, using Ruby notions of true and false.
|
void |
BodyCompiler.performRescue(BranchCallback regularCode,
BranchCallback rubyCatchCode,
BranchCallback rubyElseCode,
boolean needsRetry) |
void |
BodyCompiler.performRescueLight(BranchCallback regularCode,
BranchCallback rubyCatchCode,
BranchCallback rubyElseCode,
boolean needsRetry) |
void |
BodyCompiler.protect(BranchCallback regularCode,
BranchCallback protectedCode,
Class ret)
Makes sure that the code in protectedCode will always run after regularCode.
|
void |
BodyCompiler.rescue(BranchCallback regularCode,
Class exception,
BranchCallback protectedCode,
Class ret) |
void |
BodyCompiler.typeCheckBranch(Class type,
BranchCallback trueCallback,
BranchCallback falseCallback) |
Modifier and Type | Method and Description |
---|---|
void |
BaseBodyCompiler.hasBlock(BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.isCaptured(int number,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.isClassVarDefined(String name,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.isConstantBranch(BranchCallback setup,
String name) |
void |
BaseBodyCompiler.isGlobalDefined(String name,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.isInstanceOf(Class clazz,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.isMethodBound(String name,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.isNil(BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.isNull(BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.performBooleanBranch(BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.performBooleanBranch2(BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.performBooleanConstantBranch(String globalName,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.performBooleanGlobalBranch(String globalName,
BranchCallback trueBranch,
BranchCallback falseBranch) |
void |
BaseBodyCompiler.performBooleanLoop(BranchCallback condition,
BranchCallback body,
boolean checkFirst) |
void |
BaseBodyCompiler.performBooleanLoopLight(BranchCallback condition,
BranchCallback body,
boolean checkFirst) |
void |
BaseBodyCompiler.performBooleanLoopSafe(BranchCallback condition,
BranchCallback body,
boolean checkFirst) |
void |
BaseBodyCompiler.performEnsure(BranchCallback regularCode,
BranchCallback protectedCode) |
void |
BaseBodyCompiler.performLogicalAnd(BranchCallback longBranch) |
void |
BaseBodyCompiler.performLogicalOr(BranchCallback longBranch) |
void |
BaseBodyCompiler.performRescue(BranchCallback regularCode,
BranchCallback rubyCatchCode,
BranchCallback rubyElseCode,
boolean needsRetry) |
void |
BaseBodyCompiler.performRescueInternal(BranchCallback regularCode,
BranchCallback rubyCatchCode,
BranchCallback rubyElseCode,
boolean needsRetry,
boolean light) |
void |
BaseBodyCompiler.performRescueLight(BranchCallback regularCode,
BranchCallback rubyCatchCode,
BranchCallback rubyElseCode,
boolean needsRetry) |
void |
BaseBodyCompiler.protect(BranchCallback regularCode,
BranchCallback protectedCode,
Class ret) |
void |
BaseBodyCompiler.rescue(BranchCallback regularCode,
Class exception,
BranchCallback catchCode,
Class ret) |
void |
BaseBodyCompiler.typeCheckBranch(Class type,
BranchCallback trueCallback,
BranchCallback falseCallback) |
Copyright © 2001-2014 JRuby. All Rights Reserved.