public interface ValueCompiler
| Modifier and Type | Method and Description |
|---|---|
void |
pushArrayClass()
Push the Array class on the stack.
|
void |
pushBignum(java.math.BigInteger bigint)
Load a Bignum onto the stack.
|
void |
pushBoolean(boolean b)
Load a boolean onto the stack.
|
void |
pushBufferString(org.jcodings.Encoding encoding,
int size)
Push a new empty string on the stack preallocated to the given size
Stack required: none
|
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 path,
int line)
Stack required: none
|
void |
pushHashClass()
Push the Hash class on the stack.
|
void |
pushNil()
Load nil onto the stack.
|
void |
pushObjectClass()
Push the Object class on the stack.
|
void |
pushRange(java.lang.Runnable begin,
java.lang.Runnable end,
boolean exclusive)
Build and save a literal range.
|
void |
pushRegexp(ByteList source,
int options)
Build and save a literal regular expression.
|
void |
pushRubyEncoding(org.jcodings.Encoding encoding)
Push a RubyEncoding on the stack.
|
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.
|
void pushRuntime()
void pushArrayClass()
void pushHashClass()
void pushObjectClass()
void pushUndefined()
void pushFixnum(long l)
l - long value to push as a Fixnumvoid pushFloat(double d)
d - double value to push as a Floatvoid pushString(ByteList bl, int cr)
bl - ByteList for the String to pushvoid pushFrozenString(ByteList bl, int cr, java.lang.String path, int line)
bl - ByteList for the String to pushvoid pushByteList(ByteList bl)
bl - ByteList to pushvoid pushRange(java.lang.Runnable begin,
java.lang.Runnable end,
boolean exclusive)
Stack required: context
begin - a runnable that will emit code for the begin valueend - a runnable that will emit code for the end valueexclusive - whether this is an exclusive rangevoid pushRegexp(ByteList source, int options)
Stack required: none
options - options for the regexpvoid pushSymbol(ByteList bytes)
bytes - the ByteList for the symbolvoid pushSymbolProc(ByteList bytes)
bytes - the ByteList for the symbolvoid pushRubyEncoding(org.jcodings.Encoding encoding)
encoding - the encoding to pushvoid pushEncoding(org.jcodings.Encoding encoding)
encoding - the encoding to pushvoid pushNil()
void pushBoolean(boolean b)
b - the boolean to pushvoid pushBignum(java.math.BigInteger bigint)
bigint - the value of the Bignum to pushvoid pushCallSite(java.lang.String className,
java.lang.String siteName,
java.lang.String scopeFieldName,
CallBase call)
void pushConstantLookupSite(java.lang.String className,
java.lang.String siteName,
ByteList name)
void pushEmptyString(org.jcodings.Encoding encoding)
void pushBufferString(org.jcodings.Encoding encoding,
int size)
Copyright © 2001-2023 JRuby. All Rights Reserved.