MCPcopy Create free account
hub / github.com/Rich-Harris/magic-string / constructor

Method constructor

src/utils/MappingsEncoder.ts:54–65  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

52 declare private prevNameIndex: number
53
54 constructor() {
55 this.out = ''
56 this.pos = 0
57 this.lines = []
58 this.buffered = 0
59 this.needsComma = false
60 this.prevGenColumn = 0
61 this.prevSourceIndex = 0
62 this.prevSourceLine = 0
63 this.prevSourceColumn = 0
64 this.prevNameIndex = 0
65 }
66
67 endLine(segments: FullSegment[]): void {
68 this.lines.push(segments)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected