| Modifier and Type | Field and Description |
|---|---|
| public static final UndefinedValue |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public IRubyObject | addFinalizer(ThreadContext context, IRubyObject finalizer)
Overrides default org.
|
| public void | addUsedVariables(List<Variable> l)
Implements abstract org. Append the list of variables used in this operand to the input list -- force every operand to implement this because a missing implementation can cause bad failures. |
| public IRubyObject | anyToString()
Implements org. make this object into a string (hopefully) |
| public String | asJavaString()
Implements org. Convert the object into a symbol name if possible. |
| public RubyString | |
| public IRubyObject | callMethod(ThreadContext context, String name)
Implements org.
|
| public IRubyObject | callMethod(ThreadContext context, String name, IRubyObject arg)
Implements org.
|
| public IRubyObject | callMethod(ThreadContext context, String name, IRubyObject[] args)
Implements org.
|
| public IRubyObject | callMethod(ThreadContext context, String name, IRubyObject[] args, Block block)
Implements org.
|
| public IRubyObject | callMethod(ThreadContext context, int methodIndex, String name)
Implements org.
Deprecated
|
| public IRubyObject | callMethod(ThreadContext context, int methodIndex, String name, IRubyObject arg)
Implements org.
Deprecated
|
| public IRubyObject | callSuper(ThreadContext context, IRubyObject[] args, Block block)
Implements org.
Deprecated
|
| public boolean | canCopyPropagate()
Overrides org. Can we replace every use of a variable 'v' that contains the value of this operand with the operand itself? |
| public IRubyObject | checkArrayType()
Implements org. is this an array if so return it otherwise nil |
| public IRubyObject | checkCallMethod(ThreadContext context, String name)
Implements org.
|
| public IRubyObject | checkCallMethod(ThreadContext context, JavaSites.
Implements org.
|
| public IRubyObject | checkStringType()
Implements org. is this a string if so return it otherwise nil |
| public Operand | |
| public RubyArray | convertToArray()
Implements org. Converts this Ruby object to an Array. |
| public RubyFloat | convertToFloat()
Implements org. Converts this Ruby object to a Float (using to_f). |
| public RubyHash | convertToHash()
Implements org. Converts this Ruby object to a Hash. |
| public RubyInteger | convertToInteger()
Implements org. Converts this Ruby object to an Integer. |
| public RubyInteger | convertToInteger(String
method to use e.g. to_i convertMethod)Implements org. Converts this Ruby object to an Integer. |
| public RubyString | convertToString()
Implements org. Converts this Ruby object to a String. |
| public void | |
| public Object | Returns: the object wrapped.Implements org. Our version of Data_Get_Struct. |
| public Object | dataGetStructChecked()
Implements org.
Deprecated
|
| public void | dataWrapStruct(Object
the object to wrap obj)Implements org. Our version of Data_Wrap_Struct. |
| public IRubyObject | |
| public boolean | |
| public InstanceVariables | |
| public InternalVariables | |
| public Class | getJavaClass()
Implements org. RubyMethod getJavaClass. |
| public RubyClass | |
| public OperandType | |
| public Ruby | |
| public RubyClass | getSingletonClass()
Implements org. Retrieve |
| public RubyClass | |
| public Object | |
| public int | getVariableCount()
Implements org. how many variables? |
| public List | getVariableList()
Implements org. list of all variables |
| public List | getVariableNameList()
Implements org. list of all variable names |
| public boolean | hasVariables()
Implements org. Returns true if object has any variables, defined as:
|
| public IRubyObject | |
| public IRubyObject | |
| public IRubyObject | |
| public boolean | Returns: true if an object is Ruby Class instance (note that it will return false for Ruby singleton classes). If is_a? semantics is required, use(someObject instanceof RubyClass/MetaClass) instead.Implements org. If is_a? |
| public boolean | Returns: booleanImplements org. RubyMethod isFrozen. |
| public boolean | isImmediate()
Implements org. Is this an immediate object |
| public boolean | Returns: true if an object is Ruby Module instance (note that it will return false for Ruby Classes). If is_a? semantics is required, use(someObject instanceof RubyModule) instead.Implements org. If is_a? |
| public boolean | |
| public boolean | isSpecialConst()
Implements org. Is this a special constant |
| public boolean | |
| public boolean | isTrue()
Implements org. Check whether this object is truthy. |
| public boolean | isUntrusted()
Implements org.
Deprecated
RubyMethod isUntrusted. |
| public IRubyObject | op_eqq(ThreadContext context, IRubyObject other)
Implements org.
|
| public IRubyObject | op_equal(ThreadContext context, IRubyObject other)
Implements org.
|
| public IRubyObject | Returns: IRubyObjectImplements org. RubyMethod rbClone. |
| public void | |
| public boolean | respondsTo(String
method name string)Implements org. RubyMethod respondsTo. |
| public boolean | respondsToMissing(String
method name string)Implements org. RubyMethod respondsTo. |
| public boolean | respondsToMissing(String
method name string, boolean private? priv)Implements org. RubyMethod respondsTo. |
| public Object | retrieve(ThreadContext context, IRubyObject self, StaticScope currScope, DynamicScope currDynScope, Object[] temp)
Overrides org.
|
| public void | setFrozen(boolean b)
Implements org. RubyMethod setFrozen. |
| public void | |
| public void | setUntrusted(boolean
boolean b)Implements org.
Deprecated
RubyMethod setUntrusted. |
| public void | |
| public RubyClass | singletonClass(ThreadContext context)
Overrides default org.
|
| public void | syncVariables(List<Variable<Object>>
the variables to be set for object variables)Implements org.
Deprecated
Sets object's variables to those in the supplied list, removing/replacing any previously defined variables. |
| public void | syncVariables(IRubyObject
the source object containing the variables to sync source)Implements org. Sets object's variables to those in the supplied object, removing/replacing any previously defined variables of the same name. |
| public Object | toJava(Class<T>
The target type to which the object should be converted. cls)Implements org. Convert the object to the specified Java class, if possible. |
| public String | |
| private RuntimeException | |
| public void |