public class IRDumper extends IRVisitor
| Constructor and Description |
|---|
IRDumper(PrintStream ps,
boolean color) |
| Modifier and Type | Method and Description |
|---|---|
void |
Array(Array array) |
void |
AsString(AsString asstring) |
void |
Bignum(Bignum bignum) |
void |
Boolean(Boolean bool) |
void |
ClosureLocalVariable(ClosureLocalVariable closurelocalvariable) |
void |
Complex(Complex complex) |
void |
CurrentScope(CurrentScope currentscope) |
void |
DynamicSymbol(DynamicSymbol dynamicsymbol) |
void |
Filename(Filename filename) |
void |
Fixnum(Fixnum fixnum) |
void |
Float(Float flote) |
void |
formatInstr(Instr instr1,
String varFormat,
String varSpaces,
String ipcFormat,
Instr instr2,
int i) |
void |
FrozenString(FrozenString frozen) |
int |
getLongestVariable(int longest,
ResultInstr i) |
void |
GlobalVariable(GlobalVariable globalvariable) |
void |
Hash(Hash hash) |
void |
IRException(IRException irexception) |
void |
Label(Label label) |
void |
LocalVariable(LocalVariable localvariable) |
void |
Nil(Nil nil) |
void |
NthRef(NthRef nthref) |
void |
NullBlock(NullBlock nullblock) |
void |
ObjectClass(ObjectClass objectclass) |
static ByteArrayOutputStream |
printIR(IRScope scope,
boolean full) |
static ByteArrayOutputStream |
printIR(IRScope scope,
boolean full,
boolean recurse) |
void |
Rational(Rational rational) |
void |
Regexp(Regexp regexp) |
void |
ScopeModule(ScopeModule scopemodule) |
void |
Self(Self self) |
void |
Splat(Splat splat) |
void |
StandardError(StandardError standarderror) |
void |
StringLiteral(StringLiteral stringliteral) |
void |
SValue(SValue svalue) |
void |
Symbol(Symbol symbol) |
void |
SymbolProc(SymbolProc symbolproc) |
void |
TemporaryBooleanVariable(TemporaryBooleanVariable temporarybooleanvariable) |
void |
TemporaryFixnumVariable(TemporaryFixnumVariable temporaryfixnumvariable) |
void |
TemporaryFloatVariable(TemporaryFloatVariable temporaryfloatvariable) |
void |
TemporaryLocalVariable(TemporaryLocalVariable temporarylocalvariable) |
void |
TemporaryVariable(TemporaryVariable temporaryvariable) |
void |
UnboxedBoolean(UnboxedBoolean bool) |
void |
UnboxedFixnum(UnboxedFixnum fixnum) |
void |
UnboxedFloat(UnboxedFloat flote) |
void |
UndefinedValue(UndefinedValue undefinedvalue) |
void |
UnexecutableNil(UnexecutableNil unexecutablenil) |
void |
visit(Instr instr) |
void |
visit(IRScope scope,
boolean full,
boolean recurse) |
void |
visit(Operand operand) |
void |
WrappedIRClosure(WrappedIRClosure wrappedirclosure) |
AliasInstr, AluInstr, ArgScopeDepthInstr, AttrAssignInstr, BacktickInstr, BEQInstr, BFalseInstr, BlockGivenInstr, BNEInstr, BNilInstr, BoxBooleanInstr, BoxFixnumInstr, BoxFloatInstr, BreakInstr, BTrueInstr, BuildBackrefInstr, BuildCompoundArrayInstr, BuildCompoundStringInstr, BuildDynRegExpInstr, BuildLambdaInstr, BuildRangeInstr, BuildSplatInstr, BUndefInstr, CallInstr, CheckArgsArrayArityInstr, CheckArityInstr, CheckForLJEInstr, ClassSuperInstr, ConstMissingInstr, CopyInstr, DefineClassInstr, DefineClassMethodInstr, DefineInstanceMethodInstr, DefineMetaClassInstr, DefineModuleInstr, EQQInstr, ExceptionRegionEndMarkerInstr, ExceptionRegionStartMarkerInstr, GetClassVarContainerModuleInstr, GetClassVariableInstr, GetEncodingInstr, GetErrorInfoInstr, GetFieldInstr, GetGlobalVariableInstr, GVarAliasInstr, InheritanceSearchConstInstr, InstanceSuperInstr, Instr, JumpInstr, LabelInstr, LexicalSearchConstInstr, LineNumberInstr, LoadFrameClosure, LoadImplicitClosure, LoadLocalVarInstr, MatchInstr, ModuleVersionGuardInstr, NonlocalReturnInstr, NopInstr, NoResultCallInstr, OneFixnumArgNoBlockCallInstr, OneFloatArgNoBlockCallInstr, OneOperandArgNoBlockCallInstr, OptArgMultipleAsgnInstr, PopBindingInstr, PopBlockFrameInstr, PopMethodFrameInstr, PrepareBlockArgsInstr, PrepareFixedBlockArgsInstr, PrepareNoBlockArgsInstr, PrepareSingleBlockArgInstr, ProcessModuleBodyInstr, PushBlockBindingInstr, PushBlockFrameInstr, PushMethodBindingInstr, PushMethodFrameInstr, PutClassVariableInstr, PutConstInstr, PutFieldInstr, PutGlobalVarInstr, RaiseArgumentErrorInstr, RaiseRequiredKeywordArgumentErrorInstr, ReceiveJRubyExceptionInstr, ReceiveKeywordArgInstr, ReceiveKeywordRestArgInstr, ReceiveOptArgInstr, ReceivePostReqdArgInstr, ReceivePreReqdArgInstr, ReceiveRestArgInstr, ReceiveRubyExceptionInstr, ReceiveSelfInstr, RecordEndBlockInstr, ReifyClosureInstr, ReqdArgMultipleAsgnInstr, RescueEQQInstr, RestArgMultipleAsgnInstr, RestoreBindingVisibilityInstr, RestoreErrorInfoInstr, ReturnInstr, ReturnOrRethrowSavedExcInstr, RuntimeHelperCall, SaveBindingVisibilityInstr, SearchConstInstr, SetCapturedVarInstr, StoreLocalVarInstr, ThreadPollInstr, ThrowExceptionInstr, ToAryInstr, ToggleBacktraceInstr, UnboxBooleanInstr, UnboxFixnumInstr, UnboxFloatInstr, UndefMethodInstr, UnresolvedSuperInstr, UpdateBlockExecutionStateInstr, YieldInstr, ZeroOperandArgNoBlockCallInstr, ZSuperInstrpublic IRDumper(PrintStream ps, boolean color)
public static ByteArrayOutputStream printIR(IRScope scope, boolean full)
public static ByteArrayOutputStream printIR(IRScope scope, boolean full, boolean recurse)
public void visit(IRScope scope, boolean full, boolean recurse)
public void formatInstr(Instr instr1, String varFormat, String varSpaces, String ipcFormat, Instr instr2, int i)
public int getLongestVariable(int longest,
ResultInstr i)
public void UnboxedBoolean(UnboxedBoolean bool)
UnboxedBoolean in class IRVisitorpublic void ClosureLocalVariable(ClosureLocalVariable closurelocalvariable)
ClosureLocalVariable in class IRVisitorpublic void CurrentScope(CurrentScope currentscope)
CurrentScope in class IRVisitorpublic void DynamicSymbol(DynamicSymbol dynamicsymbol)
DynamicSymbol in class IRVisitorpublic void FrozenString(FrozenString frozen)
FrozenString in class IRVisitorpublic void UnboxedFixnum(UnboxedFixnum fixnum)
UnboxedFixnum in class IRVisitorpublic void UnboxedFloat(UnboxedFloat flote)
UnboxedFloat in class IRVisitorpublic void GlobalVariable(GlobalVariable globalvariable)
GlobalVariable in class IRVisitorpublic void IRException(IRException irexception)
IRException in class IRVisitorpublic void LocalVariable(LocalVariable localvariable)
LocalVariable in class IRVisitorpublic void ObjectClass(ObjectClass objectclass)
ObjectClass in class IRVisitorpublic void ScopeModule(ScopeModule scopemodule)
ScopeModule in class IRVisitorpublic void StandardError(StandardError standarderror)
StandardError in class IRVisitorpublic void StringLiteral(StringLiteral stringliteral)
StringLiteral in class IRVisitorpublic void SymbolProc(SymbolProc symbolproc)
SymbolProc in class IRVisitorpublic void TemporaryVariable(TemporaryVariable temporaryvariable)
TemporaryVariable in class IRVisitorpublic void TemporaryLocalVariable(TemporaryLocalVariable temporarylocalvariable)
TemporaryLocalVariable in class IRVisitorpublic void TemporaryFloatVariable(TemporaryFloatVariable temporaryfloatvariable)
TemporaryFloatVariable in class IRVisitorpublic void TemporaryFixnumVariable(TemporaryFixnumVariable temporaryfixnumvariable)
TemporaryFixnumVariable in class IRVisitorpublic void TemporaryBooleanVariable(TemporaryBooleanVariable temporarybooleanvariable)
TemporaryBooleanVariable in class IRVisitorpublic void UndefinedValue(UndefinedValue undefinedvalue)
UndefinedValue in class IRVisitorpublic void UnexecutableNil(UnexecutableNil unexecutablenil)
UnexecutableNil in class IRVisitorpublic void WrappedIRClosure(WrappedIRClosure wrappedirclosure)
WrappedIRClosure in class IRVisitorCopyright © 2001-2016 JRuby. All Rights Reserved.