parcoursup/node_modules/recast/lib/fast-path.d.ts
lalBi94 7bc56c09b5 $
2023-03-05 13:23:23 +01:00

26 lines
746 B
TypeScript

interface FastPathType {
stack: any[];
copy(): any;
getName(): any;
getValue(): any;
valueIsDuplicate(): any;
getNode(count?: number): any;
getParentNode(count?: number): any;
getRootValue(): any;
call(callback: any, ...names: any[]): any;
each(callback: any, ...names: any[]): any;
map(callback: any, ...names: any[]): any;
hasParens(): any;
getPrevToken(node: any): any;
getNextToken(node: any): any;
needsParens(assumeExpressionContext?: boolean): any;
canBeFirstInStatement(): any;
firstInStatement(): any;
}
interface FastPathConstructor {
new (value: any): FastPathType;
from(obj: any): any;
}
declare const FastPath: FastPathConstructor;
export default FastPath;