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

Interface FastPathType

lib/fast-path.ts:29–47  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27});
28
29interface FastPathType {
30 stack: any[];
31 copy(): any;
32 getName(): any;
33 getValue(): any;
34 valueIsDuplicate(): any;
35 getNode(count?: number): any;
36 getParentNode(count?: number): any;
37 getRootValue(): any;
38 call(callback: any, ...names: any[]): any;
39 each(callback: any, ...names: any[]): any;
40 map(callback: any, ...names: any[]): any;
41 hasParens(): any;
42 getPrevToken(node: any): any;
43 getNextToken(node: any): any;
44 needsParens(assumeExpressionContext?: boolean): any;
45 canBeFirstInStatement(): any;
46 firstInStatement(): any;
47}
48
49interface FastPathConstructor {
50 new (value: any): FastPathType;

Callers 59

fast-path.tsFile · 0.65
genericPrintNoParensFunction · 0.80
printFunctionParamsFunction · 0.80
fast-path.tsFile · 0.80
printLeadingCommentFunction · 0.80
printTrailingCommentFunction · 0.80
printCommentsFunction · 0.80
genericPrintFunction · 0.80
genericPrintNoParensFunction · 0.80
printDecoratorsFunction · 0.80
printStatementSequenceFunction · 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…