update comments to better describe what's going on (#13348)
This commit is contained in:
parent
19c8fe34fd
commit
99c4afd9cd
1 changed files with 5 additions and 1 deletions
|
|
@ -305,8 +305,12 @@ export function parse(input: string) {
|
|||
parent.nodes.push(node)
|
||||
}
|
||||
|
||||
// Push the current node to the stack and make it the new parent.
|
||||
// Push the parent node to the stack, so that we can go back once the
|
||||
// nested nodes are done.
|
||||
stack.push(parent)
|
||||
|
||||
// Make the current node the new parent, so that nested nodes can be
|
||||
// attached to it.
|
||||
parent = node
|
||||
|
||||
// Reset the state for the next node.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue