public class IndyValueCompiler extends java.lang.Object implements ValueCompiler
| Constructor and Description |
|---|
IndyValueCompiler(IRBytecodeAdapter compiler) |
| Modifier and Type | Method and Description |
|---|---|
void |
pushBignum(java.math.BigInteger bigint)
Load a Bignum onto the stack.
|
void |
pushBoolean(boolean b)
Load a boolean onto the stack.
|
void |
pushByteList(ByteList bl)
Stack required: none
|
void |
pushCallSite(java.lang.String className,
java.lang.String siteName,
java.lang.String scopeFieldName,
CallBase call)
Load a CallSite onto the stack
|
void |
pushConstantLookupSite(java.lang.String className,
java.lang.String siteName,
ByteList name)
Load a ConstantLookupSite onto the stack
|
void |
pushEmptyString(org.jcodings.Encoding encoding)
Push a new empty string on the stack
Stack required: none
|
void |
pushEncoding(org.jcodings.Encoding encoding)
Push an encoding on the stack.
|
void |
pushFixnum(long l)
Stack required: none
|
void |
pushFloat(double d)
Stack required: none
|
void |
pushFrozenString(ByteList bl,
int cr,
java.lang.String file,
int line)
Stack required: none
|
void |
pushNil()
Load nil onto the stack.
|
void |
pushObjectClass()
Push the Object class on the stack.
|
void |
pushRegexp(ByteList source,
int options)
Build and save a literal regular expression.
|
void |
pushRuntime()
Push the JRuby runtime on the stack.
|
void |
pushString(ByteList bl,
int cr)
Stack required: none
|
void |
pushSymbol(ByteList bytes)
Push a symbol on the stack.
|
void |
pushSymbolProc(ByteList bytes)
Push a Symbol.to_proc on the stack.
|
void |
pushUndefined()
Push the UNDEFINED constant on the stack.
|
public IndyValueCompiler(IRBytecodeAdapter compiler)
public void pushRuntime()
ValueCompilerpushRuntime in interface ValueCompilerpublic void pushObjectClass()
ValueCompilerpushObjectClass in interface ValueCompilerpublic void pushUndefined()
ValueCompilerpushUndefined in interface ValueCompilerpublic void pushFixnum(long l)
ValueCompilerpushFixnum in interface ValueCompilerl - long value to push as a Fixnumpublic void pushFloat(double d)
ValueCompilerpushFloat in interface ValueCompilerd - double value to push as a Floatpublic void pushString(ByteList bl, int cr)
ValueCompilerpushString in interface ValueCompilerbl - ByteList for the String to pushpublic void pushFrozenString(ByteList bl, int cr, java.lang.String file, int line)
ValueCompilerpushFrozenString in interface ValueCompilerbl - ByteList for the String to pushpublic void pushEmptyString(org.jcodings.Encoding encoding)
ValueCompilerpushEmptyString in interface ValueCompilerpublic void pushByteList(ByteList bl)
ValueCompilerpushByteList in interface ValueCompilerbl - ByteList to pushpublic void pushRegexp(ByteList source, int options)
ValueCompilerStack required: none
pushRegexp in interface ValueCompileroptions - options for the regexppublic void pushSymbol(ByteList bytes)
ValueCompilerpushSymbol in interface ValueCompilerbytes - the ByteList for the symbolpublic void pushSymbolProc(ByteList bytes)
ValueCompilerpushSymbolProc in interface ValueCompilerbytes - the ByteList for the symbolpublic void pushEncoding(org.jcodings.Encoding encoding)
ValueCompilerpushEncoding in interface ValueCompilerencoding - the encoding to pushpublic void pushNil()
ValueCompilerpushNil in interface ValueCompilerpublic void pushBoolean(boolean b)
ValueCompilerpushBoolean in interface ValueCompilerb - the boolean to pushpublic void pushBignum(java.math.BigInteger bigint)
ValueCompilerpushBignum in interface ValueCompilerbigint - the value of the Bignum to pushpublic void pushCallSite(java.lang.String className,
java.lang.String siteName,
java.lang.String scopeFieldName,
CallBase call)
ValueCompilerpushCallSite in interface ValueCompilerpublic void pushConstantLookupSite(java.lang.String className,
java.lang.String siteName,
ByteList name)
ValueCompilerpushConstantLookupSite in interface ValueCompilerCopyright © 2001-2022 JRuby. All Rights Reserved.