MCPcopy
hub / github.com/loggerhead/json4u / onObjectBegin

Function onObjectBegin

src/lib/parser/parse.ts:48–56  ·  view source on GitHub ↗
(
        offset: number,
        length: number,
        startLine: number,
        startCharacter: number,
        pathSupplier: () => jsonc.JSONPath,
      )

Source from the content-addressed store, hash-verified

46 text,
47 {
48 onObjectBegin(
49 offset: number,
50 length: number,
51 startLine: number,
52 startCharacter: number,
53 pathSupplier: () => jsonc.JSONPath,
54 ) {
55 return visitor.onObjectBegin(offset, "object", pathSupplier);
56 },
57 onObjectEnd(offset: number, length: number) {
58 return visitor.onObjectEnd(offset, length);
59 },

Callers

nothing calls this directly

Calls 1

onObjectBeginMethod · 0.80

Tested by

no test coverage detected