| java.lang.Object org.jruby.javasupport.util.CompilerHelpers
CompilerHelpers | public class CompilerHelpers (Code) | | Helper methods which are called by the compiler. Note: These will show no consumers, but
generated code does call these so don't remove them thinking they are dead code.
|
Method Summary | |
public static CompiledBlock | createBlock(ThreadContext context, IRubyObject self, int arity, String[] staticScopeNames, CompiledBlockCallback callback) | public static IRubyObject | def(ThreadContext context, Visibility visibility, IRubyObject self, Class compiledClass, String name, String javaName, String[] scopeNames, int arity) | public static IRubyObject | doAttrAssign(IRubyObject receiver, IRubyObject[] args, ThreadContext context, String name, IRubyObject caller, CallType callType, Block block) | public static IRubyObject | doAttrAssignIndexed(IRubyObject receiver, IRubyObject[] args, ThreadContext context, byte methodIndex, String name, IRubyObject caller, CallType callType, Block block) | public static IRubyObject | doInvokeDynamic(IRubyObject receiver, IRubyObject[] args, ThreadContext context, String name, IRubyObject caller, CallType callType, Block block) | public static IRubyObject | doInvokeDynamicIndexed(IRubyObject receiver, IRubyObject[] args, ThreadContext context, byte methodIndex, String name, IRubyObject caller, CallType callType, Block block) | public static RubyArray | ensureRubyArray(IRubyObject value) | public static IRubyObject | fetchClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, String name) | public static IRubyObject | handleJumpException(JumpException je, Block block) | public static IRubyObject | nullToNil(IRubyObject value, Ruby runtime) | public static RubyModule | prepareClassNamespace(ThreadContext context, IRubyObject rubyModule) | public static RubyClass | prepareSuperClass(Ruby runtime, IRubyObject rubyClass) | public static void | raiseArgumentError(Ruby runtime, int given, int maximum) | public static Pattern | regexpLiteral(Ruby runtime, String ptr, int options) | public static int | regexpLiteralFlags(int options) | public static IRubyObject | setClassVariable(ThreadContext context, Ruby runtime, IRubyObject self, String name, IRubyObject value) |
raiseArgumentError | public static void raiseArgumentError(Ruby runtime, int given, int maximum)(Code) | | |
regexpLiteralFlags | public static int regexpLiteralFlags(int options)(Code) | | |
|
|