File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -21986,6 +21986,81 @@ declare interface NodeEnvironmentPluginOptions {
2198621986 */
2198721987 infrastructureLogging: InfrastructureLogging;
2198821988}
21989+ type NodeEstreeIndex =
21990+ | ProgramImport
21991+ | ImportDeclaration
21992+ | ExportNamedDeclaration
21993+ | ExportAllDeclaration
21994+ | ImportExpressionImport
21995+ | UnaryExpression
21996+ | ArrayExpression
21997+ | ArrowFunctionExpression
21998+ | AssignmentExpression
21999+ | AwaitExpression
22000+ | BinaryExpression
22001+ | SimpleCallExpression
22002+ | NewExpression
22003+ | ChainExpression
22004+ | ClassExpression
22005+ | ConditionalExpression
22006+ | FunctionExpression
22007+ | Identifier
22008+ | SimpleLiteral
22009+ | RegExpLiteral
22010+ | BigIntLiteral
22011+ | LogicalExpression
22012+ | MemberExpression
22013+ | MetaProperty
22014+ | ObjectExpression
22015+ | SequenceExpression
22016+ | TaggedTemplateExpression
22017+ | TemplateLiteral
22018+ | ThisExpression
22019+ | UpdateExpression
22020+ | YieldExpression
22021+ | SpreadElement
22022+ | PrivateIdentifier
22023+ | Super
22024+ | FunctionDeclaration
22025+ | VariableDeclaration
22026+ | ClassDeclaration
22027+ | ExpressionStatement
22028+ | BlockStatement
22029+ | StaticBlock
22030+ | EmptyStatement
22031+ | DebuggerStatement
22032+ | WithStatement
22033+ | ReturnStatement
22034+ | LabeledStatement
22035+ | BreakStatement
22036+ | ContinueStatement
22037+ | IfStatement
22038+ | SwitchStatement
22039+ | ThrowStatement
22040+ | TryStatement
22041+ | WhileStatement
22042+ | DoWhileStatement
22043+ | ForStatement
22044+ | ForInStatement
22045+ | ForOfStatement
22046+ | ExportDefaultDeclaration
22047+ | MethodDefinition
22048+ | PropertyDefinition
22049+ | VariableDeclarator
22050+ | AssignmentProperty
22051+ | Property
22052+ | CatchClause
22053+ | ClassBody
22054+ | ImportSpecifier
22055+ | ImportDefaultSpecifier
22056+ | ImportNamespaceSpecifier
22057+ | ExportSpecifier
22058+ | ObjectPattern
22059+ | ArrayPattern
22060+ | RestElement
22061+ | AssignmentPattern
22062+ | SwitchCase
22063+ | TemplateElement;
2198922064
2199022065/**
2199122066 * a node as this parser builds one, whichever fields the options asked for
@@ -33185,6 +33260,12 @@ declare class SyntaxTree {
3318533260 * `0` or null where ESTree has null.
3318633261 */
3318733262 set(node: number, name: string, value: unknown): void;
33263+
33264+ /**
33265+ * Writes a parsed node and everything under it, its children taking ids
33266+ * after it in source order; a child already written stands as its id.
33267+ */
33268+ addEstree(root: NodeEstreeIndex): number;
3318833269 type(node: number): number;
3318933270 start(node: number): number;
3319033271 end(node: number): number;
You can’t perform that action at this time.
0 commit comments