MCPcopy Create free account
hub / github.com/denodrivers/postgres / nextCharacter

Method nextCharacter

query/array_parser.ts:43–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

41 }
42
43 nextCharacter() {
44 const character = this.source[this.position++];
45 if (character === "\\") {
46 return {
47 escaped: true,
48 value: this.source[this.position++],
49 };
50 }
51 return {
52 escaped: false,
53 value: character,
54 };
55 }
56
57 record(character: string): void {
58 this.recorded.push(character);

Callers 2

consumeDimensionsMethod · 0.95
parseMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected