Methods
mapdom
-
mapdom(node, callback, T, presult)
Arguments: |
- node –
- The DOM node representing the starting point for the
- mapping operation
- callback – function(node, parents_result)
- T –
- context parameter bound to “this” when invoking the
- callback
- presult – Internal use.
|
A function that visits every node of a DOM tree in document order. Calls
a callback with the visited node and the result of the callback from
visitting the parent node.
This function is a modified version of Douglas Crockfords walk_the_DOM
function from his book “Javascript: The Good Parts”.
mapvalue
-
mapvalue(value, callback, T, presult, presult)
Arguments: |
- value –
- A JSON value representing the starting point for the
- mapping operation
- callback – function(value, parents_result)
- T –
- context parameter bound to “this” when invoking the
- callback
- presult – Internal use.
- presult –
|
A function that visits every value of a JSON object tree in preorder.
Calls a callback with the visited value and the result of the callback
from visitting the parent.
This function is a modified version of Douglas Crockfords walk_the_DOM
function from his book “Javascript: The Good Parts”.
Attributes
FNV132_INIT
-
FNV132_INIT , constant
Constant FNV-1 32bit offset basis
FNV132_PRIME
-
FNV132_PRIME , constant
Constant FNV-1 32bit prime number
FNV132_PRIME_H
-
FNV132_PRIME_H , constant
High 16 bits of FNV-1 32bit prime number
FNV132_PRIME_L
-
FNV132_PRIME_L , constant
Low 16 bits of FNV-1 32bit prime number
payloadHandler
-
payloadHandler
Return shared payload handler.
treeAdapter
-
treeAdapter
shared tree adapter instance
TYPE_STRINGS
-
TYPE_STRINGS , constant
UPDATE_FOREST_TYPE
-
UPDATE_FOREST_TYPE , constant
UPDATE_NODE_TYPE
-
UPDATE_NODE_TYPE , constant