Class HotRuby

Defined in HotRuby.js


Field Summary
HTMLElement debugDom
          Debug DOM
Array endBlocks
          END blocks
Object globalVars
          Global Variables
<static> object VM_CALL_ARGS_BLOCKARG_BIT
          
<static> object VM_CALL_ARGS_SPLAT_BIT
          
<static> object VM_CALL_FCALL_BIT
          
<static> object VM_CALL_VCALL_BIT
          
 
Constructor Summary
HotRuby()
            HotRuby
 
Method Summary
compileAndRun(url, Ruby)
           Send the source to server and run.
 Array createRubyArray(ary)
           JavaScript Array -> Ruby Array
 Object createRubyHash(ary)
           JavaScript Array -> Ruby Hash
 Object createRubyProc(opcode, sf)
           opcode -> Ruby Proc
createRubyRange(last, first, exclude_end)
           Creates Ruby Range
 String createRubyString(str)
           JavaScript String -> Ruby String
 String getClassName(obj)
           Returns class name from object.
<private>    getConstant(sf, classObj, constName)
           Get the constant
invokeMethod(recver, methodName, args, sf, type, invokeSuper)
           Invoke the method
<private>  mainLoop(opcode, sf)
           Main loop for opcodes.
printDebug(str)
           Print to debug dom.
run(opcode)
           Run the script.
runFromScriptTag(url)
           Search and run.
<private>  runOpcode(opcode, classObj, methodName, self, args, parentSF, isProc, cbaseObj)
           Run the opcode.
<private>  setConstant(sf, classObj, constName, constValue)
           Set the Constant
 
Field Detail

debugDom

HTMLElement debugDom

endBlocks

Array endBlocks

globalVars

Object globalVars

VM_CALL_ARGS_BLOCKARG_BIT

<static> object VM_CALL_ARGS_BLOCKARG_BIT

VM_CALL_ARGS_SPLAT_BIT

<static> object VM_CALL_ARGS_SPLAT_BIT

VM_CALL_FCALL_BIT

<static> object VM_CALL_FCALL_BIT

VM_CALL_VCALL_BIT

<static> object VM_CALL_VCALL_BIT

Constructor Detail

HotRuby

HotRuby()

Method Detail

compileAndRun

compileAndRun(url, Ruby)

createRubyArray

Array createRubyArray(ary)

createRubyHash

Object createRubyHash(ary)

createRubyProc

Object createRubyProc(opcode, sf)

createRubyRange

createRubyRange(last, first, exclude_end)

createRubyString

String createRubyString(str)

getClassName

String getClassName(obj)

getConstant

<private>  getConstant(sf, classObj, constName)

invokeMethod

invokeMethod(recver, methodName, args, sf, type, invokeSuper)

mainLoop

<private> mainLoop(opcode, sf)

printDebug

printDebug(str)

run

run(opcode)

runFromScriptTag

runFromScriptTag(url)

runOpcode

<private> runOpcode(opcode, classObj, methodName, self, args, parentSF, isProc, cbaseObj)

setConstant

<private> setConstant(sf, classObj, constName, constValue)

Documentation generated by JsDoc Toolkit 1.4.0 on Wed Jan 02 2008 07:45:45 GMT+0900 (JST)