MCPcopy Index your code
hub / github.com/Milkdown/milkdown / push

Method push

packages/transformer/src/parser/stack-element.ts:14–16  ·  view source on GitHub ↗
(node: Node, ...rest: Node[])

Source from the content-addressed store, hash-verified

12 }
13
14 push(node: Node, ...rest: Node[]) {
15 this.content.push(node, ...rest)
16 }
17
18 pop(): Node | undefined {
19 return this.content.pop()

Callers 15

collectTopLevelNodesFunction · 0.80
buildDecorationsFunction · 0.80
splitCrossBoundaryChangeFunction · 0.80
mergeBlockChangesFunction · 0.80
flattenFunction · 0.80
outlineFunction · 0.80
onMethod · 0.80
EditorClass · 0.80
KeymapManagerClass · 0.80
CommandManagerClass · 0.80

Calls

no outgoing calls

Tested by 1

collectFunction · 0.64