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

Method needsParens

lib/fast-path.ts:44–44  ·  view source on GitHub ↗
(assumeExpressionContext?: boolean)

Source from the content-addressed store, hash-verified

42 getPrevToken(node: any): any;
43 getNextToken(node: any): any;
44 needsParens(assumeExpressionContext?: boolean): any;
45 canBeFirstInStatement(): any;
46 firstInStatement(): any;
47}

Callers 5

genericPrintFunction · 0.80
fast-path.tsFile · 0.80
getReprinterFunction · 0.80
findChildReprintsFunction · 0.80
parens.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected