MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / closeElement

Method closeElement

src/resolution/jsx-code.ts:237–244  ·  view source on GitHub ↗

Close the innermost element. Closing an element opened among code ends an expression.

()

Source from the content-addressed store, hash-verified

235
236 /** Close the innermost element. Closing an element opened among code ends an expression. */
237 private closeElement(): void {
238 this.stack.pop();
239 if (this.stack[this.stack.length - 1]!.mode === 'code') {
240 this.roots.pop();
241 this.exprEnd = true;
242 this.afterDot = false;
243 }
244 }
245
246 /** One step among code. False when the file is given up. */
247 private code(top: Frame, c: number): boolean {

Callers 2

tagMethod · 0.95
childrenMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected