MCPcopy Index your code
hub / github.com/processing/p5.js / push

Method push

src/core/p5.Renderer.js:136–139  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134 // Makes a shallow copy of the current states
135 // and push it into the push pop stack
136 push() {
137 this._pushPopDepth++;
138 this._pushPopStack.push(this.states.takeDiff());
139 }
140
141 // Pop the previous states out of the push pop stack and
142 // assign it back to the current state

Callers 13

renderingFunction · 0.45
constructorMethod · 0.45
registerAddonMethod · 0.45
transformFunction · 0.45
VariableDeclaratorFunction · 0.45
FunctionDeclarationFunction · 0.45
ClassDeclarationFunction · 0.45
ErrorStackParserFunction · 0.45
handleMisspellingFunction · 0.45
addColorModeMethod · 0.45
constructorMethod · 0.45

Calls 1

takeDiffMethod · 0.80

Tested by

no test coverage detected