public class IndyDynamicValueCompiler extends java.lang.Object implements DynamicValueCompiler
| Constructor and Description |
|---|
IndyDynamicValueCompiler(IRBytecodeAdapter compiler) |
| Modifier and Type | Method and Description |
|---|---|
void |
array(int length)
Construct an Array from elements on stack.
|
void |
hash(int length)
Construct a Hash from elements on stack.
|
void |
pushDRegexp(java.lang.Runnable callback,
RegexpOptions options,
int arity)
Build a dynamic regexp.
|
public IndyDynamicValueCompiler(IRBytecodeAdapter compiler)
public void pushDRegexp(java.lang.Runnable callback,
RegexpOptions options,
int arity)
DynamicValueCompilerNo stack requirement. The callback must push onto this method's stack the ThreadContext and all arguments for building the dregexp, matching the given arity.
pushDRegexp in interface DynamicValueCompileroptions - options for the regexparity - number of Strings passed inpublic void array(int length)
DynamicValueCompilerarray in interface DynamicValueCompilerlength - number of elementspublic void hash(int length)
DynamicValueCompilerhash in interface DynamicValueCompilerlength - number of element pairsCopyright © 2001-2022 JRuby. All Rights Reserved.