Class Index | File Index

Classes

Function Namespace VM

gpsee.module.ca.page.vm
Defined in: vm.jsdoc.

Function Namespace Summary
Constructor Attributes Constructor Name and Description
 
VM()
Native module exposing deep interpreter interfaces to the JavaScript programmer.
Field Summary
Field Attributes Field Name and Description
<inner>  
human-readable, not-machine-parseable string describing interpreter version
Method Summary
Method Attributes Method Name and Description
<inner>  
dumpGCstats(filename)
Dump statistics about the garbage collector to a file.
<inner>  
Determine if supplied arguments form valid JavaScript.
Function Namespace Detail
VM()
Native module exposing deep interpreter interfaces to the JavaScript programmer. Methods and properties in this module are not expected to be universally available.
Author: Wes Garland, PageMail, Inc., wes@page.ca.
Field Detail
<inner> version
human-readable, not-machine-parseable string describing interpreter version
Method Detail
<inner> dumpGCstats(filename)
Dump statistics about the garbage collector to a file.
Parameters:
filename
Filename in which to dump human-readable statistics.

<inner> isCompilableUnit(args)
Determine if supplied arguments form valid JavaScript. Return false if the buffer might become a valid JavaScript statement with the addition of more lines. Otherwise return true. The intent is to support interactive compilation - accumulate lines in a buffer until JS_BufferIsCompilableUnit is true, then pass it to the compiler.
Parameters:
args
One or more arguments containing code segments
Returns:
true if concatenation of arguments makes a valid JS compilation unit
See:
JS_BufferIsCompilableUnit

Documentation generated by JsDoc Toolkit 2.1.0 on Tue May 11 2010 20:54:18 GMT-0400 (EDT)