MCPcopy Create free account
hub / github.com/Moddable-OpenSource/moddable / push

Method push

contributed/jsonparser/jsonparser.js:232–235  ·  view source on GitHub ↗
(nodeType)

Source from the content-addressed store, hash-verified

230
231 // Pushes a new node with the specified type onto the stack and invokes 'setup'.
232 push(nodeType) {
233 this.node = this.makeNode(nodeType, this.node);
234 this.doEvent("onSetup");
235 }
236
237 // Sets the text property of the current node and invokes 'setup'.
238 setText(text) {

Callers 15

displayMethod · 0.45
constructorMethod · 0.45
onTimeChangedMethod · 0.45
displayMethod · 0.45
handlerMethod · 0.45
callbackMethod · 0.45
buildFunction · 0.45
http_request_callbackFunction · 0.45
main.jsFile · 0.45
displayMethod · 0.45
writeOptionMethod · 0.45
constructorMethod · 0.45

Calls 2

makeNodeMethod · 0.95
doEventMethod · 0.95

Tested by

no test coverage detected