MCPcopy
hub / github.com/benjamn/recast / PatcherType

Interface PatcherType

lib/patcher.ts:15–20  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13const riskyAdjoiningCharExp = /[0-9a-z_$]/i;
14
15interface PatcherType {
16 replace(loc: any, lines: any): any;
17 get(loc?: any): any;
18 tryToReprintComments(newNode: any, oldNode: any, print: any): any;
19 deleteComments(node: any): any;
20}
21
22interface PatcherConstructor {
23 new (lines: any): PatcherType;

Callers 18

genericPrintNoParensFunction · 0.80
swapQuotesFunction · 0.80
jsSafeStringifyFunction · 0.80
patcher.tsFile · 0.80
getReprinterFunction · 0.80
runTestsForParserFunction · 0.80
visit.tsFile · 0.80
mapping.tsFile · 0.80
parser.tsFile · 0.80
getSortedChildNodesFunction · 0.80
getReprinterFunction · 0.80
parens.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…