mirror of
https://github.com/swc-project/swc.git
synced 2024-11-24 10:12:42 +03:00
3958f1792c
**Related issue:** - Closes #7347. - Closes #7487.
37555 lines
1.6 MiB
37555 lines
1.6 MiB
{
|
|
"type": "Script",
|
|
"span": {
|
|
"start": 212,
|
|
"end": 26917,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsModuleDeclaration",
|
|
"span": {
|
|
"start": 212,
|
|
"end": 26917,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"global": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 219,
|
|
"end": 229,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TypeScript",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "TsModuleBlock",
|
|
"span": {
|
|
"start": 230,
|
|
"end": 26917,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 236,
|
|
"end": 387,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsInterfaceDeclaration",
|
|
"span": {
|
|
"start": 243,
|
|
"end": 387,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 253,
|
|
"end": 263,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"typeParams": null,
|
|
"extends": [],
|
|
"body": {
|
|
"type": "TsInterfaceBody",
|
|
"span": {
|
|
"start": 264,
|
|
"end": 387,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsMethodSignature",
|
|
"span": {
|
|
"start": 274,
|
|
"end": 307,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 274,
|
|
"end": 278,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 279,
|
|
"end": 287,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 282,
|
|
"end": 287,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 284,
|
|
"end": 287,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 284,
|
|
"end": 287,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 289,
|
|
"end": 300,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 295,
|
|
"end": 300,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 297,
|
|
"end": 300,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 297,
|
|
"end": 300,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeAnn": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 301,
|
|
"end": 306,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 303,
|
|
"end": 306,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 303,
|
|
"end": 306,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
},
|
|
"typeParams": null
|
|
},
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 316,
|
|
"end": 340,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 316,
|
|
"end": 323,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 323,
|
|
"end": 339,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 325,
|
|
"end": 339,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 325,
|
|
"end": 339,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkOptions",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
},
|
|
"typeParams": null
|
|
},
|
|
{
|
|
"type": "TsPropertySignature",
|
|
"span": {
|
|
"start": 349,
|
|
"end": 360,
|
|
"ctxt": 0
|
|
},
|
|
"readonly": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 349,
|
|
"end": 354,
|
|
"ctxt": 0
|
|
},
|
|
"value": "state",
|
|
"optional": false
|
|
},
|
|
"computed": false,
|
|
"optional": false,
|
|
"init": null,
|
|
"params": [],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 354,
|
|
"end": 359,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 356,
|
|
"end": 359,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 393,
|
|
"end": 719,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 406,
|
|
"end": 420,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkOptions",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"span": {
|
|
"start": 400,
|
|
"end": 719,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"span": {
|
|
"start": 431,
|
|
"end": 456,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 438,
|
|
"end": 448,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goChildren",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 451,
|
|
"end": 455,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"typeAnnotation": null,
|
|
"isStatic": false,
|
|
"decorators": [],
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false,
|
|
"readonly": false,
|
|
"declare": false,
|
|
"definite": false
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"span": {
|
|
"start": 465,
|
|
"end": 493,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 472,
|
|
"end": 485,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 488,
|
|
"end": 492,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
},
|
|
"typeAnnotation": null,
|
|
"isStatic": false,
|
|
"decorators": [],
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false,
|
|
"readonly": false,
|
|
"declare": false,
|
|
"definite": false
|
|
},
|
|
{
|
|
"type": "ClassProperty",
|
|
"span": {
|
|
"start": 502,
|
|
"end": 533,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 509,
|
|
"end": 524,
|
|
"ctxt": 0
|
|
},
|
|
"value": "reverseSiblings",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 527,
|
|
"end": 532,
|
|
"ctxt": 0
|
|
},
|
|
"value": false
|
|
},
|
|
"typeAnnotation": null,
|
|
"isStatic": false,
|
|
"decorators": [],
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false,
|
|
"readonly": false,
|
|
"declare": false,
|
|
"definite": false
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 588,
|
|
"end": 713,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 595,
|
|
"end": 603,
|
|
"ctxt": 0
|
|
},
|
|
"value": "stopWalk",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 623,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "AssignmentPattern",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 623,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 604,
|
|
"end": 616,
|
|
"ctxt": 0
|
|
},
|
|
"value": "stop",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 608,
|
|
"end": 616,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 609,
|
|
"end": 616,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "boolean"
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 619,
|
|
"end": 623,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 588,
|
|
"end": 713,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 625,
|
|
"end": 713,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 639,
|
|
"end": 663,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 639,
|
|
"end": 662,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 639,
|
|
"end": 654,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 639,
|
|
"end": 643,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 644,
|
|
"end": 654,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goChildren",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "UnaryExpression",
|
|
"span": {
|
|
"start": 657,
|
|
"end": 662,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "!",
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 658,
|
|
"end": 662,
|
|
"ctxt": 0
|
|
},
|
|
"value": "stop",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 676,
|
|
"end": 703,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 676,
|
|
"end": 702,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 676,
|
|
"end": 694,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 676,
|
|
"end": 680,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 681,
|
|
"end": 694,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "UnaryExpression",
|
|
"span": {
|
|
"start": 697,
|
|
"end": 702,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "!",
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 698,
|
|
"end": 702,
|
|
"ctxt": 0
|
|
},
|
|
"value": "stop",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": null
|
|
},
|
|
"kind": "method",
|
|
"isStatic": false,
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
}
|
|
],
|
|
"superClass": null,
|
|
"isAbstract": false,
|
|
"typeParams": null,
|
|
"superTypeParams": null,
|
|
"implements": []
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 725,
|
|
"end": 824,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsInterfaceDeclaration",
|
|
"span": {
|
|
"start": 732,
|
|
"end": 824,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 742,
|
|
"end": 758,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"typeParams": null,
|
|
"extends": [],
|
|
"body": {
|
|
"type": "TsInterfaceBody",
|
|
"span": {
|
|
"start": 759,
|
|
"end": 824,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsCallSignatureDeclaration",
|
|
"span": {
|
|
"start": 769,
|
|
"end": 818,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 770,
|
|
"end": 778,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 773,
|
|
"end": 778,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 775,
|
|
"end": 778,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 775,
|
|
"end": 778,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 780,
|
|
"end": 791,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 786,
|
|
"end": 791,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 788,
|
|
"end": 791,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 788,
|
|
"end": 791,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 793,
|
|
"end": 811,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 799,
|
|
"end": 811,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 801,
|
|
"end": 811,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 801,
|
|
"end": 811,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 812,
|
|
"end": 817,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 814,
|
|
"end": 817,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 814,
|
|
"end": 817,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 830,
|
|
"end": 933,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "TsInterfaceDeclaration",
|
|
"span": {
|
|
"start": 837,
|
|
"end": 933,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 847,
|
|
"end": 863,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"typeParams": null,
|
|
"extends": [],
|
|
"body": {
|
|
"type": "TsInterfaceBody",
|
|
"span": {
|
|
"start": 864,
|
|
"end": 933,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "TsCallSignatureDeclaration",
|
|
"span": {
|
|
"start": 874,
|
|
"end": 927,
|
|
"ctxt": 0
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 875,
|
|
"end": 886,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 881,
|
|
"end": 886,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 883,
|
|
"end": 886,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 883,
|
|
"end": 886,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 888,
|
|
"end": 899,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 894,
|
|
"end": 899,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 896,
|
|
"end": 899,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 896,
|
|
"end": 899,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 901,
|
|
"end": 919,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 907,
|
|
"end": 919,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 909,
|
|
"end": 919,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 909,
|
|
"end": 919,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 920,
|
|
"end": 926,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 922,
|
|
"end": 926,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
},
|
|
"typeParams": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ClassDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 945,
|
|
"end": 954,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalker",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"span": {
|
|
"start": 939,
|
|
"end": 2261,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"body": [
|
|
{
|
|
"type": "Constructor",
|
|
"span": {
|
|
"start": 987,
|
|
"end": 1231,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 987,
|
|
"end": 998,
|
|
"ctxt": 0
|
|
},
|
|
"value": "constructor",
|
|
"optional": false
|
|
},
|
|
"params": [
|
|
{
|
|
"type": "TsParameterProperty",
|
|
"span": {
|
|
"start": 1013,
|
|
"end": 1056,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"accessibility": "private",
|
|
"override": false,
|
|
"readonly": false,
|
|
"param": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1021,
|
|
"end": 1056,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 1036,
|
|
"end": 1056,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsArrayType",
|
|
"span": {
|
|
"start": 1038,
|
|
"end": 1056,
|
|
"ctxt": 0
|
|
},
|
|
"elemType": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 1038,
|
|
"end": 1054,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1038,
|
|
"end": 1054,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkChildren",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "TsParameterProperty",
|
|
"span": {
|
|
"start": 1070,
|
|
"end": 1099,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"accessibility": "private",
|
|
"override": false,
|
|
"readonly": false,
|
|
"param": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1078,
|
|
"end": 1099,
|
|
"ctxt": 0
|
|
},
|
|
"value": "pre",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 1081,
|
|
"end": 1099,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 1083,
|
|
"end": 1099,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1083,
|
|
"end": 1099,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "TsParameterProperty",
|
|
"span": {
|
|
"start": 1113,
|
|
"end": 1143,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"accessibility": "private",
|
|
"override": false,
|
|
"readonly": false,
|
|
"param": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1121,
|
|
"end": 1143,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 1125,
|
|
"end": 1143,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 1127,
|
|
"end": 1143,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1127,
|
|
"end": 1143,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "TsParameterProperty",
|
|
"span": {
|
|
"start": 1157,
|
|
"end": 1187,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"accessibility": "public",
|
|
"override": false,
|
|
"readonly": false,
|
|
"param": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1164,
|
|
"end": 1187,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 1171,
|
|
"end": 1187,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 1173,
|
|
"end": 1187,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1173,
|
|
"end": 1187,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkOptions",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "TsParameterProperty",
|
|
"span": {
|
|
"start": 1201,
|
|
"end": 1218,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"accessibility": "public",
|
|
"override": false,
|
|
"readonly": false,
|
|
"param": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1208,
|
|
"end": 1218,
|
|
"ctxt": 0
|
|
},
|
|
"value": "state",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 1213,
|
|
"end": 1218,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 1215,
|
|
"end": 1218,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 1220,
|
|
"end": 1231,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": []
|
|
},
|
|
"accessibility": null,
|
|
"isOptional": false
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 1241,
|
|
"end": 2255,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1248,
|
|
"end": 1252,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 1253,
|
|
"end": 1261,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1253,
|
|
"end": 1261,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 1256,
|
|
"end": 1261,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 1258,
|
|
"end": 1261,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1258,
|
|
"end": 1261,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 1263,
|
|
"end": 1274,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1263,
|
|
"end": 1274,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 1269,
|
|
"end": 1274,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 1271,
|
|
"end": 1274,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1271,
|
|
"end": 1274,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 1241,
|
|
"end": 2255,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 1281,
|
|
"end": 2255,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1295,
|
|
"end": 1336,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1299,
|
|
"end": 1335,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1299,
|
|
"end": 1305,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 1308,
|
|
"end": 1335,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1308,
|
|
"end": 1316,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1308,
|
|
"end": 1312,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1313,
|
|
"end": 1316,
|
|
"ctxt": 0
|
|
},
|
|
"value": "pre",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1317,
|
|
"end": 1320,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1322,
|
|
"end": 1328,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1330,
|
|
"end": 1334,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 1349,
|
|
"end": 1420,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 1353,
|
|
"end": 1373,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "===",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1353,
|
|
"end": 1359,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1364,
|
|
"end": 1373,
|
|
"ctxt": 0
|
|
},
|
|
"value": "undefined",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 1375,
|
|
"end": 1420,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1393,
|
|
"end": 1406,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 1393,
|
|
"end": 1405,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1393,
|
|
"end": 1399,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1402,
|
|
"end": 1405,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 1433,
|
|
"end": 1942,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1437,
|
|
"end": 1460,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1437,
|
|
"end": 1449,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1437,
|
|
"end": 1441,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1442,
|
|
"end": 1449,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1450,
|
|
"end": 1460,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goChildren",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 1462,
|
|
"end": 1792,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1480,
|
|
"end": 1521,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1484,
|
|
"end": 1520,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1484,
|
|
"end": 1491,
|
|
"ctxt": 0
|
|
},
|
|
"value": "svGoSib",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1494,
|
|
"end": 1520,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1494,
|
|
"end": 1506,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1494,
|
|
"end": 1498,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1499,
|
|
"end": 1506,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1507,
|
|
"end": 1520,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1538,
|
|
"end": 1572,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 1538,
|
|
"end": 1571,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1538,
|
|
"end": 1564,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1538,
|
|
"end": 1550,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1538,
|
|
"end": 1542,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1543,
|
|
"end": 1550,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1551,
|
|
"end": 1564,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 1567,
|
|
"end": 1571,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1670,
|
|
"end": 1724,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 1670,
|
|
"end": 1723,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1670,
|
|
"end": 1704,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1670,
|
|
"end": 1690,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1670,
|
|
"end": 1674,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1675,
|
|
"end": 1690,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 1690,
|
|
"end": 1704,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1691,
|
|
"end": 1703,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1691,
|
|
"end": 1694,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1695,
|
|
"end": 1703,
|
|
"ctxt": 0
|
|
},
|
|
"value": "nodeType",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1705,
|
|
"end": 1708,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1710,
|
|
"end": 1716,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1718,
|
|
"end": 1722,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1741,
|
|
"end": 1778,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 1741,
|
|
"end": 1777,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1741,
|
|
"end": 1767,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1741,
|
|
"end": 1753,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1741,
|
|
"end": 1745,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1746,
|
|
"end": 1753,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1754,
|
|
"end": 1767,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1770,
|
|
"end": 1777,
|
|
"ctxt": 0
|
|
},
|
|
"value": "svGoSib",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 1810,
|
|
"end": 1942,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 1897,
|
|
"end": 1928,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 1897,
|
|
"end": 1927,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1897,
|
|
"end": 1920,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1897,
|
|
"end": 1909,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1897,
|
|
"end": 1901,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1902,
|
|
"end": 1909,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1910,
|
|
"end": 1920,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goChildren",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"span": {
|
|
"start": 1923,
|
|
"end": 1927,
|
|
"ctxt": 0
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 1955,
|
|
"end": 2245,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 1959,
|
|
"end": 1968,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 1959,
|
|
"end": 1963,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1964,
|
|
"end": 1968,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 1970,
|
|
"end": 2181,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 1988,
|
|
"end": 2034,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 1992,
|
|
"end": 2033,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1992,
|
|
"end": 1999,
|
|
"ctxt": 0
|
|
},
|
|
"value": "postAst",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 2002,
|
|
"end": 2033,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 2002,
|
|
"end": 2011,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 2002,
|
|
"end": 2006,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2007,
|
|
"end": 2011,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2012,
|
|
"end": 2018,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2020,
|
|
"end": 2026,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 2028,
|
|
"end": 2032,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 2051,
|
|
"end": 2135,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 2055,
|
|
"end": 2076,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "===",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2055,
|
|
"end": 2062,
|
|
"ctxt": 0
|
|
},
|
|
"value": "postAst",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2067,
|
|
"end": 2076,
|
|
"ctxt": 0
|
|
},
|
|
"value": "undefined",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 2078,
|
|
"end": 2135,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 2100,
|
|
"end": 2117,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 2100,
|
|
"end": 2116,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2100,
|
|
"end": 2107,
|
|
"ctxt": 0
|
|
},
|
|
"value": "postAst",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2110,
|
|
"end": 2116,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 2152,
|
|
"end": 2167,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2159,
|
|
"end": 2166,
|
|
"ctxt": 0
|
|
},
|
|
"value": "postAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 2199,
|
|
"end": 2245,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 2217,
|
|
"end": 2231,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2224,
|
|
"end": 2230,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 1275,
|
|
"end": 1280,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 1277,
|
|
"end": 1280,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 1277,
|
|
"end": 1280,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"isStatic": false,
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
}
|
|
],
|
|
"superClass": null,
|
|
"isAbstract": false,
|
|
"typeParams": null,
|
|
"superTypeParams": null,
|
|
"implements": [
|
|
{
|
|
"type": "TsExpressionWithTypeArguments",
|
|
"span": {
|
|
"start": 966,
|
|
"end": 976,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 966,
|
|
"end": 976,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeArguments": null
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 2267,
|
|
"end": 13411,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2280,
|
|
"end": 2296,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkerFactory",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"span": {
|
|
"start": 2274,
|
|
"end": 13411,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"body": [
|
|
{
|
|
"type": "ClassProperty",
|
|
"span": {
|
|
"start": 2307,
|
|
"end": 2356,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2315,
|
|
"end": 2330,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
},
|
|
"value": {
|
|
"type": "ArrayExpression",
|
|
"span": {
|
|
"start": 2353,
|
|
"end": 2355,
|
|
"ctxt": 0
|
|
},
|
|
"elements": []
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2330,
|
|
"end": 2350,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsArrayType",
|
|
"span": {
|
|
"start": 2332,
|
|
"end": 2350,
|
|
"ctxt": 0
|
|
},
|
|
"elemType": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2332,
|
|
"end": 2348,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2332,
|
|
"end": 2348,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkChildren",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
"isStatic": false,
|
|
"decorators": [],
|
|
"accessibility": "private",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false,
|
|
"readonly": false,
|
|
"declare": false,
|
|
"definite": false
|
|
},
|
|
{
|
|
"type": "Constructor",
|
|
"span": {
|
|
"start": 2366,
|
|
"end": 2432,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2366,
|
|
"end": 2377,
|
|
"ctxt": 0
|
|
},
|
|
"value": "constructor",
|
|
"optional": false
|
|
},
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 2381,
|
|
"end": 2432,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 2395,
|
|
"end": 2422,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 2395,
|
|
"end": 2421,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 2395,
|
|
"end": 2419,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 2395,
|
|
"end": 2399,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2400,
|
|
"end": 2419,
|
|
"ctxt": 0
|
|
},
|
|
"value": "initChildrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"accessibility": null,
|
|
"isOptional": false
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 2442,
|
|
"end": 2644,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2449,
|
|
"end": 2453,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2454,
|
|
"end": 2462,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2454,
|
|
"end": 2462,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2457,
|
|
"end": 2462,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2459,
|
|
"end": 2462,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2459,
|
|
"end": 2462,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2464,
|
|
"end": 2485,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2464,
|
|
"end": 2485,
|
|
"ctxt": 0
|
|
},
|
|
"value": "pre",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2467,
|
|
"end": 2485,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2469,
|
|
"end": 2485,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2469,
|
|
"end": 2485,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2487,
|
|
"end": 2510,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2487,
|
|
"end": 2510,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2492,
|
|
"end": 2510,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2494,
|
|
"end": 2510,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2494,
|
|
"end": 2510,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2512,
|
|
"end": 2536,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2512,
|
|
"end": 2536,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2520,
|
|
"end": 2536,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2522,
|
|
"end": 2536,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2522,
|
|
"end": 2536,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkOptions",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2538,
|
|
"end": 2549,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2538,
|
|
"end": 2549,
|
|
"ctxt": 0
|
|
},
|
|
"value": "state",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2544,
|
|
"end": 2549,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 2546,
|
|
"end": 2549,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 2442,
|
|
"end": 2644,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 2556,
|
|
"end": 2644,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 2570,
|
|
"end": 2634,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 2577,
|
|
"end": 2634,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 2577,
|
|
"end": 2623,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 2577,
|
|
"end": 2618,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 2577,
|
|
"end": 2591,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 2577,
|
|
"end": 2581,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2582,
|
|
"end": 2591,
|
|
"ctxt": 0
|
|
},
|
|
"value": "getWalker",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2592,
|
|
"end": 2595,
|
|
"ctxt": 0
|
|
},
|
|
"value": "pre",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2597,
|
|
"end": 2601,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2603,
|
|
"end": 2610,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2612,
|
|
"end": 2617,
|
|
"ctxt": 0
|
|
},
|
|
"value": "state",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2619,
|
|
"end": 2623,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2624,
|
|
"end": 2627,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ast",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "NullLiteral",
|
|
"span": {
|
|
"start": 2629,
|
|
"end": 2633,
|
|
"ctxt": 0
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2550,
|
|
"end": 2555,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2552,
|
|
"end": 2555,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2552,
|
|
"end": 2555,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"isStatic": false,
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 2654,
|
|
"end": 2847,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2661,
|
|
"end": 2670,
|
|
"ctxt": 0
|
|
},
|
|
"value": "getWalker",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2671,
|
|
"end": 2692,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2671,
|
|
"end": 2692,
|
|
"ctxt": 0
|
|
},
|
|
"value": "pre",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2674,
|
|
"end": 2692,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2676,
|
|
"end": 2692,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2676,
|
|
"end": 2692,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2694,
|
|
"end": 2717,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2694,
|
|
"end": 2717,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2699,
|
|
"end": 2717,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2701,
|
|
"end": 2717,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2701,
|
|
"end": 2717,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2719,
|
|
"end": 2743,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2719,
|
|
"end": 2743,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2727,
|
|
"end": 2743,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2729,
|
|
"end": 2743,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2729,
|
|
"end": 2743,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkOptions",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2745,
|
|
"end": 2756,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2745,
|
|
"end": 2756,
|
|
"ctxt": 0
|
|
},
|
|
"value": "state",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2751,
|
|
"end": 2756,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 2753,
|
|
"end": 2756,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 2654,
|
|
"end": 2847,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 2770,
|
|
"end": 2847,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 2784,
|
|
"end": 2837,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 2791,
|
|
"end": 2836,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 2791,
|
|
"end": 2809,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 2791,
|
|
"end": 2795,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2796,
|
|
"end": 2809,
|
|
"ctxt": 0
|
|
},
|
|
"value": "getSlowWalker",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2810,
|
|
"end": 2813,
|
|
"ctxt": 0
|
|
},
|
|
"value": "pre",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2815,
|
|
"end": 2819,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2821,
|
|
"end": 2828,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2830,
|
|
"end": 2835,
|
|
"ctxt": 0
|
|
},
|
|
"value": "state",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2757,
|
|
"end": 2769,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2759,
|
|
"end": 2769,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2759,
|
|
"end": 2769,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"isStatic": false,
|
|
"accessibility": "public",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 2857,
|
|
"end": 3163,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2865,
|
|
"end": 2878,
|
|
"ctxt": 0
|
|
},
|
|
"value": "getSlowWalker",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2879,
|
|
"end": 2900,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2879,
|
|
"end": 2900,
|
|
"ctxt": 0
|
|
},
|
|
"value": "pre",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2882,
|
|
"end": 2900,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2884,
|
|
"end": 2900,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2884,
|
|
"end": 2900,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2902,
|
|
"end": 2925,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2902,
|
|
"end": 2925,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2907,
|
|
"end": 2925,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2909,
|
|
"end": 2925,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2909,
|
|
"end": 2925,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalkCallback",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2927,
|
|
"end": 2951,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2927,
|
|
"end": 2951,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2935,
|
|
"end": 2951,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2937,
|
|
"end": 2951,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2937,
|
|
"end": 2951,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkOptions",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 2953,
|
|
"end": 2964,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2953,
|
|
"end": 2964,
|
|
"ctxt": 0
|
|
},
|
|
"value": "state",
|
|
"optional": true,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2959,
|
|
"end": 2964,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 2961,
|
|
"end": 2964,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 2857,
|
|
"end": 3163,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 2978,
|
|
"end": 3163,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 2992,
|
|
"end": 3069,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"span": {
|
|
"start": 2996,
|
|
"end": 3004,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "!",
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2997,
|
|
"end": 3004,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 3006,
|
|
"end": 3069,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3024,
|
|
"end": 3055,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3024,
|
|
"end": 3054,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3024,
|
|
"end": 3031,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "NewExpression",
|
|
"span": {
|
|
"start": 3034,
|
|
"end": 3054,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3038,
|
|
"end": 3052,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkOptions",
|
|
"optional": false
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 3083,
|
|
"end": 3153,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "NewExpression",
|
|
"span": {
|
|
"start": 3090,
|
|
"end": 3152,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3094,
|
|
"end": 3103,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalker",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3104,
|
|
"end": 3124,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3104,
|
|
"end": 3108,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3109,
|
|
"end": 3124,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3126,
|
|
"end": 3129,
|
|
"ctxt": 0
|
|
},
|
|
"value": "pre",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3131,
|
|
"end": 3135,
|
|
"ctxt": 0
|
|
},
|
|
"value": "post",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3137,
|
|
"end": 3144,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3146,
|
|
"end": 3151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "state",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 2965,
|
|
"end": 2977,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 2967,
|
|
"end": 2977,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 2967,
|
|
"end": 2977,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"isStatic": false,
|
|
"accessibility": "private",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
},
|
|
{
|
|
"type": "ClassMethod",
|
|
"span": {
|
|
"start": 3173,
|
|
"end": 13405,
|
|
"ctxt": 0
|
|
},
|
|
"key": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3181,
|
|
"end": 3200,
|
|
"ctxt": 0
|
|
},
|
|
"value": "initChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"function": {
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 3173,
|
|
"end": 13405,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 3209,
|
|
"end": 13405,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3223,
|
|
"end": 3286,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3223,
|
|
"end": 3285,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3223,
|
|
"end": 3258,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3223,
|
|
"end": 3243,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3223,
|
|
"end": 3227,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3228,
|
|
"end": 3243,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3243,
|
|
"end": 3258,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3244,
|
|
"end": 3257,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3244,
|
|
"end": 3252,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3253,
|
|
"end": 3257,
|
|
"ctxt": 0
|
|
},
|
|
"value": "None",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3261,
|
|
"end": 3285,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3261,
|
|
"end": 3276,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3277,
|
|
"end": 3285,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3299,
|
|
"end": 3363,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3299,
|
|
"end": 3362,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3299,
|
|
"end": 3335,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3299,
|
|
"end": 3319,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3299,
|
|
"end": 3303,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3304,
|
|
"end": 3319,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3319,
|
|
"end": 3335,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3320,
|
|
"end": 3334,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3320,
|
|
"end": 3328,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3329,
|
|
"end": 3334,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Empty",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3338,
|
|
"end": 3362,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3338,
|
|
"end": 3353,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3354,
|
|
"end": 3362,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3376,
|
|
"end": 3444,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3376,
|
|
"end": 3443,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3376,
|
|
"end": 3416,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3376,
|
|
"end": 3396,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3376,
|
|
"end": 3380,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3381,
|
|
"end": 3396,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3396,
|
|
"end": 3416,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3397,
|
|
"end": 3415,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3397,
|
|
"end": 3405,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3406,
|
|
"end": 3415,
|
|
"ctxt": 0
|
|
},
|
|
"value": "EmptyExpr",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3419,
|
|
"end": 3443,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3419,
|
|
"end": 3434,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3435,
|
|
"end": 3443,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3457,
|
|
"end": 3520,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3457,
|
|
"end": 3519,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3457,
|
|
"end": 3492,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3457,
|
|
"end": 3477,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3457,
|
|
"end": 3461,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3462,
|
|
"end": 3477,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3477,
|
|
"end": 3492,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3478,
|
|
"end": 3491,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3478,
|
|
"end": 3486,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3487,
|
|
"end": 3491,
|
|
"ctxt": 0
|
|
},
|
|
"value": "True",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3495,
|
|
"end": 3519,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3495,
|
|
"end": 3510,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3511,
|
|
"end": 3519,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3533,
|
|
"end": 3597,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3533,
|
|
"end": 3596,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3533,
|
|
"end": 3569,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3533,
|
|
"end": 3553,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3533,
|
|
"end": 3537,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3538,
|
|
"end": 3553,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3553,
|
|
"end": 3569,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3554,
|
|
"end": 3568,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3554,
|
|
"end": 3562,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3563,
|
|
"end": 3568,
|
|
"ctxt": 0
|
|
},
|
|
"value": "False",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3572,
|
|
"end": 3596,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3572,
|
|
"end": 3587,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3588,
|
|
"end": 3596,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3610,
|
|
"end": 3673,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3610,
|
|
"end": 3672,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3610,
|
|
"end": 3645,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3610,
|
|
"end": 3630,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3610,
|
|
"end": 3614,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3615,
|
|
"end": 3630,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3630,
|
|
"end": 3645,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3631,
|
|
"end": 3644,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3631,
|
|
"end": 3639,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3640,
|
|
"end": 3644,
|
|
"ctxt": 0
|
|
},
|
|
"value": "This",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3648,
|
|
"end": 3672,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3648,
|
|
"end": 3663,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3664,
|
|
"end": 3672,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3686,
|
|
"end": 3750,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3686,
|
|
"end": 3749,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3686,
|
|
"end": 3722,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3686,
|
|
"end": 3706,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3686,
|
|
"end": 3690,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3691,
|
|
"end": 3706,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3706,
|
|
"end": 3722,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3707,
|
|
"end": 3721,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3707,
|
|
"end": 3715,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3716,
|
|
"end": 3721,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Super",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3725,
|
|
"end": 3749,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3725,
|
|
"end": 3740,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3741,
|
|
"end": 3749,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3763,
|
|
"end": 3829,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3763,
|
|
"end": 3828,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3763,
|
|
"end": 3801,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3763,
|
|
"end": 3783,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3763,
|
|
"end": 3767,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3768,
|
|
"end": 3783,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3783,
|
|
"end": 3801,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3784,
|
|
"end": 3800,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3784,
|
|
"end": 3792,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3793,
|
|
"end": 3800,
|
|
"ctxt": 0
|
|
},
|
|
"value": "QString",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3804,
|
|
"end": 3828,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3804,
|
|
"end": 3819,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3820,
|
|
"end": 3828,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3842,
|
|
"end": 3906,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3842,
|
|
"end": 3905,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3842,
|
|
"end": 3878,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3842,
|
|
"end": 3862,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3842,
|
|
"end": 3846,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3847,
|
|
"end": 3862,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3862,
|
|
"end": 3878,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3863,
|
|
"end": 3877,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3863,
|
|
"end": 3871,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3872,
|
|
"end": 3877,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Regex",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3881,
|
|
"end": 3905,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3881,
|
|
"end": 3896,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3897,
|
|
"end": 3905,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3919,
|
|
"end": 3982,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3919,
|
|
"end": 3981,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3919,
|
|
"end": 3954,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3919,
|
|
"end": 3939,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3919,
|
|
"end": 3923,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3924,
|
|
"end": 3939,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 3939,
|
|
"end": 3954,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3940,
|
|
"end": 3953,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3940,
|
|
"end": 3948,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3949,
|
|
"end": 3953,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Null",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3957,
|
|
"end": 3981,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3957,
|
|
"end": 3972,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 3973,
|
|
"end": 3981,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 3995,
|
|
"end": 4081,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 3995,
|
|
"end": 4080,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3995,
|
|
"end": 4034,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 3995,
|
|
"end": 4015,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 3995,
|
|
"end": 3999,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4000,
|
|
"end": 4015,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4015,
|
|
"end": 4034,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4016,
|
|
"end": 4033,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4016,
|
|
"end": 4024,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4025,
|
|
"end": 4033,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ArrayLit",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4037,
|
|
"end": 4080,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4037,
|
|
"end": 4052,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4053,
|
|
"end": 4080,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4094,
|
|
"end": 4181,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4094,
|
|
"end": 4180,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4094,
|
|
"end": 4134,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4094,
|
|
"end": 4114,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4094,
|
|
"end": 4098,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4099,
|
|
"end": 4114,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4114,
|
|
"end": 4134,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4115,
|
|
"end": 4133,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4115,
|
|
"end": 4123,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4124,
|
|
"end": 4133,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ObjectLit",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4137,
|
|
"end": 4180,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4137,
|
|
"end": 4152,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4153,
|
|
"end": 4180,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4194,
|
|
"end": 4276,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4194,
|
|
"end": 4275,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4194,
|
|
"end": 4229,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4194,
|
|
"end": 4214,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4194,
|
|
"end": 4198,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4199,
|
|
"end": 4214,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4214,
|
|
"end": 4229,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4215,
|
|
"end": 4228,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4215,
|
|
"end": 4223,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4224,
|
|
"end": 4228,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Void",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4232,
|
|
"end": 4275,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4232,
|
|
"end": 4247,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4248,
|
|
"end": 4275,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4289,
|
|
"end": 4373,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4289,
|
|
"end": 4372,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4289,
|
|
"end": 4325,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4289,
|
|
"end": 4309,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4289,
|
|
"end": 4293,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4294,
|
|
"end": 4309,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4309,
|
|
"end": 4325,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4310,
|
|
"end": 4324,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4310,
|
|
"end": 4318,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4319,
|
|
"end": 4324,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Comma",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4328,
|
|
"end": 4372,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4328,
|
|
"end": 4343,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4344,
|
|
"end": 4372,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4386,
|
|
"end": 4467,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4386,
|
|
"end": 4466,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4386,
|
|
"end": 4420,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4386,
|
|
"end": 4406,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4386,
|
|
"end": 4390,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4391,
|
|
"end": 4406,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4406,
|
|
"end": 4420,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4407,
|
|
"end": 4419,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4407,
|
|
"end": 4415,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4416,
|
|
"end": 4419,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Pos",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4423,
|
|
"end": 4466,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4423,
|
|
"end": 4438,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4439,
|
|
"end": 4466,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4480,
|
|
"end": 4561,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4480,
|
|
"end": 4560,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4480,
|
|
"end": 4514,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4480,
|
|
"end": 4500,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4480,
|
|
"end": 4484,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4485,
|
|
"end": 4500,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4500,
|
|
"end": 4514,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4501,
|
|
"end": 4513,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4501,
|
|
"end": 4509,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4510,
|
|
"end": 4513,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Neg",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4517,
|
|
"end": 4560,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4517,
|
|
"end": 4532,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4533,
|
|
"end": 4560,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4574,
|
|
"end": 4658,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4574,
|
|
"end": 4657,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4574,
|
|
"end": 4611,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4574,
|
|
"end": 4594,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4574,
|
|
"end": 4578,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4579,
|
|
"end": 4594,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4594,
|
|
"end": 4611,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4595,
|
|
"end": 4610,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4595,
|
|
"end": 4603,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4604,
|
|
"end": 4610,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Delete",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4614,
|
|
"end": 4657,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4614,
|
|
"end": 4629,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4630,
|
|
"end": 4657,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4671,
|
|
"end": 4754,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4671,
|
|
"end": 4753,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4671,
|
|
"end": 4707,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4671,
|
|
"end": 4691,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4671,
|
|
"end": 4675,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4676,
|
|
"end": 4691,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4691,
|
|
"end": 4707,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4692,
|
|
"end": 4706,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4692,
|
|
"end": 4700,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4701,
|
|
"end": 4706,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Await",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4710,
|
|
"end": 4753,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4710,
|
|
"end": 4725,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4726,
|
|
"end": 4753,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4767,
|
|
"end": 4848,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4767,
|
|
"end": 4847,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4767,
|
|
"end": 4800,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4767,
|
|
"end": 4787,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4767,
|
|
"end": 4771,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4772,
|
|
"end": 4787,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4787,
|
|
"end": 4800,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4788,
|
|
"end": 4799,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4788,
|
|
"end": 4796,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4797,
|
|
"end": 4799,
|
|
"ctxt": 0
|
|
},
|
|
"value": "In",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4803,
|
|
"end": 4847,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4803,
|
|
"end": 4818,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4819,
|
|
"end": 4847,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4861,
|
|
"end": 4943,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4861,
|
|
"end": 4942,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4861,
|
|
"end": 4895,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4861,
|
|
"end": 4881,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4861,
|
|
"end": 4865,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4866,
|
|
"end": 4881,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4881,
|
|
"end": 4895,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4882,
|
|
"end": 4894,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4882,
|
|
"end": 4890,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4891,
|
|
"end": 4894,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Dot",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4898,
|
|
"end": 4942,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4898,
|
|
"end": 4913,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4914,
|
|
"end": 4942,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 4956,
|
|
"end": 5039,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 4956,
|
|
"end": 5038,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4956,
|
|
"end": 4991,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4956,
|
|
"end": 4976,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 4956,
|
|
"end": 4960,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4961,
|
|
"end": 4976,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 4976,
|
|
"end": 4991,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4977,
|
|
"end": 4990,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4977,
|
|
"end": 4985,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4986,
|
|
"end": 4990,
|
|
"ctxt": 0
|
|
},
|
|
"value": "From",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 4994,
|
|
"end": 5038,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 4994,
|
|
"end": 5009,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5010,
|
|
"end": 5038,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5052,
|
|
"end": 5133,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5052,
|
|
"end": 5132,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5052,
|
|
"end": 5085,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5052,
|
|
"end": 5072,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5052,
|
|
"end": 5056,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5057,
|
|
"end": 5072,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5072,
|
|
"end": 5085,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5073,
|
|
"end": 5084,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5073,
|
|
"end": 5081,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5082,
|
|
"end": 5084,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Is",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5088,
|
|
"end": 5132,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5088,
|
|
"end": 5103,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5104,
|
|
"end": 5132,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5146,
|
|
"end": 5231,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5146,
|
|
"end": 5230,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5146,
|
|
"end": 5183,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5146,
|
|
"end": 5166,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5146,
|
|
"end": 5150,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5151,
|
|
"end": 5166,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5166,
|
|
"end": 5183,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5167,
|
|
"end": 5182,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5167,
|
|
"end": 5175,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5176,
|
|
"end": 5182,
|
|
"ctxt": 0
|
|
},
|
|
"value": "InstOf",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5186,
|
|
"end": 5230,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5186,
|
|
"end": 5201,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5202,
|
|
"end": 5230,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5244,
|
|
"end": 5328,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5244,
|
|
"end": 5327,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5244,
|
|
"end": 5281,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5244,
|
|
"end": 5264,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5244,
|
|
"end": 5248,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5249,
|
|
"end": 5264,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5264,
|
|
"end": 5281,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5265,
|
|
"end": 5280,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5265,
|
|
"end": 5273,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5274,
|
|
"end": 5280,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Typeof",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5284,
|
|
"end": 5327,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5284,
|
|
"end": 5299,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5300,
|
|
"end": 5327,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5341,
|
|
"end": 5409,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5341,
|
|
"end": 5408,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5341,
|
|
"end": 5381,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5341,
|
|
"end": 5361,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5341,
|
|
"end": 5345,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5346,
|
|
"end": 5361,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5361,
|
|
"end": 5381,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5362,
|
|
"end": 5380,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5362,
|
|
"end": 5370,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5371,
|
|
"end": 5380,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NumberLit",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5384,
|
|
"end": 5408,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5384,
|
|
"end": 5399,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5400,
|
|
"end": 5408,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5422,
|
|
"end": 5485,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5422,
|
|
"end": 5484,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5422,
|
|
"end": 5457,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5422,
|
|
"end": 5442,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5422,
|
|
"end": 5426,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5427,
|
|
"end": 5442,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5442,
|
|
"end": 5457,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5443,
|
|
"end": 5456,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5443,
|
|
"end": 5451,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5452,
|
|
"end": 5456,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Name",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5460,
|
|
"end": 5484,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5460,
|
|
"end": 5475,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5476,
|
|
"end": 5484,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5498,
|
|
"end": 5581,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5498,
|
|
"end": 5580,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5498,
|
|
"end": 5536,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5498,
|
|
"end": 5518,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5498,
|
|
"end": 5502,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5503,
|
|
"end": 5518,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5518,
|
|
"end": 5536,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5519,
|
|
"end": 5535,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5519,
|
|
"end": 5527,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5528,
|
|
"end": 5535,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TypeRef",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5539,
|
|
"end": 5580,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5539,
|
|
"end": 5554,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5555,
|
|
"end": 5580,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTypeReferenceChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5594,
|
|
"end": 5678,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5594,
|
|
"end": 5677,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5594,
|
|
"end": 5630,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5594,
|
|
"end": 5614,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5594,
|
|
"end": 5598,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5599,
|
|
"end": 5614,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5614,
|
|
"end": 5630,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5615,
|
|
"end": 5629,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5615,
|
|
"end": 5623,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5624,
|
|
"end": 5629,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Index",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5633,
|
|
"end": 5677,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5633,
|
|
"end": 5648,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5649,
|
|
"end": 5677,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5691,
|
|
"end": 5772,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5691,
|
|
"end": 5771,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5691,
|
|
"end": 5726,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5691,
|
|
"end": 5711,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5691,
|
|
"end": 5695,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5696,
|
|
"end": 5711,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5711,
|
|
"end": 5726,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5712,
|
|
"end": 5725,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5712,
|
|
"end": 5720,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5721,
|
|
"end": 5725,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Call",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5729,
|
|
"end": 5771,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5729,
|
|
"end": 5744,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5745,
|
|
"end": 5771,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkCallExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5785,
|
|
"end": 5865,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5785,
|
|
"end": 5864,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5785,
|
|
"end": 5819,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5785,
|
|
"end": 5805,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5785,
|
|
"end": 5789,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5790,
|
|
"end": 5805,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5805,
|
|
"end": 5819,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5806,
|
|
"end": 5818,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5806,
|
|
"end": 5814,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5815,
|
|
"end": 5818,
|
|
"ctxt": 0
|
|
},
|
|
"value": "New",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5822,
|
|
"end": 5864,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5822,
|
|
"end": 5837,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5838,
|
|
"end": 5864,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkCallExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5878,
|
|
"end": 5960,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5878,
|
|
"end": 5959,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5878,
|
|
"end": 5912,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5878,
|
|
"end": 5898,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5878,
|
|
"end": 5882,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5883,
|
|
"end": 5898,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5898,
|
|
"end": 5912,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5899,
|
|
"end": 5911,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5899,
|
|
"end": 5907,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5908,
|
|
"end": 5911,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Asg",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5915,
|
|
"end": 5959,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5915,
|
|
"end": 5930,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5931,
|
|
"end": 5959,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 5973,
|
|
"end": 6058,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 5973,
|
|
"end": 6057,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5973,
|
|
"end": 6010,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5973,
|
|
"end": 5993,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 5973,
|
|
"end": 5977,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5978,
|
|
"end": 5993,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 5993,
|
|
"end": 6010,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 5994,
|
|
"end": 6009,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 5994,
|
|
"end": 6002,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6003,
|
|
"end": 6009,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgAdd",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6013,
|
|
"end": 6057,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6013,
|
|
"end": 6028,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6029,
|
|
"end": 6057,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6071,
|
|
"end": 6156,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6071,
|
|
"end": 6155,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6071,
|
|
"end": 6108,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6071,
|
|
"end": 6091,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6071,
|
|
"end": 6075,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6076,
|
|
"end": 6091,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6091,
|
|
"end": 6108,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6092,
|
|
"end": 6107,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6092,
|
|
"end": 6100,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6101,
|
|
"end": 6107,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgSub",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6111,
|
|
"end": 6155,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6111,
|
|
"end": 6126,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6127,
|
|
"end": 6155,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6169,
|
|
"end": 6254,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6169,
|
|
"end": 6253,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6169,
|
|
"end": 6206,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6169,
|
|
"end": 6189,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6169,
|
|
"end": 6173,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6174,
|
|
"end": 6189,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6189,
|
|
"end": 6206,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6190,
|
|
"end": 6205,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6190,
|
|
"end": 6198,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6199,
|
|
"end": 6205,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgDiv",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6209,
|
|
"end": 6253,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6209,
|
|
"end": 6224,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6225,
|
|
"end": 6253,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6267,
|
|
"end": 6352,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6267,
|
|
"end": 6351,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6267,
|
|
"end": 6304,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6267,
|
|
"end": 6287,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6267,
|
|
"end": 6271,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6272,
|
|
"end": 6287,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6287,
|
|
"end": 6304,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6288,
|
|
"end": 6303,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6288,
|
|
"end": 6296,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6297,
|
|
"end": 6303,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgMul",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6307,
|
|
"end": 6351,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6307,
|
|
"end": 6322,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6323,
|
|
"end": 6351,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6365,
|
|
"end": 6450,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6365,
|
|
"end": 6449,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6365,
|
|
"end": 6402,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6365,
|
|
"end": 6385,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6365,
|
|
"end": 6369,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6370,
|
|
"end": 6385,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6385,
|
|
"end": 6402,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6386,
|
|
"end": 6401,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6386,
|
|
"end": 6394,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6395,
|
|
"end": 6401,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgMod",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6405,
|
|
"end": 6449,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6405,
|
|
"end": 6420,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6421,
|
|
"end": 6449,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6463,
|
|
"end": 6548,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6463,
|
|
"end": 6547,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6463,
|
|
"end": 6500,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6463,
|
|
"end": 6483,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6463,
|
|
"end": 6467,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6468,
|
|
"end": 6483,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6483,
|
|
"end": 6500,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6484,
|
|
"end": 6499,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6484,
|
|
"end": 6492,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6493,
|
|
"end": 6499,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgAnd",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6503,
|
|
"end": 6547,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6503,
|
|
"end": 6518,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6519,
|
|
"end": 6547,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6561,
|
|
"end": 6646,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6561,
|
|
"end": 6645,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6561,
|
|
"end": 6598,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6561,
|
|
"end": 6581,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6561,
|
|
"end": 6565,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6566,
|
|
"end": 6581,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6581,
|
|
"end": 6598,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6582,
|
|
"end": 6597,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6582,
|
|
"end": 6590,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6591,
|
|
"end": 6597,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgXor",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6601,
|
|
"end": 6645,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6601,
|
|
"end": 6616,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6617,
|
|
"end": 6645,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6659,
|
|
"end": 6743,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6659,
|
|
"end": 6742,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6659,
|
|
"end": 6695,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6659,
|
|
"end": 6679,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6659,
|
|
"end": 6663,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6664,
|
|
"end": 6679,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6679,
|
|
"end": 6695,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6680,
|
|
"end": 6694,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6680,
|
|
"end": 6688,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6689,
|
|
"end": 6694,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgOr",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6698,
|
|
"end": 6742,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6698,
|
|
"end": 6713,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6714,
|
|
"end": 6742,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6756,
|
|
"end": 6841,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6756,
|
|
"end": 6840,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6756,
|
|
"end": 6793,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6756,
|
|
"end": 6776,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6756,
|
|
"end": 6760,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6761,
|
|
"end": 6776,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6776,
|
|
"end": 6793,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6777,
|
|
"end": 6792,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6777,
|
|
"end": 6785,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6786,
|
|
"end": 6792,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgLsh",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6796,
|
|
"end": 6840,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6796,
|
|
"end": 6811,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6812,
|
|
"end": 6840,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6854,
|
|
"end": 6939,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6854,
|
|
"end": 6938,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6854,
|
|
"end": 6891,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6854,
|
|
"end": 6874,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6854,
|
|
"end": 6858,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6859,
|
|
"end": 6874,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6874,
|
|
"end": 6891,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6875,
|
|
"end": 6890,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6875,
|
|
"end": 6883,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6884,
|
|
"end": 6890,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgRsh",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6894,
|
|
"end": 6938,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6894,
|
|
"end": 6909,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6910,
|
|
"end": 6938,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 6952,
|
|
"end": 7037,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 6952,
|
|
"end": 7036,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6952,
|
|
"end": 6989,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6952,
|
|
"end": 6972,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 6952,
|
|
"end": 6956,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6957,
|
|
"end": 6972,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 6972,
|
|
"end": 6989,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6973,
|
|
"end": 6988,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6973,
|
|
"end": 6981,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6982,
|
|
"end": 6988,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AsgRs2",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 6992,
|
|
"end": 7036,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 6992,
|
|
"end": 7007,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7008,
|
|
"end": 7036,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7050,
|
|
"end": 7151,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7050,
|
|
"end": 7150,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7050,
|
|
"end": 7102,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7050,
|
|
"end": 7070,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7050,
|
|
"end": 7054,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7055,
|
|
"end": 7070,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7070,
|
|
"end": 7102,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7071,
|
|
"end": 7101,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7071,
|
|
"end": 7079,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7080,
|
|
"end": 7101,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ConditionalExpression",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7105,
|
|
"end": 7150,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7105,
|
|
"end": 7120,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7121,
|
|
"end": 7150,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTrinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7164,
|
|
"end": 7248,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7164,
|
|
"end": 7247,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7164,
|
|
"end": 7200,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7164,
|
|
"end": 7184,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7164,
|
|
"end": 7168,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7169,
|
|
"end": 7184,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7184,
|
|
"end": 7200,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7185,
|
|
"end": 7199,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7185,
|
|
"end": 7193,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7194,
|
|
"end": 7199,
|
|
"ctxt": 0
|
|
},
|
|
"value": "LogOr",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7203,
|
|
"end": 7247,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7203,
|
|
"end": 7218,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7219,
|
|
"end": 7247,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7261,
|
|
"end": 7346,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7261,
|
|
"end": 7345,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7261,
|
|
"end": 7298,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7261,
|
|
"end": 7281,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7261,
|
|
"end": 7265,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7266,
|
|
"end": 7281,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7281,
|
|
"end": 7298,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7282,
|
|
"end": 7297,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7282,
|
|
"end": 7290,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7291,
|
|
"end": 7297,
|
|
"ctxt": 0
|
|
},
|
|
"value": "LogAnd",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7301,
|
|
"end": 7345,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7301,
|
|
"end": 7316,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7317,
|
|
"end": 7345,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7359,
|
|
"end": 7440,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7359,
|
|
"end": 7439,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7359,
|
|
"end": 7392,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7359,
|
|
"end": 7379,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7359,
|
|
"end": 7363,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7364,
|
|
"end": 7379,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7379,
|
|
"end": 7392,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7380,
|
|
"end": 7391,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7380,
|
|
"end": 7388,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7389,
|
|
"end": 7391,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Or",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7395,
|
|
"end": 7439,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7395,
|
|
"end": 7410,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7411,
|
|
"end": 7439,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7453,
|
|
"end": 7535,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7453,
|
|
"end": 7534,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7453,
|
|
"end": 7487,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7453,
|
|
"end": 7473,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7453,
|
|
"end": 7457,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7458,
|
|
"end": 7473,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7473,
|
|
"end": 7487,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7474,
|
|
"end": 7486,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7474,
|
|
"end": 7482,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7483,
|
|
"end": 7486,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Xor",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7490,
|
|
"end": 7534,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7490,
|
|
"end": 7505,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7506,
|
|
"end": 7534,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7548,
|
|
"end": 7630,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7548,
|
|
"end": 7629,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7548,
|
|
"end": 7582,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7548,
|
|
"end": 7568,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7548,
|
|
"end": 7552,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7553,
|
|
"end": 7568,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7568,
|
|
"end": 7582,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7569,
|
|
"end": 7581,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7569,
|
|
"end": 7577,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7578,
|
|
"end": 7581,
|
|
"ctxt": 0
|
|
},
|
|
"value": "And",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7585,
|
|
"end": 7629,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7585,
|
|
"end": 7600,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7601,
|
|
"end": 7629,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7643,
|
|
"end": 7724,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7643,
|
|
"end": 7723,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7643,
|
|
"end": 7676,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7643,
|
|
"end": 7663,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7643,
|
|
"end": 7647,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7648,
|
|
"end": 7663,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7663,
|
|
"end": 7676,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7664,
|
|
"end": 7675,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7664,
|
|
"end": 7672,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7673,
|
|
"end": 7675,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Eq",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7679,
|
|
"end": 7723,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7679,
|
|
"end": 7694,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7695,
|
|
"end": 7723,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7737,
|
|
"end": 7818,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7737,
|
|
"end": 7817,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7737,
|
|
"end": 7770,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7737,
|
|
"end": 7757,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7737,
|
|
"end": 7741,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7742,
|
|
"end": 7757,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7757,
|
|
"end": 7770,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7758,
|
|
"end": 7769,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7758,
|
|
"end": 7766,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7767,
|
|
"end": 7769,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Ne",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7773,
|
|
"end": 7817,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7773,
|
|
"end": 7788,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7789,
|
|
"end": 7817,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7831,
|
|
"end": 7913,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7831,
|
|
"end": 7912,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7831,
|
|
"end": 7865,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7831,
|
|
"end": 7851,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7831,
|
|
"end": 7835,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7836,
|
|
"end": 7851,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7851,
|
|
"end": 7865,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7852,
|
|
"end": 7864,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7852,
|
|
"end": 7860,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7861,
|
|
"end": 7864,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Eqv",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7868,
|
|
"end": 7912,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7868,
|
|
"end": 7883,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7884,
|
|
"end": 7912,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 7926,
|
|
"end": 8009,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 7926,
|
|
"end": 8008,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7926,
|
|
"end": 7961,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7926,
|
|
"end": 7946,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 7926,
|
|
"end": 7930,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7931,
|
|
"end": 7946,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 7946,
|
|
"end": 7961,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7947,
|
|
"end": 7960,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7947,
|
|
"end": 7955,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7956,
|
|
"end": 7960,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NEqv",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 7964,
|
|
"end": 8008,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7964,
|
|
"end": 7979,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 7980,
|
|
"end": 8008,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8022,
|
|
"end": 8103,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8022,
|
|
"end": 8102,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8022,
|
|
"end": 8055,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8022,
|
|
"end": 8042,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8022,
|
|
"end": 8026,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8027,
|
|
"end": 8042,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8042,
|
|
"end": 8055,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8043,
|
|
"end": 8054,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8043,
|
|
"end": 8051,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8052,
|
|
"end": 8054,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Lt",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8058,
|
|
"end": 8102,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8058,
|
|
"end": 8073,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8074,
|
|
"end": 8102,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8116,
|
|
"end": 8197,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8116,
|
|
"end": 8196,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8116,
|
|
"end": 8149,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8116,
|
|
"end": 8136,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8116,
|
|
"end": 8120,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8121,
|
|
"end": 8136,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8136,
|
|
"end": 8149,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8137,
|
|
"end": 8148,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8137,
|
|
"end": 8145,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8146,
|
|
"end": 8148,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Le",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8152,
|
|
"end": 8196,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8152,
|
|
"end": 8167,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8168,
|
|
"end": 8196,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8210,
|
|
"end": 8291,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8210,
|
|
"end": 8290,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8210,
|
|
"end": 8243,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8210,
|
|
"end": 8230,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8210,
|
|
"end": 8214,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8215,
|
|
"end": 8230,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8230,
|
|
"end": 8243,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8231,
|
|
"end": 8242,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8231,
|
|
"end": 8239,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8240,
|
|
"end": 8242,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Gt",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8246,
|
|
"end": 8290,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8246,
|
|
"end": 8261,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8262,
|
|
"end": 8290,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8304,
|
|
"end": 8385,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8304,
|
|
"end": 8384,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8304,
|
|
"end": 8337,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8304,
|
|
"end": 8324,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8304,
|
|
"end": 8308,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8309,
|
|
"end": 8324,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8324,
|
|
"end": 8337,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8325,
|
|
"end": 8336,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8325,
|
|
"end": 8333,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8334,
|
|
"end": 8336,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Ge",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8340,
|
|
"end": 8384,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8340,
|
|
"end": 8355,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8356,
|
|
"end": 8384,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8398,
|
|
"end": 8480,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8398,
|
|
"end": 8479,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8398,
|
|
"end": 8432,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8398,
|
|
"end": 8418,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8398,
|
|
"end": 8402,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8403,
|
|
"end": 8418,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8418,
|
|
"end": 8432,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8419,
|
|
"end": 8431,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8419,
|
|
"end": 8427,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8428,
|
|
"end": 8431,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Add",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8435,
|
|
"end": 8479,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8435,
|
|
"end": 8450,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8451,
|
|
"end": 8479,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8493,
|
|
"end": 8575,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8493,
|
|
"end": 8574,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8493,
|
|
"end": 8527,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8493,
|
|
"end": 8513,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8493,
|
|
"end": 8497,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8498,
|
|
"end": 8513,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8513,
|
|
"end": 8527,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8514,
|
|
"end": 8526,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8514,
|
|
"end": 8522,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8523,
|
|
"end": 8526,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Sub",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8530,
|
|
"end": 8574,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8530,
|
|
"end": 8545,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8546,
|
|
"end": 8574,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8588,
|
|
"end": 8670,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8588,
|
|
"end": 8669,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8588,
|
|
"end": 8622,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8588,
|
|
"end": 8608,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8588,
|
|
"end": 8592,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8593,
|
|
"end": 8608,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8608,
|
|
"end": 8622,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8609,
|
|
"end": 8621,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8609,
|
|
"end": 8617,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8618,
|
|
"end": 8621,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Mul",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8625,
|
|
"end": 8669,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8625,
|
|
"end": 8640,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8641,
|
|
"end": 8669,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8683,
|
|
"end": 8765,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8683,
|
|
"end": 8764,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8683,
|
|
"end": 8717,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8683,
|
|
"end": 8703,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8683,
|
|
"end": 8687,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8688,
|
|
"end": 8703,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8703,
|
|
"end": 8717,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8704,
|
|
"end": 8716,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8704,
|
|
"end": 8712,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8713,
|
|
"end": 8716,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Div",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8720,
|
|
"end": 8764,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8720,
|
|
"end": 8735,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8736,
|
|
"end": 8764,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8778,
|
|
"end": 8860,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8778,
|
|
"end": 8859,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8778,
|
|
"end": 8812,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8778,
|
|
"end": 8798,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8778,
|
|
"end": 8782,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8783,
|
|
"end": 8798,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8798,
|
|
"end": 8812,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8799,
|
|
"end": 8811,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8799,
|
|
"end": 8807,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8808,
|
|
"end": 8811,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Mod",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8815,
|
|
"end": 8859,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8815,
|
|
"end": 8830,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8831,
|
|
"end": 8859,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8873,
|
|
"end": 8955,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8873,
|
|
"end": 8954,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8873,
|
|
"end": 8907,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8873,
|
|
"end": 8893,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8873,
|
|
"end": 8877,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8878,
|
|
"end": 8893,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8893,
|
|
"end": 8907,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8894,
|
|
"end": 8906,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8894,
|
|
"end": 8902,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8903,
|
|
"end": 8906,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Lsh",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8910,
|
|
"end": 8954,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8910,
|
|
"end": 8925,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8926,
|
|
"end": 8954,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 8968,
|
|
"end": 9050,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 8968,
|
|
"end": 9049,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8968,
|
|
"end": 9002,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8968,
|
|
"end": 8988,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 8968,
|
|
"end": 8972,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8973,
|
|
"end": 8988,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 8988,
|
|
"end": 9002,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 8989,
|
|
"end": 9001,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8989,
|
|
"end": 8997,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 8998,
|
|
"end": 9001,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Rsh",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9005,
|
|
"end": 9049,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9005,
|
|
"end": 9020,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9021,
|
|
"end": 9049,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9063,
|
|
"end": 9145,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9063,
|
|
"end": 9144,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9063,
|
|
"end": 9097,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9063,
|
|
"end": 9083,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9063,
|
|
"end": 9067,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9068,
|
|
"end": 9083,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9083,
|
|
"end": 9097,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9084,
|
|
"end": 9096,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9084,
|
|
"end": 9092,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9093,
|
|
"end": 9096,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Rs2",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9100,
|
|
"end": 9144,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9100,
|
|
"end": 9115,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9116,
|
|
"end": 9144,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9158,
|
|
"end": 9239,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9158,
|
|
"end": 9238,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9158,
|
|
"end": 9192,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9158,
|
|
"end": 9178,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9158,
|
|
"end": 9162,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9163,
|
|
"end": 9178,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9178,
|
|
"end": 9192,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9179,
|
|
"end": 9191,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9179,
|
|
"end": 9187,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9188,
|
|
"end": 9191,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Not",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9195,
|
|
"end": 9238,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9195,
|
|
"end": 9210,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9211,
|
|
"end": 9238,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9252,
|
|
"end": 9336,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9252,
|
|
"end": 9335,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9252,
|
|
"end": 9289,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9252,
|
|
"end": 9272,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9252,
|
|
"end": 9256,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9257,
|
|
"end": 9272,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9272,
|
|
"end": 9289,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9273,
|
|
"end": 9288,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9273,
|
|
"end": 9281,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9282,
|
|
"end": 9288,
|
|
"ctxt": 0
|
|
},
|
|
"value": "LogNot",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9292,
|
|
"end": 9335,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9292,
|
|
"end": 9307,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9308,
|
|
"end": 9335,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9349,
|
|
"end": 9433,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9349,
|
|
"end": 9432,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9349,
|
|
"end": 9386,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9349,
|
|
"end": 9369,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9349,
|
|
"end": 9353,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9354,
|
|
"end": 9369,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9369,
|
|
"end": 9386,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9370,
|
|
"end": 9385,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9370,
|
|
"end": 9378,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9379,
|
|
"end": 9385,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IncPre",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9389,
|
|
"end": 9432,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9389,
|
|
"end": 9404,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9405,
|
|
"end": 9432,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9446,
|
|
"end": 9530,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9446,
|
|
"end": 9529,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9446,
|
|
"end": 9483,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9446,
|
|
"end": 9466,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9446,
|
|
"end": 9450,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9451,
|
|
"end": 9466,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9466,
|
|
"end": 9483,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9467,
|
|
"end": 9482,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9467,
|
|
"end": 9475,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9476,
|
|
"end": 9482,
|
|
"ctxt": 0
|
|
},
|
|
"value": "DecPre",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9486,
|
|
"end": 9529,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9486,
|
|
"end": 9501,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9502,
|
|
"end": 9529,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9543,
|
|
"end": 9628,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9543,
|
|
"end": 9627,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9543,
|
|
"end": 9581,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9543,
|
|
"end": 9563,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9543,
|
|
"end": 9547,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9548,
|
|
"end": 9563,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9563,
|
|
"end": 9581,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9564,
|
|
"end": 9580,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9564,
|
|
"end": 9572,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9573,
|
|
"end": 9580,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IncPost",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9584,
|
|
"end": 9627,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9584,
|
|
"end": 9599,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9600,
|
|
"end": 9627,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9641,
|
|
"end": 9726,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9641,
|
|
"end": 9725,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9641,
|
|
"end": 9679,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9641,
|
|
"end": 9661,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9641,
|
|
"end": 9645,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9646,
|
|
"end": 9661,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9661,
|
|
"end": 9679,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9662,
|
|
"end": 9678,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9662,
|
|
"end": 9670,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9671,
|
|
"end": 9678,
|
|
"ctxt": 0
|
|
},
|
|
"value": "DecPost",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9682,
|
|
"end": 9725,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9682,
|
|
"end": 9697,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9698,
|
|
"end": 9725,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9739,
|
|
"end": 9830,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9739,
|
|
"end": 9829,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9739,
|
|
"end": 9783,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9739,
|
|
"end": 9759,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9739,
|
|
"end": 9743,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9744,
|
|
"end": 9759,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9759,
|
|
"end": 9783,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9760,
|
|
"end": 9782,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9760,
|
|
"end": 9768,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9769,
|
|
"end": 9782,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TypeAssertion",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9786,
|
|
"end": 9829,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9786,
|
|
"end": 9801,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9802,
|
|
"end": 9829,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9843,
|
|
"end": 9922,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9843,
|
|
"end": 9921,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9843,
|
|
"end": 9882,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9843,
|
|
"end": 9863,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9843,
|
|
"end": 9847,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9848,
|
|
"end": 9863,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9863,
|
|
"end": 9882,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9864,
|
|
"end": 9881,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9864,
|
|
"end": 9872,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9873,
|
|
"end": 9881,
|
|
"ctxt": 0
|
|
},
|
|
"value": "FuncDecl",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9885,
|
|
"end": 9921,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9885,
|
|
"end": 9900,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9901,
|
|
"end": 9921,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkFuncDeclChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 9935,
|
|
"end": 10020,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 9935,
|
|
"end": 10019,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9935,
|
|
"end": 9972,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9935,
|
|
"end": 9955,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 9935,
|
|
"end": 9939,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9940,
|
|
"end": 9955,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 9955,
|
|
"end": 9972,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9956,
|
|
"end": 9971,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9956,
|
|
"end": 9964,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9965,
|
|
"end": 9971,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Member",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 9975,
|
|
"end": 10019,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9975,
|
|
"end": 9990,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 9991,
|
|
"end": 10019,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10033,
|
|
"end": 10112,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10033,
|
|
"end": 10111,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10033,
|
|
"end": 10071,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10033,
|
|
"end": 10053,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10033,
|
|
"end": 10037,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10038,
|
|
"end": 10053,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10053,
|
|
"end": 10071,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10054,
|
|
"end": 10070,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10054,
|
|
"end": 10062,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10063,
|
|
"end": 10070,
|
|
"ctxt": 0
|
|
},
|
|
"value": "VarDecl",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10074,
|
|
"end": 10111,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10074,
|
|
"end": 10089,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10090,
|
|
"end": 10111,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBoundDeclChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10125,
|
|
"end": 10204,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10125,
|
|
"end": 10203,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10125,
|
|
"end": 10163,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10125,
|
|
"end": 10145,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10125,
|
|
"end": 10129,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10130,
|
|
"end": 10145,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10145,
|
|
"end": 10163,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10146,
|
|
"end": 10162,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10146,
|
|
"end": 10154,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10155,
|
|
"end": 10162,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ArgDecl",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10166,
|
|
"end": 10203,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10166,
|
|
"end": 10181,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10182,
|
|
"end": 10203,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBoundDeclChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10217,
|
|
"end": 10301,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10217,
|
|
"end": 10300,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10217,
|
|
"end": 10254,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10217,
|
|
"end": 10237,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10217,
|
|
"end": 10221,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10222,
|
|
"end": 10237,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10237,
|
|
"end": 10254,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10238,
|
|
"end": 10253,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10238,
|
|
"end": 10246,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10247,
|
|
"end": 10253,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Return",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10257,
|
|
"end": 10300,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10257,
|
|
"end": 10272,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10273,
|
|
"end": 10300,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkReturnStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10314,
|
|
"end": 10378,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10314,
|
|
"end": 10377,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10314,
|
|
"end": 10350,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10314,
|
|
"end": 10334,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10314,
|
|
"end": 10318,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10319,
|
|
"end": 10334,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10334,
|
|
"end": 10350,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10335,
|
|
"end": 10349,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10335,
|
|
"end": 10343,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10344,
|
|
"end": 10349,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Break",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10353,
|
|
"end": 10377,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10353,
|
|
"end": 10368,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10369,
|
|
"end": 10377,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10391,
|
|
"end": 10458,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10391,
|
|
"end": 10457,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10391,
|
|
"end": 10430,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10391,
|
|
"end": 10411,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10391,
|
|
"end": 10395,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10396,
|
|
"end": 10411,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10411,
|
|
"end": 10430,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10412,
|
|
"end": 10429,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10412,
|
|
"end": 10420,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10421,
|
|
"end": 10429,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Continue",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10433,
|
|
"end": 10457,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10433,
|
|
"end": 10448,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10449,
|
|
"end": 10457,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10471,
|
|
"end": 10554,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10471,
|
|
"end": 10553,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10471,
|
|
"end": 10507,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10471,
|
|
"end": 10491,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10471,
|
|
"end": 10475,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10476,
|
|
"end": 10491,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10491,
|
|
"end": 10507,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10492,
|
|
"end": 10506,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10492,
|
|
"end": 10500,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10501,
|
|
"end": 10506,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Throw",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10510,
|
|
"end": 10553,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10510,
|
|
"end": 10525,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10526,
|
|
"end": 10553,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10567,
|
|
"end": 10645,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10567,
|
|
"end": 10644,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10567,
|
|
"end": 10601,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10567,
|
|
"end": 10587,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10567,
|
|
"end": 10571,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10572,
|
|
"end": 10587,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10587,
|
|
"end": 10601,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10588,
|
|
"end": 10600,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10588,
|
|
"end": 10596,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10597,
|
|
"end": 10600,
|
|
"ctxt": 0
|
|
},
|
|
"value": "For",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10604,
|
|
"end": 10644,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10604,
|
|
"end": 10619,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10620,
|
|
"end": 10644,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkForStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10658,
|
|
"end": 10740,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10658,
|
|
"end": 10739,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10658,
|
|
"end": 10694,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10658,
|
|
"end": 10678,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10658,
|
|
"end": 10662,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10663,
|
|
"end": 10678,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10678,
|
|
"end": 10694,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10679,
|
|
"end": 10693,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10679,
|
|
"end": 10687,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10688,
|
|
"end": 10693,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ForIn",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10697,
|
|
"end": 10739,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10697,
|
|
"end": 10712,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10713,
|
|
"end": 10739,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkForInStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10753,
|
|
"end": 10829,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10753,
|
|
"end": 10828,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10753,
|
|
"end": 10786,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10753,
|
|
"end": 10773,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10753,
|
|
"end": 10757,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10758,
|
|
"end": 10773,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10773,
|
|
"end": 10786,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10774,
|
|
"end": 10785,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10774,
|
|
"end": 10782,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10783,
|
|
"end": 10785,
|
|
"ctxt": 0
|
|
},
|
|
"value": "If",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10789,
|
|
"end": 10828,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10789,
|
|
"end": 10804,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10805,
|
|
"end": 10828,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkIfStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10842,
|
|
"end": 10924,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10842,
|
|
"end": 10923,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10842,
|
|
"end": 10878,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10842,
|
|
"end": 10862,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10842,
|
|
"end": 10846,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10847,
|
|
"end": 10862,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10862,
|
|
"end": 10878,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10863,
|
|
"end": 10877,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10863,
|
|
"end": 10871,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10872,
|
|
"end": 10877,
|
|
"ctxt": 0
|
|
},
|
|
"value": "While",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10881,
|
|
"end": 10923,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10881,
|
|
"end": 10896,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10897,
|
|
"end": 10923,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkWhileStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 10937,
|
|
"end": 11023,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 10937,
|
|
"end": 11022,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10937,
|
|
"end": 10975,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10937,
|
|
"end": 10957,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 10937,
|
|
"end": 10941,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10942,
|
|
"end": 10957,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 10957,
|
|
"end": 10975,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10958,
|
|
"end": 10974,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10958,
|
|
"end": 10966,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10967,
|
|
"end": 10974,
|
|
"ctxt": 0
|
|
},
|
|
"value": "DoWhile",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 10978,
|
|
"end": 11022,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10978,
|
|
"end": 10993,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 10994,
|
|
"end": 11022,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkDoWhileStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11036,
|
|
"end": 11109,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11036,
|
|
"end": 11108,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11036,
|
|
"end": 11072,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11036,
|
|
"end": 11056,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11036,
|
|
"end": 11040,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11041,
|
|
"end": 11056,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11056,
|
|
"end": 11072,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11057,
|
|
"end": 11071,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11057,
|
|
"end": 11065,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11066,
|
|
"end": 11071,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Block",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11075,
|
|
"end": 11108,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11075,
|
|
"end": 11090,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11091,
|
|
"end": 11108,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBlockChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11122,
|
|
"end": 11202,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11122,
|
|
"end": 11201,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11122,
|
|
"end": 11157,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11122,
|
|
"end": 11142,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11122,
|
|
"end": 11126,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11127,
|
|
"end": 11142,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11142,
|
|
"end": 11157,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11143,
|
|
"end": 11156,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11143,
|
|
"end": 11151,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11152,
|
|
"end": 11156,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Case",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11160,
|
|
"end": 11201,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11160,
|
|
"end": 11175,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11176,
|
|
"end": 11201,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkCaseStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11215,
|
|
"end": 11299,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11215,
|
|
"end": 11298,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11215,
|
|
"end": 11252,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11215,
|
|
"end": 11235,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11215,
|
|
"end": 11219,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11220,
|
|
"end": 11235,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11235,
|
|
"end": 11252,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11236,
|
|
"end": 11251,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11236,
|
|
"end": 11244,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11245,
|
|
"end": 11251,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Switch",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11255,
|
|
"end": 11298,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11255,
|
|
"end": 11270,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11271,
|
|
"end": 11298,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkSwitchStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11312,
|
|
"end": 11381,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11312,
|
|
"end": 11380,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11312,
|
|
"end": 11346,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11312,
|
|
"end": 11332,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11312,
|
|
"end": 11316,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11317,
|
|
"end": 11332,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11332,
|
|
"end": 11346,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11333,
|
|
"end": 11345,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11333,
|
|
"end": 11341,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11342,
|
|
"end": 11345,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Try",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11349,
|
|
"end": 11380,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11349,
|
|
"end": 11364,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11365,
|
|
"end": 11380,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTryChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11394,
|
|
"end": 11473,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11394,
|
|
"end": 11472,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11394,
|
|
"end": 11433,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11394,
|
|
"end": 11414,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11394,
|
|
"end": 11398,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11399,
|
|
"end": 11414,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11414,
|
|
"end": 11433,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11415,
|
|
"end": 11432,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11415,
|
|
"end": 11423,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11424,
|
|
"end": 11432,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TryCatch",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11436,
|
|
"end": 11472,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11436,
|
|
"end": 11451,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11452,
|
|
"end": 11472,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTryCatchChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11486,
|
|
"end": 11569,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11486,
|
|
"end": 11568,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11486,
|
|
"end": 11527,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11486,
|
|
"end": 11506,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11486,
|
|
"end": 11490,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11491,
|
|
"end": 11506,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11506,
|
|
"end": 11527,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11507,
|
|
"end": 11526,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11507,
|
|
"end": 11515,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11516,
|
|
"end": 11526,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TryFinally",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11530,
|
|
"end": 11568,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11530,
|
|
"end": 11545,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11546,
|
|
"end": 11568,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTryFinallyChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11582,
|
|
"end": 11659,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11582,
|
|
"end": 11658,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11582,
|
|
"end": 11620,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11582,
|
|
"end": 11602,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11582,
|
|
"end": 11586,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11587,
|
|
"end": 11602,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11602,
|
|
"end": 11620,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11603,
|
|
"end": 11619,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11603,
|
|
"end": 11611,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11612,
|
|
"end": 11619,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Finally",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11623,
|
|
"end": 11658,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11623,
|
|
"end": 11638,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11639,
|
|
"end": 11658,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkFinallyChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11672,
|
|
"end": 11745,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11672,
|
|
"end": 11744,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11672,
|
|
"end": 11708,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11672,
|
|
"end": 11692,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11672,
|
|
"end": 11676,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11677,
|
|
"end": 11692,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11692,
|
|
"end": 11708,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11693,
|
|
"end": 11707,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11693,
|
|
"end": 11701,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11702,
|
|
"end": 11707,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Catch",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11711,
|
|
"end": 11744,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11711,
|
|
"end": 11726,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11727,
|
|
"end": 11744,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkCatchChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11758,
|
|
"end": 11829,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11758,
|
|
"end": 11828,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11758,
|
|
"end": 11793,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11758,
|
|
"end": 11778,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11758,
|
|
"end": 11762,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11763,
|
|
"end": 11778,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11778,
|
|
"end": 11793,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11779,
|
|
"end": 11792,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11779,
|
|
"end": 11787,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11788,
|
|
"end": 11792,
|
|
"ctxt": 0
|
|
},
|
|
"value": "List",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11796,
|
|
"end": 11828,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11796,
|
|
"end": 11811,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11812,
|
|
"end": 11828,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkListChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11842,
|
|
"end": 11917,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11842,
|
|
"end": 11916,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11842,
|
|
"end": 11879,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11842,
|
|
"end": 11862,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11842,
|
|
"end": 11846,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11847,
|
|
"end": 11862,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11862,
|
|
"end": 11879,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11863,
|
|
"end": 11878,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11863,
|
|
"end": 11871,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11872,
|
|
"end": 11878,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Script",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11882,
|
|
"end": 11916,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11882,
|
|
"end": 11897,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11898,
|
|
"end": 11916,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkScriptChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 11930,
|
|
"end": 12018,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 11930,
|
|
"end": 12017,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11930,
|
|
"end": 11977,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11930,
|
|
"end": 11950,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 11930,
|
|
"end": 11934,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11935,
|
|
"end": 11950,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 11950,
|
|
"end": 11977,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11951,
|
|
"end": 11976,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11951,
|
|
"end": 11959,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11960,
|
|
"end": 11976,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ClassDeclaration",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 11980,
|
|
"end": 12017,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11980,
|
|
"end": 11995,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 11996,
|
|
"end": 12017,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkClassDeclChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12031,
|
|
"end": 12122,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12031,
|
|
"end": 12121,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12031,
|
|
"end": 12082,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12031,
|
|
"end": 12051,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12031,
|
|
"end": 12035,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12036,
|
|
"end": 12051,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12051,
|
|
"end": 12082,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12052,
|
|
"end": 12081,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12052,
|
|
"end": 12060,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12061,
|
|
"end": 12081,
|
|
"ctxt": 0
|
|
},
|
|
"value": "InterfaceDeclaration",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12085,
|
|
"end": 12121,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12085,
|
|
"end": 12100,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12101,
|
|
"end": 12121,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTypeDeclChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12135,
|
|
"end": 12225,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12135,
|
|
"end": 12224,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12135,
|
|
"end": 12183,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12135,
|
|
"end": 12155,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12135,
|
|
"end": 12139,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12140,
|
|
"end": 12155,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12155,
|
|
"end": 12183,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12156,
|
|
"end": 12182,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12156,
|
|
"end": 12164,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12165,
|
|
"end": 12182,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ModuleDeclaration",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12186,
|
|
"end": 12224,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12186,
|
|
"end": 12201,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12202,
|
|
"end": 12224,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkModuleDeclChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12238,
|
|
"end": 12328,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12238,
|
|
"end": 12327,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12238,
|
|
"end": 12286,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12238,
|
|
"end": 12258,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12238,
|
|
"end": 12242,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12243,
|
|
"end": 12258,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12258,
|
|
"end": 12286,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12259,
|
|
"end": 12285,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12259,
|
|
"end": 12267,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12268,
|
|
"end": 12285,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ImportDeclaration",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12289,
|
|
"end": 12327,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12289,
|
|
"end": 12304,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12305,
|
|
"end": 12327,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkImportDeclChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12341,
|
|
"end": 12421,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12341,
|
|
"end": 12420,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12341,
|
|
"end": 12376,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12341,
|
|
"end": 12361,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12341,
|
|
"end": 12345,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12346,
|
|
"end": 12361,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12361,
|
|
"end": 12376,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12362,
|
|
"end": 12375,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12362,
|
|
"end": 12370,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12371,
|
|
"end": 12375,
|
|
"ctxt": 0
|
|
},
|
|
"value": "With",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12379,
|
|
"end": 12420,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12379,
|
|
"end": 12394,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12395,
|
|
"end": 12420,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkWithStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12434,
|
|
"end": 12507,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12434,
|
|
"end": 12506,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12434,
|
|
"end": 12470,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12434,
|
|
"end": 12454,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12434,
|
|
"end": 12438,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12439,
|
|
"end": 12454,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12454,
|
|
"end": 12470,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12455,
|
|
"end": 12469,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12455,
|
|
"end": 12463,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12464,
|
|
"end": 12469,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Label",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12473,
|
|
"end": 12506,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12473,
|
|
"end": 12488,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12489,
|
|
"end": 12506,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkLabelChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12520,
|
|
"end": 12615,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12520,
|
|
"end": 12614,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12520,
|
|
"end": 12567,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12520,
|
|
"end": 12540,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12520,
|
|
"end": 12524,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12525,
|
|
"end": 12540,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12540,
|
|
"end": 12567,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12541,
|
|
"end": 12566,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12541,
|
|
"end": 12549,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12550,
|
|
"end": 12566,
|
|
"ctxt": 0
|
|
},
|
|
"value": "LabeledStatement",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12570,
|
|
"end": 12614,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12570,
|
|
"end": 12585,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12586,
|
|
"end": 12614,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkLabeledStatementChildren",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12628,
|
|
"end": 12694,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12628,
|
|
"end": 12693,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12628,
|
|
"end": 12666,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12628,
|
|
"end": 12648,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12628,
|
|
"end": 12632,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12633,
|
|
"end": 12648,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12648,
|
|
"end": 12666,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12649,
|
|
"end": 12665,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12649,
|
|
"end": 12657,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12658,
|
|
"end": 12665,
|
|
"ctxt": 0
|
|
},
|
|
"value": "EBStart",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12669,
|
|
"end": 12693,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12669,
|
|
"end": 12684,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12685,
|
|
"end": 12693,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12707,
|
|
"end": 12772,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12707,
|
|
"end": 12771,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12707,
|
|
"end": 12744,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12707,
|
|
"end": 12727,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12707,
|
|
"end": 12711,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12712,
|
|
"end": 12727,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12727,
|
|
"end": 12744,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12728,
|
|
"end": 12743,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12728,
|
|
"end": 12736,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12737,
|
|
"end": 12743,
|
|
"ctxt": 0
|
|
},
|
|
"value": "GotoEB",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12747,
|
|
"end": 12771,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12747,
|
|
"end": 12762,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12763,
|
|
"end": 12771,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12785,
|
|
"end": 12851,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12785,
|
|
"end": 12850,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12785,
|
|
"end": 12823,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12785,
|
|
"end": 12805,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12785,
|
|
"end": 12789,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12790,
|
|
"end": 12805,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12805,
|
|
"end": 12823,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12806,
|
|
"end": 12822,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12806,
|
|
"end": 12814,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12815,
|
|
"end": 12822,
|
|
"ctxt": 0
|
|
},
|
|
"value": "EndCode",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12826,
|
|
"end": 12850,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12826,
|
|
"end": 12841,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12842,
|
|
"end": 12850,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12864,
|
|
"end": 12928,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12864,
|
|
"end": 12927,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12864,
|
|
"end": 12900,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12864,
|
|
"end": 12884,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12864,
|
|
"end": 12868,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12869,
|
|
"end": 12884,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12884,
|
|
"end": 12900,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12885,
|
|
"end": 12899,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12885,
|
|
"end": 12893,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12894,
|
|
"end": 12899,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Error",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12903,
|
|
"end": 12927,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12903,
|
|
"end": 12918,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12919,
|
|
"end": 12927,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 12941,
|
|
"end": 13007,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 12941,
|
|
"end": 13006,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12941,
|
|
"end": 12979,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12941,
|
|
"end": 12961,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 12941,
|
|
"end": 12945,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12946,
|
|
"end": 12961,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 12961,
|
|
"end": 12979,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12962,
|
|
"end": 12978,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12962,
|
|
"end": 12970,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12971,
|
|
"end": 12978,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Comment",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 12982,
|
|
"end": 13006,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12982,
|
|
"end": 12997,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 12998,
|
|
"end": 13006,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 13020,
|
|
"end": 13087,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 13020,
|
|
"end": 13086,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13020,
|
|
"end": 13059,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13020,
|
|
"end": 13040,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 13020,
|
|
"end": 13024,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13025,
|
|
"end": 13040,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 13040,
|
|
"end": 13059,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13041,
|
|
"end": 13058,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13041,
|
|
"end": 13049,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13050,
|
|
"end": 13058,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Debugger",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13062,
|
|
"end": 13086,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13062,
|
|
"end": 13077,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13078,
|
|
"end": 13086,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ForInStatement",
|
|
"span": {
|
|
"start": 13160,
|
|
"end": 13395,
|
|
"ctxt": 0
|
|
},
|
|
"left": {
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 13165,
|
|
"end": 13170,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 13169,
|
|
"end": 13170,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13169,
|
|
"end": 13170,
|
|
"ctxt": 0
|
|
},
|
|
"value": "e",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13174,
|
|
"end": 13194,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 13174,
|
|
"end": 13189,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 13175,
|
|
"end": 13188,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13180,
|
|
"end": 13188,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NodeType",
|
|
"optional": false
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 13176,
|
|
"end": 13179,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13190,
|
|
"end": 13194,
|
|
"ctxt": 0
|
|
},
|
|
"value": "_map",
|
|
"optional": false
|
|
}
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 13196,
|
|
"end": 13395,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 13214,
|
|
"end": 13381,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 13218,
|
|
"end": 13262,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "===",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13218,
|
|
"end": 13248,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 13218,
|
|
"end": 13245,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 13219,
|
|
"end": 13244,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13224,
|
|
"end": 13244,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"span": {
|
|
"start": 13224,
|
|
"end": 13228,
|
|
"ctxt": 0
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13229,
|
|
"end": 13244,
|
|
"ctxt": 0
|
|
},
|
|
"value": "childrenWalkers",
|
|
"optional": false
|
|
}
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 13220,
|
|
"end": 13223,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "any"
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 13245,
|
|
"end": 13248,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13246,
|
|
"end": 13247,
|
|
"ctxt": 0
|
|
},
|
|
"value": "e",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13253,
|
|
"end": 13262,
|
|
"ctxt": 0
|
|
},
|
|
"value": "undefined",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 13264,
|
|
"end": 13381,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ThrowStatement",
|
|
"span": {
|
|
"start": 13286,
|
|
"end": 13363,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "NewExpression",
|
|
"span": {
|
|
"start": 13292,
|
|
"end": 13362,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13296,
|
|
"end": 13301,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Error",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "StringLiteral",
|
|
"span": {
|
|
"start": 13302,
|
|
"end": 13361,
|
|
"ctxt": 0
|
|
},
|
|
"value": "initWalkers function is not up to date with enum content!",
|
|
"raw": "\"initWalkers function is not up to date with enum content!\""
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 3202,
|
|
"end": 3208,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 3204,
|
|
"end": 3208,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
},
|
|
"kind": "method",
|
|
"isStatic": false,
|
|
"accessibility": "private",
|
|
"isAbstract": false,
|
|
"isOptional": false,
|
|
"isOverride": false
|
|
}
|
|
],
|
|
"superClass": null,
|
|
"isAbstract": false,
|
|
"typeParams": null,
|
|
"superTypeParams": null,
|
|
"implements": []
|
|
}
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 13417,
|
|
"end": 13462,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 13421,
|
|
"end": 13461,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13421,
|
|
"end": 13443,
|
|
"ctxt": 0
|
|
},
|
|
"value": "globalAstWalkerFactory",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13443,
|
|
"end": 13461,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 13445,
|
|
"end": 13461,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13445,
|
|
"end": 13461,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkerFactory",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
},
|
|
"init": null,
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 13468,
|
|
"end": 13680,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13484,
|
|
"end": 13503,
|
|
"ctxt": 0
|
|
},
|
|
"value": "getAstWalkerFactory",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 13475,
|
|
"end": 13680,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 13524,
|
|
"end": 13680,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 13534,
|
|
"end": 13635,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"span": {
|
|
"start": 13538,
|
|
"end": 13561,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "!",
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13539,
|
|
"end": 13561,
|
|
"ctxt": 0
|
|
},
|
|
"value": "globalAstWalkerFactory",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 13563,
|
|
"end": 13635,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 13577,
|
|
"end": 13625,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 13577,
|
|
"end": 13624,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13577,
|
|
"end": 13599,
|
|
"ctxt": 0
|
|
},
|
|
"value": "globalAstWalkerFactory",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"right": {
|
|
"type": "NewExpression",
|
|
"span": {
|
|
"start": 13602,
|
|
"end": 13624,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13606,
|
|
"end": 13622,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkerFactory",
|
|
"optional": false
|
|
},
|
|
"arguments": [],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "ReturnStatement",
|
|
"span": {
|
|
"start": 13644,
|
|
"end": 13674,
|
|
"ctxt": 0
|
|
},
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13651,
|
|
"end": 13673,
|
|
"ctxt": 0
|
|
},
|
|
"value": "globalAstWalkerFactory",
|
|
"optional": false
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13505,
|
|
"end": 13523,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 13507,
|
|
"end": 13523,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13507,
|
|
"end": 13523,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AstWalkerFactory",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "TsModuleDeclaration",
|
|
"span": {
|
|
"start": 13686,
|
|
"end": 26915,
|
|
"ctxt": 0
|
|
},
|
|
"declare": false,
|
|
"global": false,
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13693,
|
|
"end": 13708,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ChildrenWalkers",
|
|
"optional": false
|
|
},
|
|
"body": {
|
|
"type": "TsModuleBlock",
|
|
"span": {
|
|
"start": 13709,
|
|
"end": 26915,
|
|
"ctxt": 0
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 13719,
|
|
"end": 13840,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13735,
|
|
"end": 13743,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNone",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 13744,
|
|
"end": 13759,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13744,
|
|
"end": 13759,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13750,
|
|
"end": 13759,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 13752,
|
|
"end": 13759,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13752,
|
|
"end": 13759,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 13761,
|
|
"end": 13772,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13761,
|
|
"end": 13772,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13767,
|
|
"end": 13772,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 13769,
|
|
"end": 13772,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13769,
|
|
"end": 13772,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 13774,
|
|
"end": 13792,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13774,
|
|
"end": 13792,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13780,
|
|
"end": 13792,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 13782,
|
|
"end": 13792,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13782,
|
|
"end": 13792,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 13726,
|
|
"end": 13840,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 13800,
|
|
"end": 13840,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": []
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13793,
|
|
"end": 13799,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 13795,
|
|
"end": 13799,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 13850,
|
|
"end": 14553,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13866,
|
|
"end": 13882,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkListChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 13883,
|
|
"end": 13898,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13883,
|
|
"end": 13898,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13889,
|
|
"end": 13898,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 13891,
|
|
"end": 13898,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13891,
|
|
"end": 13898,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 13900,
|
|
"end": 13911,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13900,
|
|
"end": 13911,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13906,
|
|
"end": 13911,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 13908,
|
|
"end": 13911,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13908,
|
|
"end": 13911,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 13913,
|
|
"end": 13931,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13913,
|
|
"end": 13931,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13919,
|
|
"end": 13931,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 13921,
|
|
"end": 13931,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13921,
|
|
"end": 13931,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 13857,
|
|
"end": 14553,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 13939,
|
|
"end": 14553,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 13953,
|
|
"end": 13985,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 13957,
|
|
"end": 13984,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13957,
|
|
"end": 13960,
|
|
"ctxt": 0
|
|
},
|
|
"value": "len",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13963,
|
|
"end": 13984,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 13963,
|
|
"end": 13977,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13963,
|
|
"end": 13969,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13970,
|
|
"end": 13977,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 13978,
|
|
"end": 13984,
|
|
"ctxt": 0
|
|
},
|
|
"value": "length",
|
|
"optional": false
|
|
}
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 13998,
|
|
"end": 14543,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14002,
|
|
"end": 14032,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14002,
|
|
"end": 14016,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14002,
|
|
"end": 14008,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14009,
|
|
"end": 14016,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14017,
|
|
"end": 14032,
|
|
"ctxt": 0
|
|
},
|
|
"value": "reverseSiblings",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14034,
|
|
"end": 14282,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ForStatement",
|
|
"span": {
|
|
"start": 14052,
|
|
"end": 14268,
|
|
"ctxt": 0
|
|
},
|
|
"init": {
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 14057,
|
|
"end": 14072,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 14061,
|
|
"end": 14072,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14061,
|
|
"end": 14062,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 14065,
|
|
"end": 14072,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "-",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14065,
|
|
"end": 14068,
|
|
"ctxt": 0
|
|
},
|
|
"value": "len",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 14071,
|
|
"end": 14072,
|
|
"ctxt": 0
|
|
},
|
|
"value": 1.0,
|
|
"raw": "1"
|
|
}
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 14074,
|
|
"end": 14080,
|
|
"ctxt": 0
|
|
},
|
|
"operator": ">=",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14074,
|
|
"end": 14075,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 14079,
|
|
"end": 14080,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
},
|
|
"update": {
|
|
"type": "UpdateExpression",
|
|
"span": {
|
|
"start": 14082,
|
|
"end": 14085,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "--",
|
|
"prefix": false,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14082,
|
|
"end": 14083,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false
|
|
}
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14087,
|
|
"end": 14268,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 14109,
|
|
"end": 14250,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14113,
|
|
"end": 14141,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14113,
|
|
"end": 14127,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14113,
|
|
"end": 14119,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14120,
|
|
"end": 14127,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14128,
|
|
"end": 14141,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14143,
|
|
"end": 14250,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 14169,
|
|
"end": 14228,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 14169,
|
|
"end": 14227,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14169,
|
|
"end": 14186,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14169,
|
|
"end": 14183,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14169,
|
|
"end": 14175,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14176,
|
|
"end": 14183,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 14183,
|
|
"end": 14186,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14184,
|
|
"end": 14185,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 14189,
|
|
"end": 14227,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14189,
|
|
"end": 14200,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14189,
|
|
"end": 14195,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14196,
|
|
"end": 14200,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14201,
|
|
"end": 14218,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14201,
|
|
"end": 14215,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14201,
|
|
"end": 14207,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14208,
|
|
"end": 14215,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 14215,
|
|
"end": 14218,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14216,
|
|
"end": 14217,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14220,
|
|
"end": 14226,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14300,
|
|
"end": 14543,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ForStatement",
|
|
"span": {
|
|
"start": 14318,
|
|
"end": 14529,
|
|
"ctxt": 0
|
|
},
|
|
"init": {
|
|
"type": "VariableDeclaration",
|
|
"span": {
|
|
"start": 14323,
|
|
"end": 14332,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "var",
|
|
"declare": false,
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"span": {
|
|
"start": 14327,
|
|
"end": 14332,
|
|
"ctxt": 0
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14327,
|
|
"end": 14328,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false,
|
|
"typeAnnotation": null
|
|
},
|
|
"init": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 14331,
|
|
"end": 14332,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
},
|
|
"definite": false
|
|
}
|
|
]
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 14334,
|
|
"end": 14341,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "<",
|
|
"left": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14334,
|
|
"end": 14335,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false
|
|
},
|
|
"right": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14338,
|
|
"end": 14341,
|
|
"ctxt": 0
|
|
},
|
|
"value": "len",
|
|
"optional": false
|
|
}
|
|
},
|
|
"update": {
|
|
"type": "UpdateExpression",
|
|
"span": {
|
|
"start": 14343,
|
|
"end": 14346,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "++",
|
|
"prefix": false,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14343,
|
|
"end": 14344,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false
|
|
}
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14348,
|
|
"end": 14529,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 14370,
|
|
"end": 14511,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14374,
|
|
"end": 14402,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14374,
|
|
"end": 14388,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14374,
|
|
"end": 14380,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14381,
|
|
"end": 14388,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14389,
|
|
"end": 14402,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14404,
|
|
"end": 14511,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 14430,
|
|
"end": 14489,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 14430,
|
|
"end": 14488,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14430,
|
|
"end": 14447,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14430,
|
|
"end": 14444,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14430,
|
|
"end": 14436,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14437,
|
|
"end": 14444,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 14444,
|
|
"end": 14447,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14445,
|
|
"end": 14446,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 14450,
|
|
"end": 14488,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14450,
|
|
"end": 14461,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14450,
|
|
"end": 14456,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14457,
|
|
"end": 14461,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14462,
|
|
"end": 14479,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14462,
|
|
"end": 14476,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14462,
|
|
"end": 14468,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14469,
|
|
"end": 14476,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Computed",
|
|
"span": {
|
|
"start": 14476,
|
|
"end": 14479,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14477,
|
|
"end": 14478,
|
|
"ctxt": 0
|
|
},
|
|
"value": "i",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14481,
|
|
"end": 14487,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 13932,
|
|
"end": 13938,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 13934,
|
|
"end": 13938,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 14563,
|
|
"end": 14921,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14579,
|
|
"end": 14606,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkUnaryExpressionChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 14607,
|
|
"end": 14630,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14607,
|
|
"end": 14630,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 14613,
|
|
"end": 14630,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 14615,
|
|
"end": 14630,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14615,
|
|
"end": 14630,
|
|
"ctxt": 0
|
|
},
|
|
"value": "UnaryExpression",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 14632,
|
|
"end": 14643,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14632,
|
|
"end": 14643,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 14638,
|
|
"end": 14643,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 14640,
|
|
"end": 14643,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14640,
|
|
"end": 14643,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 14645,
|
|
"end": 14663,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14645,
|
|
"end": 14663,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 14651,
|
|
"end": 14663,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 14653,
|
|
"end": 14663,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14653,
|
|
"end": 14663,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 14570,
|
|
"end": 14921,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14671,
|
|
"end": 14921,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 14685,
|
|
"end": 14793,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14689,
|
|
"end": 14704,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14689,
|
|
"end": 14695,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14696,
|
|
"end": 14704,
|
|
"ctxt": 0
|
|
},
|
|
"value": "castTerm",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14706,
|
|
"end": 14793,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 14724,
|
|
"end": 14779,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 14724,
|
|
"end": 14778,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14724,
|
|
"end": 14739,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14724,
|
|
"end": 14730,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14731,
|
|
"end": 14739,
|
|
"ctxt": 0
|
|
},
|
|
"value": "castTerm",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 14742,
|
|
"end": 14778,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14742,
|
|
"end": 14753,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14742,
|
|
"end": 14748,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14749,
|
|
"end": 14753,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14754,
|
|
"end": 14769,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14754,
|
|
"end": 14760,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14761,
|
|
"end": 14769,
|
|
"ctxt": 0
|
|
},
|
|
"value": "castTerm",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14771,
|
|
"end": 14777,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 14806,
|
|
"end": 14911,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14810,
|
|
"end": 14824,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14810,
|
|
"end": 14816,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14817,
|
|
"end": 14824,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 14826,
|
|
"end": 14911,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 14844,
|
|
"end": 14897,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 14844,
|
|
"end": 14896,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14844,
|
|
"end": 14858,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14844,
|
|
"end": 14850,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14851,
|
|
"end": 14858,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 14861,
|
|
"end": 14896,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14861,
|
|
"end": 14872,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14861,
|
|
"end": 14867,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14868,
|
|
"end": 14872,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 14873,
|
|
"end": 14887,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14873,
|
|
"end": 14879,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14880,
|
|
"end": 14887,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14889,
|
|
"end": 14895,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 14664,
|
|
"end": 14670,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 14666,
|
|
"end": 14670,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 14931,
|
|
"end": 15741,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14947,
|
|
"end": 14975,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBinaryExpressionChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 14976,
|
|
"end": 15000,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14976,
|
|
"end": 15000,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 14982,
|
|
"end": 15000,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 14984,
|
|
"end": 15000,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 14984,
|
|
"end": 15000,
|
|
"ctxt": 0
|
|
},
|
|
"value": "BinaryExpression",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 15002,
|
|
"end": 15013,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15002,
|
|
"end": 15013,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 15008,
|
|
"end": 15013,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 15010,
|
|
"end": 15013,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15010,
|
|
"end": 15013,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 15015,
|
|
"end": 15033,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15015,
|
|
"end": 15033,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 15021,
|
|
"end": 15033,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 15023,
|
|
"end": 15033,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15023,
|
|
"end": 15033,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 14938,
|
|
"end": 15741,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15041,
|
|
"end": 15741,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 15055,
|
|
"end": 15731,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15059,
|
|
"end": 15089,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15059,
|
|
"end": 15073,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15059,
|
|
"end": 15065,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15066,
|
|
"end": 15073,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15074,
|
|
"end": 15089,
|
|
"ctxt": 0
|
|
},
|
|
"value": "reverseSiblings",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15091,
|
|
"end": 15408,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 15109,
|
|
"end": 15225,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15113,
|
|
"end": 15128,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15113,
|
|
"end": 15119,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15120,
|
|
"end": 15128,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15130,
|
|
"end": 15225,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 15152,
|
|
"end": 15207,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 15152,
|
|
"end": 15206,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15152,
|
|
"end": 15167,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15152,
|
|
"end": 15158,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15159,
|
|
"end": 15167,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 15170,
|
|
"end": 15206,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15170,
|
|
"end": 15181,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15170,
|
|
"end": 15176,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15177,
|
|
"end": 15181,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15182,
|
|
"end": 15197,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15182,
|
|
"end": 15188,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15189,
|
|
"end": 15197,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15199,
|
|
"end": 15205,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 15242,
|
|
"end": 15394,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 15246,
|
|
"end": 15297,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 15246,
|
|
"end": 15263,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15247,
|
|
"end": 15262,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15247,
|
|
"end": 15253,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15254,
|
|
"end": 15262,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 15267,
|
|
"end": 15297,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15268,
|
|
"end": 15296,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15268,
|
|
"end": 15282,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15268,
|
|
"end": 15274,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15275,
|
|
"end": 15282,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15283,
|
|
"end": 15296,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15299,
|
|
"end": 15394,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 15321,
|
|
"end": 15376,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 15321,
|
|
"end": 15375,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15321,
|
|
"end": 15336,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15321,
|
|
"end": 15327,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15328,
|
|
"end": 15336,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 15339,
|
|
"end": 15375,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15339,
|
|
"end": 15350,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15339,
|
|
"end": 15345,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15346,
|
|
"end": 15350,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15351,
|
|
"end": 15366,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15351,
|
|
"end": 15357,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15358,
|
|
"end": 15366,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15368,
|
|
"end": 15374,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15414,
|
|
"end": 15731,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 15432,
|
|
"end": 15548,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15436,
|
|
"end": 15451,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15436,
|
|
"end": 15442,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15443,
|
|
"end": 15451,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15453,
|
|
"end": 15548,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 15475,
|
|
"end": 15530,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 15475,
|
|
"end": 15529,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15475,
|
|
"end": 15490,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15475,
|
|
"end": 15481,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15482,
|
|
"end": 15490,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 15493,
|
|
"end": 15529,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15493,
|
|
"end": 15504,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15493,
|
|
"end": 15499,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15500,
|
|
"end": 15504,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15505,
|
|
"end": 15520,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15505,
|
|
"end": 15511,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15512,
|
|
"end": 15520,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15522,
|
|
"end": 15528,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 15565,
|
|
"end": 15717,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 15569,
|
|
"end": 15620,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 15569,
|
|
"end": 15586,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15570,
|
|
"end": 15585,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15570,
|
|
"end": 15576,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15577,
|
|
"end": 15585,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 15590,
|
|
"end": 15620,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15591,
|
|
"end": 15619,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15591,
|
|
"end": 15605,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15591,
|
|
"end": 15597,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15598,
|
|
"end": 15605,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15606,
|
|
"end": 15619,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15622,
|
|
"end": 15717,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 15644,
|
|
"end": 15699,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 15644,
|
|
"end": 15698,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15644,
|
|
"end": 15659,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15644,
|
|
"end": 15650,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15651,
|
|
"end": 15659,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 15662,
|
|
"end": 15698,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15662,
|
|
"end": 15673,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15662,
|
|
"end": 15668,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15669,
|
|
"end": 15673,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15674,
|
|
"end": 15689,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15674,
|
|
"end": 15680,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15681,
|
|
"end": 15689,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15691,
|
|
"end": 15697,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 15034,
|
|
"end": 15040,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 15036,
|
|
"end": 15040,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 15751,
|
|
"end": 15975,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15767,
|
|
"end": 15792,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTypeReferenceChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 15793,
|
|
"end": 15814,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15793,
|
|
"end": 15814,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 15799,
|
|
"end": 15814,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 15801,
|
|
"end": 15814,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15801,
|
|
"end": 15814,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TypeReference",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 15816,
|
|
"end": 15827,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15816,
|
|
"end": 15827,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 15822,
|
|
"end": 15827,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 15824,
|
|
"end": 15827,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15824,
|
|
"end": 15827,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 15829,
|
|
"end": 15847,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15829,
|
|
"end": 15847,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 15835,
|
|
"end": 15847,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 15837,
|
|
"end": 15847,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15837,
|
|
"end": 15847,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 15758,
|
|
"end": 15975,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15855,
|
|
"end": 15975,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 15869,
|
|
"end": 15965,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15873,
|
|
"end": 15884,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15873,
|
|
"end": 15879,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15880,
|
|
"end": 15884,
|
|
"ctxt": 0
|
|
},
|
|
"value": "term",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 15886,
|
|
"end": 15965,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 15904,
|
|
"end": 15951,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 15904,
|
|
"end": 15950,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15904,
|
|
"end": 15915,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15904,
|
|
"end": 15910,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15911,
|
|
"end": 15915,
|
|
"ctxt": 0
|
|
},
|
|
"value": "term",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 15918,
|
|
"end": 15950,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15918,
|
|
"end": 15929,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15918,
|
|
"end": 15924,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15925,
|
|
"end": 15929,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 15930,
|
|
"end": 15941,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15930,
|
|
"end": 15936,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15937,
|
|
"end": 15941,
|
|
"ctxt": 0
|
|
},
|
|
"value": "term",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 15943,
|
|
"end": 15949,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 15848,
|
|
"end": 15854,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 15850,
|
|
"end": 15854,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 15985,
|
|
"end": 16571,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16001,
|
|
"end": 16027,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkCallExpressionChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 16028,
|
|
"end": 16050,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16028,
|
|
"end": 16050,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 16034,
|
|
"end": 16050,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 16036,
|
|
"end": 16050,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16036,
|
|
"end": 16050,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CallExpression",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 16052,
|
|
"end": 16063,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16052,
|
|
"end": 16063,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 16058,
|
|
"end": 16063,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 16060,
|
|
"end": 16063,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16060,
|
|
"end": 16063,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 16065,
|
|
"end": 16083,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16065,
|
|
"end": 16083,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 16071,
|
|
"end": 16083,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 16073,
|
|
"end": 16083,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16073,
|
|
"end": 16083,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 15992,
|
|
"end": 16571,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 16091,
|
|
"end": 16571,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 16105,
|
|
"end": 16225,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"span": {
|
|
"start": 16109,
|
|
"end": 16140,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "!",
|
|
"argument": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16110,
|
|
"end": 16140,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16110,
|
|
"end": 16124,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16110,
|
|
"end": 16116,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16117,
|
|
"end": 16124,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16125,
|
|
"end": 16140,
|
|
"ctxt": 0
|
|
},
|
|
"value": "reverseSiblings",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 16142,
|
|
"end": 16225,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 16160,
|
|
"end": 16211,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 16160,
|
|
"end": 16210,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16160,
|
|
"end": 16173,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16160,
|
|
"end": 16166,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16167,
|
|
"end": 16173,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 16176,
|
|
"end": 16210,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16176,
|
|
"end": 16187,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16176,
|
|
"end": 16182,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16183,
|
|
"end": 16187,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16188,
|
|
"end": 16201,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16188,
|
|
"end": 16194,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16195,
|
|
"end": 16201,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16203,
|
|
"end": 16209,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 16238,
|
|
"end": 16393,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 16242,
|
|
"end": 16292,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16242,
|
|
"end": 16258,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16242,
|
|
"end": 16248,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16249,
|
|
"end": 16258,
|
|
"ctxt": 0
|
|
},
|
|
"value": "arguments",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 16262,
|
|
"end": 16292,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16263,
|
|
"end": 16291,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16263,
|
|
"end": 16277,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16263,
|
|
"end": 16269,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16270,
|
|
"end": 16277,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16278,
|
|
"end": 16291,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 16294,
|
|
"end": 16393,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 16312,
|
|
"end": 16379,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 16312,
|
|
"end": 16378,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16312,
|
|
"end": 16328,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16312,
|
|
"end": 16318,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16319,
|
|
"end": 16328,
|
|
"ctxt": 0
|
|
},
|
|
"value": "arguments",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 16331,
|
|
"end": 16378,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 16341,
|
|
"end": 16378,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16341,
|
|
"end": 16352,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16341,
|
|
"end": 16347,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16348,
|
|
"end": 16352,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16353,
|
|
"end": 16369,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16353,
|
|
"end": 16359,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16360,
|
|
"end": 16369,
|
|
"ctxt": 0
|
|
},
|
|
"value": "arguments",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16371,
|
|
"end": 16377,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 16332,
|
|
"end": 16339,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16332,
|
|
"end": 16339,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 16406,
|
|
"end": 16561,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 16410,
|
|
"end": 16476,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 16410,
|
|
"end": 16442,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16411,
|
|
"end": 16441,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16411,
|
|
"end": 16425,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16411,
|
|
"end": 16417,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16418,
|
|
"end": 16425,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16426,
|
|
"end": 16441,
|
|
"ctxt": 0
|
|
},
|
|
"value": "reverseSiblings",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 16446,
|
|
"end": 16476,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16447,
|
|
"end": 16475,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16447,
|
|
"end": 16461,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16447,
|
|
"end": 16453,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16454,
|
|
"end": 16461,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16462,
|
|
"end": 16475,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 16478,
|
|
"end": 16561,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 16496,
|
|
"end": 16547,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 16496,
|
|
"end": 16546,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16496,
|
|
"end": 16509,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16496,
|
|
"end": 16502,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16503,
|
|
"end": 16509,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 16512,
|
|
"end": 16546,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16512,
|
|
"end": 16523,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16512,
|
|
"end": 16518,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16519,
|
|
"end": 16523,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16524,
|
|
"end": 16537,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16524,
|
|
"end": 16530,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16531,
|
|
"end": 16537,
|
|
"ctxt": 0
|
|
},
|
|
"value": "target",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16539,
|
|
"end": 16545,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 16084,
|
|
"end": 16090,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 16086,
|
|
"end": 16090,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 16581,
|
|
"end": 17139,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16597,
|
|
"end": 16626,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTrinaryExpressionChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 16627,
|
|
"end": 16656,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16627,
|
|
"end": 16656,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 16633,
|
|
"end": 16656,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 16635,
|
|
"end": 16656,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16635,
|
|
"end": 16656,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ConditionalExpression",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 16658,
|
|
"end": 16669,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16658,
|
|
"end": 16669,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 16664,
|
|
"end": 16669,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 16666,
|
|
"end": 16669,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16666,
|
|
"end": 16669,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 16671,
|
|
"end": 16689,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16671,
|
|
"end": 16689,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 16677,
|
|
"end": 16689,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 16679,
|
|
"end": 16689,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16679,
|
|
"end": 16689,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 16588,
|
|
"end": 17139,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 16697,
|
|
"end": 17139,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 16711,
|
|
"end": 16819,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16715,
|
|
"end": 16730,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16715,
|
|
"end": 16721,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16722,
|
|
"end": 16730,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 16732,
|
|
"end": 16819,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 16750,
|
|
"end": 16805,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 16750,
|
|
"end": 16804,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16750,
|
|
"end": 16765,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16750,
|
|
"end": 16756,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16757,
|
|
"end": 16765,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 16768,
|
|
"end": 16804,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16768,
|
|
"end": 16779,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16768,
|
|
"end": 16774,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16775,
|
|
"end": 16779,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16780,
|
|
"end": 16795,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16780,
|
|
"end": 16786,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16787,
|
|
"end": 16795,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand1",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16797,
|
|
"end": 16803,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 16832,
|
|
"end": 16974,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 16836,
|
|
"end": 16885,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16836,
|
|
"end": 16851,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16836,
|
|
"end": 16842,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16843,
|
|
"end": 16851,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 16855,
|
|
"end": 16885,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16856,
|
|
"end": 16884,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16856,
|
|
"end": 16870,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16856,
|
|
"end": 16862,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16863,
|
|
"end": 16870,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16871,
|
|
"end": 16884,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 16887,
|
|
"end": 16974,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 16905,
|
|
"end": 16960,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 16905,
|
|
"end": 16959,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16905,
|
|
"end": 16920,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16905,
|
|
"end": 16911,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16912,
|
|
"end": 16920,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 16923,
|
|
"end": 16959,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16923,
|
|
"end": 16934,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16923,
|
|
"end": 16929,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16930,
|
|
"end": 16934,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16935,
|
|
"end": 16950,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16935,
|
|
"end": 16941,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16942,
|
|
"end": 16950,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand2",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16952,
|
|
"end": 16958,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 16987,
|
|
"end": 17129,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 16991,
|
|
"end": 17040,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 16991,
|
|
"end": 17006,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16991,
|
|
"end": 16997,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 16998,
|
|
"end": 17006,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand3",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 17010,
|
|
"end": 17040,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17011,
|
|
"end": 17039,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17011,
|
|
"end": 17025,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17011,
|
|
"end": 17017,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17018,
|
|
"end": 17025,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17026,
|
|
"end": 17039,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 17042,
|
|
"end": 17129,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 17060,
|
|
"end": 17115,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 17060,
|
|
"end": 17114,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17060,
|
|
"end": 17075,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17060,
|
|
"end": 17066,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17067,
|
|
"end": 17075,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand3",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 17078,
|
|
"end": 17114,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17078,
|
|
"end": 17089,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17078,
|
|
"end": 17084,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17085,
|
|
"end": 17089,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17090,
|
|
"end": 17105,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17090,
|
|
"end": 17096,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17097,
|
|
"end": 17105,
|
|
"ctxt": 0
|
|
},
|
|
"value": "operand3",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17107,
|
|
"end": 17113,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 16690,
|
|
"end": 16696,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 16692,
|
|
"end": 16696,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 17149,
|
|
"end": 17958,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17165,
|
|
"end": 17185,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkFuncDeclChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 17186,
|
|
"end": 17202,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17186,
|
|
"end": 17202,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 17192,
|
|
"end": 17202,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 17194,
|
|
"end": 17202,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17194,
|
|
"end": 17202,
|
|
"ctxt": 0
|
|
},
|
|
"value": "FuncDecl",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 17204,
|
|
"end": 17215,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17204,
|
|
"end": 17215,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 17210,
|
|
"end": 17215,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 17212,
|
|
"end": 17215,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17212,
|
|
"end": 17215,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 17217,
|
|
"end": 17235,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17217,
|
|
"end": 17235,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 17223,
|
|
"end": 17235,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 17225,
|
|
"end": 17235,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17225,
|
|
"end": 17235,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 17156,
|
|
"end": 17958,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 17243,
|
|
"end": 17958,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 17257,
|
|
"end": 17365,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17261,
|
|
"end": 17272,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17261,
|
|
"end": 17267,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17268,
|
|
"end": 17272,
|
|
"ctxt": 0
|
|
},
|
|
"value": "name",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 17274,
|
|
"end": 17365,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 17292,
|
|
"end": 17351,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 17292,
|
|
"end": 17350,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17292,
|
|
"end": 17303,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17292,
|
|
"end": 17298,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17299,
|
|
"end": 17303,
|
|
"ctxt": 0
|
|
},
|
|
"value": "name",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 17306,
|
|
"end": 17350,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 17318,
|
|
"end": 17350,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17318,
|
|
"end": 17329,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17318,
|
|
"end": 17324,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17325,
|
|
"end": 17329,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17330,
|
|
"end": 17341,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17330,
|
|
"end": 17336,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17337,
|
|
"end": 17341,
|
|
"ctxt": 0
|
|
},
|
|
"value": "name",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17343,
|
|
"end": 17349,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 17307,
|
|
"end": 17317,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17307,
|
|
"end": 17317,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Identifier",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 17378,
|
|
"end": 17573,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17382,
|
|
"end": 17473,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17382,
|
|
"end": 17439,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17382,
|
|
"end": 17398,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17382,
|
|
"end": 17388,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17389,
|
|
"end": 17398,
|
|
"ctxt": 0
|
|
},
|
|
"value": "arguments",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 17402,
|
|
"end": 17439,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17403,
|
|
"end": 17438,
|
|
"ctxt": 0
|
|
},
|
|
"operator": ">",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17403,
|
|
"end": 17434,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17403,
|
|
"end": 17427,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17403,
|
|
"end": 17419,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17403,
|
|
"end": 17409,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17410,
|
|
"end": 17419,
|
|
"ctxt": 0
|
|
},
|
|
"value": "arguments",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17420,
|
|
"end": 17427,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17428,
|
|
"end": 17434,
|
|
"ctxt": 0
|
|
},
|
|
"value": "length",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 17437,
|
|
"end": 17438,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 17443,
|
|
"end": 17473,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17444,
|
|
"end": 17472,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17444,
|
|
"end": 17458,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17444,
|
|
"end": 17450,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17451,
|
|
"end": 17458,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17459,
|
|
"end": 17472,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 17475,
|
|
"end": 17573,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 17493,
|
|
"end": 17559,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 17493,
|
|
"end": 17558,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17493,
|
|
"end": 17509,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17493,
|
|
"end": 17499,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17500,
|
|
"end": 17509,
|
|
"ctxt": 0
|
|
},
|
|
"value": "arguments",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 17512,
|
|
"end": 17558,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 17521,
|
|
"end": 17558,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17521,
|
|
"end": 17532,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17521,
|
|
"end": 17527,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17528,
|
|
"end": 17532,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17533,
|
|
"end": 17549,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17533,
|
|
"end": 17539,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17540,
|
|
"end": 17549,
|
|
"ctxt": 0
|
|
},
|
|
"value": "arguments",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17551,
|
|
"end": 17557,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 17513,
|
|
"end": 17520,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17513,
|
|
"end": 17520,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 17586,
|
|
"end": 17764,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17590,
|
|
"end": 17651,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17590,
|
|
"end": 17617,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17590,
|
|
"end": 17596,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17597,
|
|
"end": 17617,
|
|
"ctxt": 0
|
|
},
|
|
"value": "returnTypeAnnotation",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 17621,
|
|
"end": 17651,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17622,
|
|
"end": 17650,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17622,
|
|
"end": 17636,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17622,
|
|
"end": 17628,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17629,
|
|
"end": 17636,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17637,
|
|
"end": 17650,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 17653,
|
|
"end": 17764,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 17671,
|
|
"end": 17750,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 17671,
|
|
"end": 17749,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17671,
|
|
"end": 17698,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17671,
|
|
"end": 17677,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17678,
|
|
"end": 17698,
|
|
"ctxt": 0
|
|
},
|
|
"value": "returnTypeAnnotation",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 17701,
|
|
"end": 17749,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17701,
|
|
"end": 17712,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17701,
|
|
"end": 17707,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17708,
|
|
"end": 17712,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17713,
|
|
"end": 17740,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17713,
|
|
"end": 17719,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17720,
|
|
"end": 17740,
|
|
"ctxt": 0
|
|
},
|
|
"value": "returnTypeAnnotation",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17742,
|
|
"end": 17748,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 17777,
|
|
"end": 17948,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17781,
|
|
"end": 17860,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17781,
|
|
"end": 17826,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17781,
|
|
"end": 17791,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17781,
|
|
"end": 17787,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17788,
|
|
"end": 17791,
|
|
"ctxt": 0
|
|
},
|
|
"value": "bod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 17795,
|
|
"end": 17826,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 17796,
|
|
"end": 17825,
|
|
"ctxt": 0
|
|
},
|
|
"operator": ">",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17796,
|
|
"end": 17821,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17796,
|
|
"end": 17814,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17796,
|
|
"end": 17806,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17796,
|
|
"end": 17802,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17803,
|
|
"end": 17806,
|
|
"ctxt": 0
|
|
},
|
|
"value": "bod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17807,
|
|
"end": 17814,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17815,
|
|
"end": 17821,
|
|
"ctxt": 0
|
|
},
|
|
"value": "length",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "NumericLiteral",
|
|
"span": {
|
|
"start": 17824,
|
|
"end": 17825,
|
|
"ctxt": 0
|
|
},
|
|
"value": 0.0,
|
|
"raw": "0"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 17830,
|
|
"end": 17860,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17831,
|
|
"end": 17859,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17831,
|
|
"end": 17845,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17831,
|
|
"end": 17837,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17838,
|
|
"end": 17845,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17846,
|
|
"end": 17859,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 17862,
|
|
"end": 17948,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 17880,
|
|
"end": 17934,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 17880,
|
|
"end": 17933,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17880,
|
|
"end": 17890,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17880,
|
|
"end": 17886,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17887,
|
|
"end": 17890,
|
|
"ctxt": 0
|
|
},
|
|
"value": "bod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 17893,
|
|
"end": 17933,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 17902,
|
|
"end": 17933,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17902,
|
|
"end": 17913,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17902,
|
|
"end": 17908,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17909,
|
|
"end": 17913,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 17914,
|
|
"end": 17924,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17914,
|
|
"end": 17920,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17921,
|
|
"end": 17924,
|
|
"ctxt": 0
|
|
},
|
|
"value": "bod",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17926,
|
|
"end": 17932,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 17894,
|
|
"end": 17901,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17894,
|
|
"end": 17901,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 17236,
|
|
"end": 17242,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 17238,
|
|
"end": 17242,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 17968,
|
|
"end": 18456,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 17984,
|
|
"end": 18005,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBoundDeclChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18006,
|
|
"end": 18023,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18006,
|
|
"end": 18023,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18012,
|
|
"end": 18023,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18014,
|
|
"end": 18023,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18014,
|
|
"end": 18023,
|
|
"ctxt": 0
|
|
},
|
|
"value": "BoundDecl",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18025,
|
|
"end": 18036,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18025,
|
|
"end": 18036,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18031,
|
|
"end": 18036,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18033,
|
|
"end": 18036,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18033,
|
|
"end": 18036,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18038,
|
|
"end": 18056,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18038,
|
|
"end": 18056,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18044,
|
|
"end": 18056,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18046,
|
|
"end": 18056,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18046,
|
|
"end": 18056,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 17975,
|
|
"end": 18456,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18064,
|
|
"end": 18456,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 18078,
|
|
"end": 18180,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18082,
|
|
"end": 18091,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18082,
|
|
"end": 18088,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18089,
|
|
"end": 18091,
|
|
"ctxt": 0
|
|
},
|
|
"value": "id",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18093,
|
|
"end": 18180,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 18111,
|
|
"end": 18166,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 18111,
|
|
"end": 18165,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18111,
|
|
"end": 18120,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18111,
|
|
"end": 18117,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18118,
|
|
"end": 18120,
|
|
"ctxt": 0
|
|
},
|
|
"value": "id",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 18123,
|
|
"end": 18165,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 18135,
|
|
"end": 18165,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18135,
|
|
"end": 18146,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18135,
|
|
"end": 18141,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18142,
|
|
"end": 18146,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18147,
|
|
"end": 18156,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18147,
|
|
"end": 18153,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18154,
|
|
"end": 18156,
|
|
"ctxt": 0
|
|
},
|
|
"value": "id",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18158,
|
|
"end": 18164,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18124,
|
|
"end": 18134,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18124,
|
|
"end": 18134,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Identifier",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 18193,
|
|
"end": 18289,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18197,
|
|
"end": 18208,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18197,
|
|
"end": 18203,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18204,
|
|
"end": 18208,
|
|
"ctxt": 0
|
|
},
|
|
"value": "init",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18210,
|
|
"end": 18289,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 18228,
|
|
"end": 18275,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 18228,
|
|
"end": 18274,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18228,
|
|
"end": 18239,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18228,
|
|
"end": 18234,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18235,
|
|
"end": 18239,
|
|
"ctxt": 0
|
|
},
|
|
"value": "init",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 18242,
|
|
"end": 18274,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18242,
|
|
"end": 18253,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18242,
|
|
"end": 18248,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18249,
|
|
"end": 18253,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18254,
|
|
"end": 18265,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18254,
|
|
"end": 18260,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18261,
|
|
"end": 18265,
|
|
"ctxt": 0
|
|
},
|
|
"value": "init",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18267,
|
|
"end": 18273,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 18302,
|
|
"end": 18446,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 18306,
|
|
"end": 18357,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 18306,
|
|
"end": 18323,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18307,
|
|
"end": 18322,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18307,
|
|
"end": 18313,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18314,
|
|
"end": 18322,
|
|
"ctxt": 0
|
|
},
|
|
"value": "typeExpr",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 18327,
|
|
"end": 18357,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18328,
|
|
"end": 18356,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18328,
|
|
"end": 18342,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18328,
|
|
"end": 18334,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18335,
|
|
"end": 18342,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18343,
|
|
"end": 18356,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18359,
|
|
"end": 18446,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 18377,
|
|
"end": 18432,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 18377,
|
|
"end": 18431,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18377,
|
|
"end": 18392,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18377,
|
|
"end": 18383,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18384,
|
|
"end": 18392,
|
|
"ctxt": 0
|
|
},
|
|
"value": "typeExpr",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 18395,
|
|
"end": 18431,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18395,
|
|
"end": 18406,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18395,
|
|
"end": 18401,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18402,
|
|
"end": 18406,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18407,
|
|
"end": 18422,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18407,
|
|
"end": 18413,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18414,
|
|
"end": 18422,
|
|
"ctxt": 0
|
|
},
|
|
"value": "typeExpr",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18424,
|
|
"end": 18430,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18057,
|
|
"end": 18063,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 18059,
|
|
"end": 18063,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 18466,
|
|
"end": 18730,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18482,
|
|
"end": 18509,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkReturnStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18510,
|
|
"end": 18533,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18510,
|
|
"end": 18533,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18516,
|
|
"end": 18533,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18518,
|
|
"end": 18533,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18518,
|
|
"end": 18533,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ReturnStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18535,
|
|
"end": 18546,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18535,
|
|
"end": 18546,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18541,
|
|
"end": 18546,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18543,
|
|
"end": 18546,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18543,
|
|
"end": 18546,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18548,
|
|
"end": 18566,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18548,
|
|
"end": 18566,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18554,
|
|
"end": 18566,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18556,
|
|
"end": 18566,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18556,
|
|
"end": 18566,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 18473,
|
|
"end": 18730,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18574,
|
|
"end": 18730,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 18588,
|
|
"end": 18720,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18592,
|
|
"end": 18615,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18592,
|
|
"end": 18598,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18599,
|
|
"end": 18615,
|
|
"ctxt": 0
|
|
},
|
|
"value": "returnExpression",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18617,
|
|
"end": 18720,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 18635,
|
|
"end": 18706,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 18635,
|
|
"end": 18705,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18635,
|
|
"end": 18658,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18635,
|
|
"end": 18641,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18642,
|
|
"end": 18658,
|
|
"ctxt": 0
|
|
},
|
|
"value": "returnExpression",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 18661,
|
|
"end": 18705,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18661,
|
|
"end": 18672,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18661,
|
|
"end": 18667,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18668,
|
|
"end": 18672,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18673,
|
|
"end": 18696,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18673,
|
|
"end": 18679,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18680,
|
|
"end": 18696,
|
|
"ctxt": 0
|
|
},
|
|
"value": "returnExpression",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18698,
|
|
"end": 18704,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18567,
|
|
"end": 18573,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 18569,
|
|
"end": 18573,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 18740,
|
|
"end": 19388,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18756,
|
|
"end": 18780,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkForStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18781,
|
|
"end": 18801,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18781,
|
|
"end": 18801,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18787,
|
|
"end": 18801,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18789,
|
|
"end": 18801,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18789,
|
|
"end": 18801,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ForStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18803,
|
|
"end": 18814,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18803,
|
|
"end": 18814,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18809,
|
|
"end": 18814,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18811,
|
|
"end": 18814,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18811,
|
|
"end": 18814,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 18816,
|
|
"end": 18834,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18816,
|
|
"end": 18834,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18822,
|
|
"end": 18834,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 18824,
|
|
"end": 18834,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18824,
|
|
"end": 18834,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 18747,
|
|
"end": 19388,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18842,
|
|
"end": 19388,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 18856,
|
|
"end": 18952,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18860,
|
|
"end": 18871,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18860,
|
|
"end": 18866,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18867,
|
|
"end": 18871,
|
|
"ctxt": 0
|
|
},
|
|
"value": "init",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 18873,
|
|
"end": 18952,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 18891,
|
|
"end": 18938,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 18891,
|
|
"end": 18937,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18891,
|
|
"end": 18902,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18891,
|
|
"end": 18897,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18898,
|
|
"end": 18902,
|
|
"ctxt": 0
|
|
},
|
|
"value": "init",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 18905,
|
|
"end": 18937,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18905,
|
|
"end": 18916,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18905,
|
|
"end": 18911,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18912,
|
|
"end": 18916,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18917,
|
|
"end": 18928,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18917,
|
|
"end": 18923,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18924,
|
|
"end": 18928,
|
|
"ctxt": 0
|
|
},
|
|
"value": "init",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18930,
|
|
"end": 18936,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 18966,
|
|
"end": 19094,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 18970,
|
|
"end": 19013,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18970,
|
|
"end": 18981,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18970,
|
|
"end": 18976,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18977,
|
|
"end": 18981,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18985,
|
|
"end": 19013,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 18985,
|
|
"end": 18999,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18985,
|
|
"end": 18991,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 18992,
|
|
"end": 18999,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19000,
|
|
"end": 19013,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 19015,
|
|
"end": 19094,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 19033,
|
|
"end": 19080,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 19033,
|
|
"end": 19079,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19033,
|
|
"end": 19044,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19033,
|
|
"end": 19039,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19040,
|
|
"end": 19044,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 19047,
|
|
"end": 19079,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19047,
|
|
"end": 19058,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19047,
|
|
"end": 19053,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19054,
|
|
"end": 19058,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19059,
|
|
"end": 19070,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19059,
|
|
"end": 19065,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19066,
|
|
"end": 19070,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19072,
|
|
"end": 19078,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 19108,
|
|
"end": 19236,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 19112,
|
|
"end": 19155,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19112,
|
|
"end": 19123,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19112,
|
|
"end": 19118,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19119,
|
|
"end": 19123,
|
|
"ctxt": 0
|
|
},
|
|
"value": "incr",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19127,
|
|
"end": 19155,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19127,
|
|
"end": 19141,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19127,
|
|
"end": 19133,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19134,
|
|
"end": 19141,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19142,
|
|
"end": 19155,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 19157,
|
|
"end": 19236,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 19175,
|
|
"end": 19222,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 19175,
|
|
"end": 19221,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19175,
|
|
"end": 19186,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19175,
|
|
"end": 19181,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19182,
|
|
"end": 19186,
|
|
"ctxt": 0
|
|
},
|
|
"value": "incr",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 19189,
|
|
"end": 19221,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19189,
|
|
"end": 19200,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19189,
|
|
"end": 19195,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19196,
|
|
"end": 19200,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19201,
|
|
"end": 19212,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19201,
|
|
"end": 19207,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19208,
|
|
"end": 19212,
|
|
"ctxt": 0
|
|
},
|
|
"value": "incr",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19214,
|
|
"end": 19220,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 19250,
|
|
"end": 19378,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 19254,
|
|
"end": 19297,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19254,
|
|
"end": 19265,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19254,
|
|
"end": 19260,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19261,
|
|
"end": 19265,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19269,
|
|
"end": 19297,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19269,
|
|
"end": 19283,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19269,
|
|
"end": 19275,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19276,
|
|
"end": 19283,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19284,
|
|
"end": 19297,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 19299,
|
|
"end": 19378,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 19317,
|
|
"end": 19364,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 19317,
|
|
"end": 19363,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19317,
|
|
"end": 19328,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19317,
|
|
"end": 19323,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19324,
|
|
"end": 19328,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 19331,
|
|
"end": 19363,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19331,
|
|
"end": 19342,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19331,
|
|
"end": 19337,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19338,
|
|
"end": 19342,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19343,
|
|
"end": 19354,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19343,
|
|
"end": 19349,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19350,
|
|
"end": 19354,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19356,
|
|
"end": 19362,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 18835,
|
|
"end": 18841,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 18837,
|
|
"end": 18841,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 19398,
|
|
"end": 19842,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19414,
|
|
"end": 19440,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkForInStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 19441,
|
|
"end": 19463,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19441,
|
|
"end": 19463,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 19447,
|
|
"end": 19463,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 19449,
|
|
"end": 19463,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19449,
|
|
"end": 19463,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ForInStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 19465,
|
|
"end": 19476,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19465,
|
|
"end": 19476,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 19471,
|
|
"end": 19476,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 19473,
|
|
"end": 19476,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19473,
|
|
"end": 19476,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 19478,
|
|
"end": 19496,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19478,
|
|
"end": 19496,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 19484,
|
|
"end": 19496,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 19486,
|
|
"end": 19496,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19486,
|
|
"end": 19496,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 19405,
|
|
"end": 19842,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 19504,
|
|
"end": 19842,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 19518,
|
|
"end": 19565,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 19518,
|
|
"end": 19564,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19518,
|
|
"end": 19529,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19518,
|
|
"end": 19524,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19525,
|
|
"end": 19529,
|
|
"ctxt": 0
|
|
},
|
|
"value": "lval",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 19532,
|
|
"end": 19564,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19532,
|
|
"end": 19543,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19532,
|
|
"end": 19538,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19539,
|
|
"end": 19543,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19544,
|
|
"end": 19555,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19544,
|
|
"end": 19550,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19551,
|
|
"end": 19555,
|
|
"ctxt": 0
|
|
},
|
|
"value": "lval",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19557,
|
|
"end": 19563,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 19578,
|
|
"end": 19689,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19582,
|
|
"end": 19610,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19582,
|
|
"end": 19596,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19582,
|
|
"end": 19588,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19589,
|
|
"end": 19596,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19597,
|
|
"end": 19610,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 19612,
|
|
"end": 19689,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 19630,
|
|
"end": 19675,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 19630,
|
|
"end": 19674,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19630,
|
|
"end": 19640,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19630,
|
|
"end": 19636,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19637,
|
|
"end": 19640,
|
|
"ctxt": 0
|
|
},
|
|
"value": "obj",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 19643,
|
|
"end": 19674,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19643,
|
|
"end": 19654,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19643,
|
|
"end": 19649,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19650,
|
|
"end": 19654,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19655,
|
|
"end": 19665,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19655,
|
|
"end": 19661,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19662,
|
|
"end": 19665,
|
|
"ctxt": 0
|
|
},
|
|
"value": "obj",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19667,
|
|
"end": 19673,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 19702,
|
|
"end": 19832,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 19706,
|
|
"end": 19751,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19706,
|
|
"end": 19717,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19706,
|
|
"end": 19712,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19713,
|
|
"end": 19717,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 19721,
|
|
"end": 19751,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19722,
|
|
"end": 19750,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19722,
|
|
"end": 19736,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19722,
|
|
"end": 19728,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19729,
|
|
"end": 19736,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19737,
|
|
"end": 19750,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 19753,
|
|
"end": 19832,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 19771,
|
|
"end": 19818,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 19771,
|
|
"end": 19817,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19771,
|
|
"end": 19782,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19771,
|
|
"end": 19777,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19778,
|
|
"end": 19782,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 19785,
|
|
"end": 19817,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19785,
|
|
"end": 19796,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19785,
|
|
"end": 19791,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19792,
|
|
"end": 19796,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19797,
|
|
"end": 19808,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19797,
|
|
"end": 19803,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19804,
|
|
"end": 19808,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19810,
|
|
"end": 19816,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 19497,
|
|
"end": 19503,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 19499,
|
|
"end": 19503,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 19852,
|
|
"end": 20327,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19868,
|
|
"end": 19891,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkIfStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 19892,
|
|
"end": 19911,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19892,
|
|
"end": 19911,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 19898,
|
|
"end": 19911,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 19900,
|
|
"end": 19911,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19900,
|
|
"end": 19911,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IfStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 19913,
|
|
"end": 19924,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19913,
|
|
"end": 19924,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 19919,
|
|
"end": 19924,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 19921,
|
|
"end": 19924,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19921,
|
|
"end": 19924,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 19926,
|
|
"end": 19944,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19926,
|
|
"end": 19944,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 19932,
|
|
"end": 19944,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 19934,
|
|
"end": 19944,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19934,
|
|
"end": 19944,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 19859,
|
|
"end": 20327,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 19952,
|
|
"end": 20327,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 19966,
|
|
"end": 20013,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 19966,
|
|
"end": 20012,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19966,
|
|
"end": 19977,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19966,
|
|
"end": 19972,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19973,
|
|
"end": 19977,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 19980,
|
|
"end": 20012,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19980,
|
|
"end": 19991,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19980,
|
|
"end": 19986,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19987,
|
|
"end": 19991,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 19992,
|
|
"end": 20003,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19992,
|
|
"end": 19998,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 19999,
|
|
"end": 20003,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20005,
|
|
"end": 20011,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 20026,
|
|
"end": 20165,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 20030,
|
|
"end": 20078,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20030,
|
|
"end": 20044,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20030,
|
|
"end": 20036,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20037,
|
|
"end": 20044,
|
|
"ctxt": 0
|
|
},
|
|
"value": "thenBod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 20048,
|
|
"end": 20078,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20049,
|
|
"end": 20077,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20049,
|
|
"end": 20063,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20049,
|
|
"end": 20055,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20056,
|
|
"end": 20063,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20064,
|
|
"end": 20077,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 20080,
|
|
"end": 20165,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 20098,
|
|
"end": 20151,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 20098,
|
|
"end": 20150,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20098,
|
|
"end": 20112,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20098,
|
|
"end": 20104,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20105,
|
|
"end": 20112,
|
|
"ctxt": 0
|
|
},
|
|
"value": "thenBod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 20115,
|
|
"end": 20150,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20115,
|
|
"end": 20126,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20115,
|
|
"end": 20121,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20122,
|
|
"end": 20126,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20127,
|
|
"end": 20141,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20127,
|
|
"end": 20133,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20134,
|
|
"end": 20141,
|
|
"ctxt": 0
|
|
},
|
|
"value": "thenBod",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20143,
|
|
"end": 20149,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 20178,
|
|
"end": 20317,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 20182,
|
|
"end": 20230,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20182,
|
|
"end": 20196,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20182,
|
|
"end": 20188,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20189,
|
|
"end": 20196,
|
|
"ctxt": 0
|
|
},
|
|
"value": "elseBod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 20200,
|
|
"end": 20230,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20201,
|
|
"end": 20229,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20201,
|
|
"end": 20215,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20201,
|
|
"end": 20207,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20208,
|
|
"end": 20215,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20216,
|
|
"end": 20229,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 20232,
|
|
"end": 20317,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 20250,
|
|
"end": 20303,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 20250,
|
|
"end": 20302,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20250,
|
|
"end": 20264,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20250,
|
|
"end": 20256,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20257,
|
|
"end": 20264,
|
|
"ctxt": 0
|
|
},
|
|
"value": "elseBod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 20267,
|
|
"end": 20302,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20267,
|
|
"end": 20278,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20267,
|
|
"end": 20273,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20274,
|
|
"end": 20278,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20279,
|
|
"end": 20293,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20279,
|
|
"end": 20285,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20286,
|
|
"end": 20293,
|
|
"ctxt": 0
|
|
},
|
|
"value": "elseBod",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20295,
|
|
"end": 20301,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 19945,
|
|
"end": 19951,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 19947,
|
|
"end": 19951,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 20337,
|
|
"end": 20657,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20353,
|
|
"end": 20379,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkWhileStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 20380,
|
|
"end": 20402,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20380,
|
|
"end": 20402,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 20386,
|
|
"end": 20402,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 20388,
|
|
"end": 20402,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20388,
|
|
"end": 20402,
|
|
"ctxt": 0
|
|
},
|
|
"value": "WhileStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 20404,
|
|
"end": 20415,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20404,
|
|
"end": 20415,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 20410,
|
|
"end": 20415,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 20412,
|
|
"end": 20415,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20412,
|
|
"end": 20415,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 20417,
|
|
"end": 20435,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20417,
|
|
"end": 20435,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 20423,
|
|
"end": 20435,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 20425,
|
|
"end": 20435,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20425,
|
|
"end": 20435,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 20344,
|
|
"end": 20657,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 20443,
|
|
"end": 20657,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 20457,
|
|
"end": 20504,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 20457,
|
|
"end": 20503,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20457,
|
|
"end": 20468,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20457,
|
|
"end": 20463,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20464,
|
|
"end": 20468,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 20471,
|
|
"end": 20503,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20471,
|
|
"end": 20482,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20471,
|
|
"end": 20477,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20478,
|
|
"end": 20482,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20483,
|
|
"end": 20494,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20483,
|
|
"end": 20489,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20490,
|
|
"end": 20494,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20496,
|
|
"end": 20502,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 20517,
|
|
"end": 20647,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 20521,
|
|
"end": 20566,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20521,
|
|
"end": 20532,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20521,
|
|
"end": 20527,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20528,
|
|
"end": 20532,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 20536,
|
|
"end": 20566,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20537,
|
|
"end": 20565,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20537,
|
|
"end": 20551,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20537,
|
|
"end": 20543,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20544,
|
|
"end": 20551,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20552,
|
|
"end": 20565,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 20568,
|
|
"end": 20647,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 20586,
|
|
"end": 20633,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 20586,
|
|
"end": 20632,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20586,
|
|
"end": 20597,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20586,
|
|
"end": 20592,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20593,
|
|
"end": 20597,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 20600,
|
|
"end": 20632,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20600,
|
|
"end": 20611,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20600,
|
|
"end": 20606,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20607,
|
|
"end": 20611,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20612,
|
|
"end": 20623,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20612,
|
|
"end": 20618,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20619,
|
|
"end": 20623,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20625,
|
|
"end": 20631,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 20436,
|
|
"end": 20442,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 20438,
|
|
"end": 20442,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 20667,
|
|
"end": 20991,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20683,
|
|
"end": 20711,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkDoWhileStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 20712,
|
|
"end": 20736,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20712,
|
|
"end": 20736,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 20718,
|
|
"end": 20736,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 20720,
|
|
"end": 20736,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20720,
|
|
"end": 20736,
|
|
"ctxt": 0
|
|
},
|
|
"value": "DoWhileStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 20738,
|
|
"end": 20749,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20738,
|
|
"end": 20749,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 20744,
|
|
"end": 20749,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 20746,
|
|
"end": 20749,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20746,
|
|
"end": 20749,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 20751,
|
|
"end": 20769,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20751,
|
|
"end": 20769,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 20757,
|
|
"end": 20769,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 20759,
|
|
"end": 20769,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20759,
|
|
"end": 20769,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 20674,
|
|
"end": 20991,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 20777,
|
|
"end": 20991,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 20791,
|
|
"end": 20838,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 20791,
|
|
"end": 20837,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20791,
|
|
"end": 20802,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20791,
|
|
"end": 20797,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20798,
|
|
"end": 20802,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 20805,
|
|
"end": 20837,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20805,
|
|
"end": 20816,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20805,
|
|
"end": 20811,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20812,
|
|
"end": 20816,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20817,
|
|
"end": 20828,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20817,
|
|
"end": 20823,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20824,
|
|
"end": 20828,
|
|
"ctxt": 0
|
|
},
|
|
"value": "cond",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20830,
|
|
"end": 20836,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 20851,
|
|
"end": 20981,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 20855,
|
|
"end": 20900,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20855,
|
|
"end": 20866,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20855,
|
|
"end": 20861,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20862,
|
|
"end": 20866,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 20870,
|
|
"end": 20900,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20871,
|
|
"end": 20899,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20871,
|
|
"end": 20885,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20871,
|
|
"end": 20877,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20878,
|
|
"end": 20885,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20886,
|
|
"end": 20899,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 20902,
|
|
"end": 20981,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 20920,
|
|
"end": 20967,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 20920,
|
|
"end": 20966,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20920,
|
|
"end": 20931,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20920,
|
|
"end": 20926,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20927,
|
|
"end": 20931,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 20934,
|
|
"end": 20966,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20934,
|
|
"end": 20945,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20934,
|
|
"end": 20940,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20941,
|
|
"end": 20945,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 20946,
|
|
"end": 20957,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20946,
|
|
"end": 20952,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20953,
|
|
"end": 20957,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 20959,
|
|
"end": 20965,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 20770,
|
|
"end": 20776,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 20772,
|
|
"end": 20776,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 21001,
|
|
"end": 21236,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21017,
|
|
"end": 21034,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkBlockChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21035,
|
|
"end": 21048,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21035,
|
|
"end": 21048,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21041,
|
|
"end": 21048,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21043,
|
|
"end": 21048,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21043,
|
|
"end": 21048,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Block",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21050,
|
|
"end": 21061,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21050,
|
|
"end": 21061,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21056,
|
|
"end": 21061,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21058,
|
|
"end": 21061,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21058,
|
|
"end": 21061,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21063,
|
|
"end": 21081,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21063,
|
|
"end": 21081,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21069,
|
|
"end": 21081,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21071,
|
|
"end": 21081,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21071,
|
|
"end": 21081,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 21008,
|
|
"end": 21236,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21089,
|
|
"end": 21236,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 21103,
|
|
"end": 21226,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21107,
|
|
"end": 21124,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21107,
|
|
"end": 21113,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21114,
|
|
"end": 21124,
|
|
"ctxt": 0
|
|
},
|
|
"value": "statements",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21126,
|
|
"end": 21226,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 21144,
|
|
"end": 21212,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 21144,
|
|
"end": 21211,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21144,
|
|
"end": 21161,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21144,
|
|
"end": 21150,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21151,
|
|
"end": 21161,
|
|
"ctxt": 0
|
|
},
|
|
"value": "statements",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 21164,
|
|
"end": 21211,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 21173,
|
|
"end": 21211,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21173,
|
|
"end": 21184,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21173,
|
|
"end": 21179,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21180,
|
|
"end": 21184,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21185,
|
|
"end": 21202,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21185,
|
|
"end": 21191,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21192,
|
|
"end": 21202,
|
|
"ctxt": 0
|
|
},
|
|
"value": "statements",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21204,
|
|
"end": 21210,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21165,
|
|
"end": 21172,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21165,
|
|
"end": 21172,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21082,
|
|
"end": 21088,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 21084,
|
|
"end": 21088,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 21246,
|
|
"end": 21621,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21262,
|
|
"end": 21287,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkCaseStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21288,
|
|
"end": 21309,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21288,
|
|
"end": 21309,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21294,
|
|
"end": 21309,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21296,
|
|
"end": 21309,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21296,
|
|
"end": 21309,
|
|
"ctxt": 0
|
|
},
|
|
"value": "CaseStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21311,
|
|
"end": 21322,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21311,
|
|
"end": 21322,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21317,
|
|
"end": 21322,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21319,
|
|
"end": 21322,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21319,
|
|
"end": 21322,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21324,
|
|
"end": 21342,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21324,
|
|
"end": 21342,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21330,
|
|
"end": 21342,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21332,
|
|
"end": 21342,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21332,
|
|
"end": 21342,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 21253,
|
|
"end": 21621,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21350,
|
|
"end": 21621,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 21364,
|
|
"end": 21460,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21368,
|
|
"end": 21379,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21368,
|
|
"end": 21374,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21375,
|
|
"end": 21379,
|
|
"ctxt": 0
|
|
},
|
|
"value": "expr",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21381,
|
|
"end": 21460,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 21399,
|
|
"end": 21446,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 21399,
|
|
"end": 21445,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21399,
|
|
"end": 21410,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21399,
|
|
"end": 21405,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21406,
|
|
"end": 21410,
|
|
"ctxt": 0
|
|
},
|
|
"value": "expr",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 21413,
|
|
"end": 21445,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21413,
|
|
"end": 21424,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21413,
|
|
"end": 21419,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21420,
|
|
"end": 21424,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21425,
|
|
"end": 21436,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21425,
|
|
"end": 21431,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21432,
|
|
"end": 21436,
|
|
"ctxt": 0
|
|
},
|
|
"value": "expr",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21438,
|
|
"end": 21444,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 21474,
|
|
"end": 21611,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 21478,
|
|
"end": 21521,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21478,
|
|
"end": 21489,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21478,
|
|
"end": 21484,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21485,
|
|
"end": 21489,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21493,
|
|
"end": 21521,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21493,
|
|
"end": 21507,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21493,
|
|
"end": 21499,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21500,
|
|
"end": 21507,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21508,
|
|
"end": 21521,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21523,
|
|
"end": 21611,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 21541,
|
|
"end": 21597,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 21541,
|
|
"end": 21596,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21541,
|
|
"end": 21552,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21541,
|
|
"end": 21547,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21548,
|
|
"end": 21552,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 21555,
|
|
"end": 21596,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 21564,
|
|
"end": 21596,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21564,
|
|
"end": 21575,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21564,
|
|
"end": 21570,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21571,
|
|
"end": 21575,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21576,
|
|
"end": 21587,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21576,
|
|
"end": 21582,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21583,
|
|
"end": 21587,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21589,
|
|
"end": 21595,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21556,
|
|
"end": 21563,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21556,
|
|
"end": 21563,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21343,
|
|
"end": 21349,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 21345,
|
|
"end": 21349,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 21631,
|
|
"end": 22021,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21647,
|
|
"end": 21674,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkSwitchStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21675,
|
|
"end": 21698,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21675,
|
|
"end": 21698,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21681,
|
|
"end": 21698,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21683,
|
|
"end": 21698,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21683,
|
|
"end": 21698,
|
|
"ctxt": 0
|
|
},
|
|
"value": "SwitchStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21700,
|
|
"end": 21711,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21700,
|
|
"end": 21711,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21706,
|
|
"end": 21711,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21708,
|
|
"end": 21711,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21708,
|
|
"end": 21711,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 21713,
|
|
"end": 21731,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21713,
|
|
"end": 21731,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21719,
|
|
"end": 21731,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21721,
|
|
"end": 21731,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21721,
|
|
"end": 21731,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 21638,
|
|
"end": 22021,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21739,
|
|
"end": 22021,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 21753,
|
|
"end": 21846,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21757,
|
|
"end": 21767,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21757,
|
|
"end": 21763,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21764,
|
|
"end": 21767,
|
|
"ctxt": 0
|
|
},
|
|
"value": "val",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21769,
|
|
"end": 21846,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 21787,
|
|
"end": 21832,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 21787,
|
|
"end": 21831,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21787,
|
|
"end": 21797,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21787,
|
|
"end": 21793,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21794,
|
|
"end": 21797,
|
|
"ctxt": 0
|
|
},
|
|
"value": "val",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 21800,
|
|
"end": 21831,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21800,
|
|
"end": 21811,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21800,
|
|
"end": 21806,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21807,
|
|
"end": 21811,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21812,
|
|
"end": 21822,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21812,
|
|
"end": 21818,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21819,
|
|
"end": 21822,
|
|
"ctxt": 0
|
|
},
|
|
"value": "val",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21824,
|
|
"end": 21830,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 21860,
|
|
"end": 22011,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 21864,
|
|
"end": 21913,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 21864,
|
|
"end": 21881,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21865,
|
|
"end": 21880,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21865,
|
|
"end": 21871,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21872,
|
|
"end": 21880,
|
|
"ctxt": 0
|
|
},
|
|
"value": "caseList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21885,
|
|
"end": 21913,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21885,
|
|
"end": 21899,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21885,
|
|
"end": 21891,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21892,
|
|
"end": 21899,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21900,
|
|
"end": 21913,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 21915,
|
|
"end": 22011,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 21933,
|
|
"end": 21997,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 21933,
|
|
"end": 21996,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21933,
|
|
"end": 21948,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21933,
|
|
"end": 21939,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21940,
|
|
"end": 21948,
|
|
"ctxt": 0
|
|
},
|
|
"value": "caseList",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 21951,
|
|
"end": 21996,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 21960,
|
|
"end": 21996,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21960,
|
|
"end": 21971,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21960,
|
|
"end": 21966,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21967,
|
|
"end": 21971,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 21972,
|
|
"end": 21987,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21972,
|
|
"end": 21978,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21979,
|
|
"end": 21987,
|
|
"ctxt": 0
|
|
},
|
|
"value": "caseList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21989,
|
|
"end": 21995,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 21952,
|
|
"end": 21959,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 21952,
|
|
"end": 21959,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 21732,
|
|
"end": 21738,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 21734,
|
|
"end": 21738,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 22031,
|
|
"end": 22235,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22047,
|
|
"end": 22062,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTryChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22063,
|
|
"end": 22074,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22063,
|
|
"end": 22074,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22069,
|
|
"end": 22074,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22071,
|
|
"end": 22074,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22071,
|
|
"end": 22074,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Try",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22076,
|
|
"end": 22087,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22076,
|
|
"end": 22087,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22082,
|
|
"end": 22087,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22084,
|
|
"end": 22087,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22084,
|
|
"end": 22087,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22089,
|
|
"end": 22107,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22089,
|
|
"end": 22107,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22095,
|
|
"end": 22107,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22097,
|
|
"end": 22107,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22097,
|
|
"end": 22107,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 22038,
|
|
"end": 22235,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 22115,
|
|
"end": 22235,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 22129,
|
|
"end": 22225,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22133,
|
|
"end": 22144,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22133,
|
|
"end": 22139,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22140,
|
|
"end": 22144,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 22146,
|
|
"end": 22225,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 22164,
|
|
"end": 22211,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 22164,
|
|
"end": 22210,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22164,
|
|
"end": 22175,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22164,
|
|
"end": 22170,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22171,
|
|
"end": 22175,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 22178,
|
|
"end": 22210,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22178,
|
|
"end": 22189,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22178,
|
|
"end": 22184,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22185,
|
|
"end": 22189,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22190,
|
|
"end": 22201,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22190,
|
|
"end": 22196,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22197,
|
|
"end": 22201,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22203,
|
|
"end": 22209,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22108,
|
|
"end": 22114,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 22110,
|
|
"end": 22114,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 22245,
|
|
"end": 22639,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22261,
|
|
"end": 22281,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTryCatchChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22282,
|
|
"end": 22298,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22282,
|
|
"end": 22298,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22288,
|
|
"end": 22298,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22290,
|
|
"end": 22298,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22290,
|
|
"end": 22298,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TryCatch",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22300,
|
|
"end": 22311,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22300,
|
|
"end": 22311,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22306,
|
|
"end": 22311,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22308,
|
|
"end": 22311,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22308,
|
|
"end": 22311,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22313,
|
|
"end": 22331,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22313,
|
|
"end": 22331,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22319,
|
|
"end": 22331,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22321,
|
|
"end": 22331,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22321,
|
|
"end": 22331,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 22252,
|
|
"end": 22639,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 22339,
|
|
"end": 22639,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 22353,
|
|
"end": 22463,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22357,
|
|
"end": 22371,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22357,
|
|
"end": 22363,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22364,
|
|
"end": 22371,
|
|
"ctxt": 0
|
|
},
|
|
"value": "tryNode",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 22373,
|
|
"end": 22463,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 22391,
|
|
"end": 22449,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 22391,
|
|
"end": 22448,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22391,
|
|
"end": 22405,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22391,
|
|
"end": 22397,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22398,
|
|
"end": 22405,
|
|
"ctxt": 0
|
|
},
|
|
"value": "tryNode",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 22408,
|
|
"end": 22448,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 22413,
|
|
"end": 22448,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22413,
|
|
"end": 22424,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22413,
|
|
"end": 22419,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22420,
|
|
"end": 22424,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22425,
|
|
"end": 22439,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22425,
|
|
"end": 22431,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22432,
|
|
"end": 22439,
|
|
"ctxt": 0
|
|
},
|
|
"value": "tryNode",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22441,
|
|
"end": 22447,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22409,
|
|
"end": 22412,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22409,
|
|
"end": 22412,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Try",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 22477,
|
|
"end": 22629,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 22481,
|
|
"end": 22531,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 22481,
|
|
"end": 22499,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22482,
|
|
"end": 22498,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22482,
|
|
"end": 22488,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22489,
|
|
"end": 22498,
|
|
"ctxt": 0
|
|
},
|
|
"value": "catchNode",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22503,
|
|
"end": 22531,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22503,
|
|
"end": 22517,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22503,
|
|
"end": 22509,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22510,
|
|
"end": 22517,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22518,
|
|
"end": 22531,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 22533,
|
|
"end": 22629,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 22551,
|
|
"end": 22615,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 22551,
|
|
"end": 22614,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22551,
|
|
"end": 22567,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22551,
|
|
"end": 22557,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22558,
|
|
"end": 22567,
|
|
"ctxt": 0
|
|
},
|
|
"value": "catchNode",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 22570,
|
|
"end": 22614,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 22577,
|
|
"end": 22614,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22577,
|
|
"end": 22588,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22577,
|
|
"end": 22583,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22584,
|
|
"end": 22588,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22589,
|
|
"end": 22605,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22589,
|
|
"end": 22595,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22596,
|
|
"end": 22605,
|
|
"ctxt": 0
|
|
},
|
|
"value": "catchNode",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22607,
|
|
"end": 22613,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22571,
|
|
"end": 22576,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22571,
|
|
"end": 22576,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Catch",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22332,
|
|
"end": 22338,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 22334,
|
|
"end": 22338,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 22649,
|
|
"end": 23048,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22665,
|
|
"end": 22687,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTryFinallyChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22688,
|
|
"end": 22706,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22688,
|
|
"end": 22706,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22694,
|
|
"end": 22706,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22696,
|
|
"end": 22706,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22696,
|
|
"end": 22706,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TryFinally",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22708,
|
|
"end": 22719,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22708,
|
|
"end": 22719,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22714,
|
|
"end": 22719,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22716,
|
|
"end": 22719,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22716,
|
|
"end": 22719,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 22721,
|
|
"end": 22739,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22721,
|
|
"end": 22739,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22727,
|
|
"end": 22739,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22729,
|
|
"end": 22739,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22729,
|
|
"end": 22739,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 22656,
|
|
"end": 23048,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 22747,
|
|
"end": 23048,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 22761,
|
|
"end": 22866,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22765,
|
|
"end": 22779,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22765,
|
|
"end": 22771,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22772,
|
|
"end": 22779,
|
|
"ctxt": 0
|
|
},
|
|
"value": "tryNode",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 22781,
|
|
"end": 22866,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 22799,
|
|
"end": 22852,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 22799,
|
|
"end": 22851,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22799,
|
|
"end": 22813,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22799,
|
|
"end": 22805,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22806,
|
|
"end": 22813,
|
|
"ctxt": 0
|
|
},
|
|
"value": "tryNode",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 22816,
|
|
"end": 22851,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22816,
|
|
"end": 22827,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22816,
|
|
"end": 22822,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22823,
|
|
"end": 22827,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22828,
|
|
"end": 22842,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22828,
|
|
"end": 22834,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22835,
|
|
"end": 22842,
|
|
"ctxt": 0
|
|
},
|
|
"value": "tryNode",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22844,
|
|
"end": 22850,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 22880,
|
|
"end": 23038,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 22884,
|
|
"end": 22934,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22884,
|
|
"end": 22902,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22884,
|
|
"end": 22890,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22891,
|
|
"end": 22902,
|
|
"ctxt": 0
|
|
},
|
|
"value": "finallyNode",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22906,
|
|
"end": 22934,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22906,
|
|
"end": 22920,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22906,
|
|
"end": 22912,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22913,
|
|
"end": 22920,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22921,
|
|
"end": 22934,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 22936,
|
|
"end": 23038,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 22954,
|
|
"end": 23024,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 22954,
|
|
"end": 23023,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22954,
|
|
"end": 22972,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22954,
|
|
"end": 22960,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22961,
|
|
"end": 22972,
|
|
"ctxt": 0
|
|
},
|
|
"value": "finallyNode",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 22975,
|
|
"end": 23023,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 22984,
|
|
"end": 23023,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22984,
|
|
"end": 22995,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22984,
|
|
"end": 22990,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22991,
|
|
"end": 22995,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 22996,
|
|
"end": 23014,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22996,
|
|
"end": 23002,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23003,
|
|
"end": 23014,
|
|
"ctxt": 0
|
|
},
|
|
"value": "finallyNode",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23016,
|
|
"end": 23022,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 22976,
|
|
"end": 22983,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 22976,
|
|
"end": 22983,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Finally",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 22740,
|
|
"end": 22746,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 22742,
|
|
"end": 22746,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 23058,
|
|
"end": 23270,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23074,
|
|
"end": 23093,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkFinallyChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23094,
|
|
"end": 23109,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23094,
|
|
"end": 23109,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23100,
|
|
"end": 23109,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23102,
|
|
"end": 23109,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23102,
|
|
"end": 23109,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Finally",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23111,
|
|
"end": 23122,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23111,
|
|
"end": 23122,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23117,
|
|
"end": 23122,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23119,
|
|
"end": 23122,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23119,
|
|
"end": 23122,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23124,
|
|
"end": 23142,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23124,
|
|
"end": 23142,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23130,
|
|
"end": 23142,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23132,
|
|
"end": 23142,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23132,
|
|
"end": 23142,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 23065,
|
|
"end": 23270,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 23150,
|
|
"end": 23270,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 23164,
|
|
"end": 23260,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23168,
|
|
"end": 23179,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23168,
|
|
"end": 23174,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23175,
|
|
"end": 23179,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 23181,
|
|
"end": 23260,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 23199,
|
|
"end": 23246,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 23199,
|
|
"end": 23245,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23199,
|
|
"end": 23210,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23199,
|
|
"end": 23205,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23206,
|
|
"end": 23210,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 23213,
|
|
"end": 23245,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23213,
|
|
"end": 23224,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23213,
|
|
"end": 23219,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23220,
|
|
"end": 23224,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23225,
|
|
"end": 23236,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23225,
|
|
"end": 23231,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23232,
|
|
"end": 23236,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23238,
|
|
"end": 23244,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23143,
|
|
"end": 23149,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 23145,
|
|
"end": 23149,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 23280,
|
|
"end": 23644,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23296,
|
|
"end": 23313,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkCatchChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23314,
|
|
"end": 23327,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23314,
|
|
"end": 23327,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23320,
|
|
"end": 23327,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23322,
|
|
"end": 23327,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23322,
|
|
"end": 23327,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Catch",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23329,
|
|
"end": 23340,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23329,
|
|
"end": 23340,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23335,
|
|
"end": 23340,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23337,
|
|
"end": 23340,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23337,
|
|
"end": 23340,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23342,
|
|
"end": 23360,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23342,
|
|
"end": 23360,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23348,
|
|
"end": 23360,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23350,
|
|
"end": 23360,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23350,
|
|
"end": 23360,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 23287,
|
|
"end": 23644,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 23368,
|
|
"end": 23644,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 23382,
|
|
"end": 23490,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23386,
|
|
"end": 23398,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23386,
|
|
"end": 23392,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23393,
|
|
"end": 23398,
|
|
"ctxt": 0
|
|
},
|
|
"value": "param",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 23400,
|
|
"end": 23490,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 23418,
|
|
"end": 23476,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 23418,
|
|
"end": 23475,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23418,
|
|
"end": 23430,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23418,
|
|
"end": 23424,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23425,
|
|
"end": 23430,
|
|
"ctxt": 0
|
|
},
|
|
"value": "param",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 23433,
|
|
"end": 23475,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 23442,
|
|
"end": 23475,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23442,
|
|
"end": 23453,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23442,
|
|
"end": 23448,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23449,
|
|
"end": 23453,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23454,
|
|
"end": 23466,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23454,
|
|
"end": 23460,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23461,
|
|
"end": 23466,
|
|
"ctxt": 0
|
|
},
|
|
"value": "param",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23468,
|
|
"end": 23474,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23434,
|
|
"end": 23441,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23434,
|
|
"end": 23441,
|
|
"ctxt": 0
|
|
},
|
|
"value": "VarDecl",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 23504,
|
|
"end": 23634,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 23508,
|
|
"end": 23553,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "ParenthesisExpression",
|
|
"span": {
|
|
"start": 23508,
|
|
"end": 23521,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23509,
|
|
"end": 23520,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23509,
|
|
"end": 23515,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23516,
|
|
"end": 23520,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23525,
|
|
"end": 23553,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23525,
|
|
"end": 23539,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23525,
|
|
"end": 23531,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23532,
|
|
"end": 23539,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23540,
|
|
"end": 23553,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 23555,
|
|
"end": 23634,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 23573,
|
|
"end": 23620,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 23573,
|
|
"end": 23619,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23573,
|
|
"end": 23584,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23573,
|
|
"end": 23579,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23580,
|
|
"end": 23584,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 23587,
|
|
"end": 23619,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23587,
|
|
"end": 23598,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23587,
|
|
"end": 23593,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23594,
|
|
"end": 23598,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23599,
|
|
"end": 23610,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23599,
|
|
"end": 23605,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23606,
|
|
"end": 23610,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23612,
|
|
"end": 23618,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23361,
|
|
"end": 23367,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 23363,
|
|
"end": 23367,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 23654,
|
|
"end": 23997,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23670,
|
|
"end": 23688,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkRecordChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23689,
|
|
"end": 23713,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23689,
|
|
"end": 23713,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23695,
|
|
"end": 23713,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23697,
|
|
"end": 23713,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23697,
|
|
"end": 23713,
|
|
"ctxt": 0
|
|
},
|
|
"value": "NamedDeclaration",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23715,
|
|
"end": 23726,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23715,
|
|
"end": 23726,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23721,
|
|
"end": 23726,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23723,
|
|
"end": 23726,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23723,
|
|
"end": 23726,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 23728,
|
|
"end": 23746,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23728,
|
|
"end": 23746,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23734,
|
|
"end": 23746,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23736,
|
|
"end": 23746,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23736,
|
|
"end": 23746,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 23661,
|
|
"end": 23997,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 23754,
|
|
"end": 23997,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 23768,
|
|
"end": 23827,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 23768,
|
|
"end": 23826,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23768,
|
|
"end": 23779,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23768,
|
|
"end": 23774,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23775,
|
|
"end": 23779,
|
|
"ctxt": 0
|
|
},
|
|
"value": "name",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 23782,
|
|
"end": 23826,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 23794,
|
|
"end": 23826,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23794,
|
|
"end": 23805,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23794,
|
|
"end": 23800,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23801,
|
|
"end": 23805,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23806,
|
|
"end": 23817,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23806,
|
|
"end": 23812,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23813,
|
|
"end": 23817,
|
|
"ctxt": 0
|
|
},
|
|
"value": "name",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23819,
|
|
"end": 23825,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23783,
|
|
"end": 23793,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23783,
|
|
"end": 23793,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Identifier",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 23840,
|
|
"end": 23986,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 23844,
|
|
"end": 23890,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23844,
|
|
"end": 23872,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23844,
|
|
"end": 23858,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23844,
|
|
"end": 23850,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23851,
|
|
"end": 23858,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23859,
|
|
"end": 23872,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23876,
|
|
"end": 23890,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23876,
|
|
"end": 23882,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23883,
|
|
"end": 23890,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 23892,
|
|
"end": 23986,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 23910,
|
|
"end": 23972,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 23910,
|
|
"end": 23971,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23910,
|
|
"end": 23924,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23910,
|
|
"end": 23916,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23917,
|
|
"end": 23924,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 23927,
|
|
"end": 23971,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 23936,
|
|
"end": 23971,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23936,
|
|
"end": 23947,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23936,
|
|
"end": 23942,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23943,
|
|
"end": 23947,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 23948,
|
|
"end": 23962,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23948,
|
|
"end": 23954,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23955,
|
|
"end": 23962,
|
|
"ctxt": 0
|
|
},
|
|
"value": "members",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23964,
|
|
"end": 23970,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 23928,
|
|
"end": 23935,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 23928,
|
|
"end": 23935,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 23747,
|
|
"end": 23753,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 23749,
|
|
"end": 23753,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 24007,
|
|
"end": 24176,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24023,
|
|
"end": 24044,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNamedTypeChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24045,
|
|
"end": 24068,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24045,
|
|
"end": 24068,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24051,
|
|
"end": 24068,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24053,
|
|
"end": 24068,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24053,
|
|
"end": 24068,
|
|
"ctxt": 0
|
|
},
|
|
"value": "TypeDeclaration",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24070,
|
|
"end": 24081,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24070,
|
|
"end": 24081,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24076,
|
|
"end": 24081,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24078,
|
|
"end": 24081,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24078,
|
|
"end": 24081,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24083,
|
|
"end": 24101,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24083,
|
|
"end": 24101,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24089,
|
|
"end": 24101,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24091,
|
|
"end": 24101,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24091,
|
|
"end": 24101,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 24014,
|
|
"end": 24176,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 24109,
|
|
"end": 24176,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 24123,
|
|
"end": 24166,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 24123,
|
|
"end": 24165,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24123,
|
|
"end": 24141,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkRecordChildren",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24142,
|
|
"end": 24148,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24150,
|
|
"end": 24156,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24158,
|
|
"end": 24164,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24102,
|
|
"end": 24108,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 24104,
|
|
"end": 24108,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 24186,
|
|
"end": 24712,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24202,
|
|
"end": 24223,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkClassDeclChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24224,
|
|
"end": 24248,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24224,
|
|
"end": 24248,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24230,
|
|
"end": 24248,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24232,
|
|
"end": 24248,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24232,
|
|
"end": 24248,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ClassDeclaration",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24250,
|
|
"end": 24261,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24250,
|
|
"end": 24261,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24256,
|
|
"end": 24261,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24258,
|
|
"end": 24261,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24258,
|
|
"end": 24261,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24263,
|
|
"end": 24281,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24263,
|
|
"end": 24281,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24269,
|
|
"end": 24281,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24271,
|
|
"end": 24281,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24271,
|
|
"end": 24281,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 24193,
|
|
"end": 24712,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 24289,
|
|
"end": 24712,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 24303,
|
|
"end": 24349,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 24303,
|
|
"end": 24348,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24303,
|
|
"end": 24324,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNamedTypeChildren",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24325,
|
|
"end": 24331,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24333,
|
|
"end": 24339,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24341,
|
|
"end": 24347,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 24363,
|
|
"end": 24521,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 24367,
|
|
"end": 24417,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24367,
|
|
"end": 24395,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24367,
|
|
"end": 24381,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24367,
|
|
"end": 24373,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24374,
|
|
"end": 24381,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24382,
|
|
"end": 24395,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24399,
|
|
"end": 24417,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24399,
|
|
"end": 24405,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24406,
|
|
"end": 24417,
|
|
"ctxt": 0
|
|
},
|
|
"value": "extendsList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 24419,
|
|
"end": 24521,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 24437,
|
|
"end": 24507,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 24437,
|
|
"end": 24506,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24437,
|
|
"end": 24455,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24437,
|
|
"end": 24443,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24444,
|
|
"end": 24455,
|
|
"ctxt": 0
|
|
},
|
|
"value": "extendsList",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 24458,
|
|
"end": 24506,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 24467,
|
|
"end": 24506,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24467,
|
|
"end": 24478,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24467,
|
|
"end": 24473,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24474,
|
|
"end": 24478,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24479,
|
|
"end": 24497,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24479,
|
|
"end": 24485,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24486,
|
|
"end": 24497,
|
|
"ctxt": 0
|
|
},
|
|
"value": "extendsList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24499,
|
|
"end": 24505,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24459,
|
|
"end": 24466,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24459,
|
|
"end": 24466,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 24535,
|
|
"end": 24702,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 24539,
|
|
"end": 24592,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24539,
|
|
"end": 24567,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24539,
|
|
"end": 24553,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24539,
|
|
"end": 24545,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24546,
|
|
"end": 24553,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24554,
|
|
"end": 24567,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24571,
|
|
"end": 24592,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24571,
|
|
"end": 24577,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24578,
|
|
"end": 24592,
|
|
"ctxt": 0
|
|
},
|
|
"value": "implementsList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 24594,
|
|
"end": 24702,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 24612,
|
|
"end": 24688,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 24612,
|
|
"end": 24687,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24612,
|
|
"end": 24633,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24612,
|
|
"end": 24618,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24619,
|
|
"end": 24633,
|
|
"ctxt": 0
|
|
},
|
|
"value": "implementsList",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 24636,
|
|
"end": 24687,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 24645,
|
|
"end": 24687,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24645,
|
|
"end": 24656,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24645,
|
|
"end": 24651,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24652,
|
|
"end": 24656,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24657,
|
|
"end": 24678,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24657,
|
|
"end": 24663,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24664,
|
|
"end": 24678,
|
|
"ctxt": 0
|
|
},
|
|
"value": "implementsList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24680,
|
|
"end": 24686,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24637,
|
|
"end": 24644,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24637,
|
|
"end": 24644,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24282,
|
|
"end": 24288,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 24284,
|
|
"end": 24288,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 24722,
|
|
"end": 24938,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24738,
|
|
"end": 24756,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkScriptChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24757,
|
|
"end": 24771,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24757,
|
|
"end": 24771,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24763,
|
|
"end": 24771,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24765,
|
|
"end": 24771,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24765,
|
|
"end": 24771,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Script",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24773,
|
|
"end": 24784,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24773,
|
|
"end": 24784,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24779,
|
|
"end": 24784,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24781,
|
|
"end": 24784,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24781,
|
|
"end": 24784,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24786,
|
|
"end": 24804,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24786,
|
|
"end": 24804,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24792,
|
|
"end": 24804,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24794,
|
|
"end": 24804,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24794,
|
|
"end": 24804,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 24729,
|
|
"end": 24938,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 24812,
|
|
"end": 24938,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 24826,
|
|
"end": 24928,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24830,
|
|
"end": 24840,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24830,
|
|
"end": 24836,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24837,
|
|
"end": 24840,
|
|
"ctxt": 0
|
|
},
|
|
"value": "bod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 24842,
|
|
"end": 24928,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 24860,
|
|
"end": 24914,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 24860,
|
|
"end": 24913,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24860,
|
|
"end": 24870,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24860,
|
|
"end": 24866,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24867,
|
|
"end": 24870,
|
|
"ctxt": 0
|
|
},
|
|
"value": "bod",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 24873,
|
|
"end": 24913,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 24882,
|
|
"end": 24913,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24882,
|
|
"end": 24893,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24882,
|
|
"end": 24888,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24889,
|
|
"end": 24893,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 24894,
|
|
"end": 24904,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24894,
|
|
"end": 24900,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24901,
|
|
"end": 24904,
|
|
"ctxt": 0
|
|
},
|
|
"value": "bod",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24906,
|
|
"end": 24912,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24874,
|
|
"end": 24881,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24874,
|
|
"end": 24881,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24805,
|
|
"end": 24811,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 24807,
|
|
"end": 24811,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 24948,
|
|
"end": 25528,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24964,
|
|
"end": 24984,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkTypeDeclChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 24985,
|
|
"end": 25013,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24985,
|
|
"end": 25013,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 24991,
|
|
"end": 25013,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 24993,
|
|
"end": 25013,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 24993,
|
|
"end": 25013,
|
|
"ctxt": 0
|
|
},
|
|
"value": "InterfaceDeclaration",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 25015,
|
|
"end": 25026,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25015,
|
|
"end": 25026,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25021,
|
|
"end": 25026,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25023,
|
|
"end": 25026,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25023,
|
|
"end": 25026,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 25028,
|
|
"end": 25046,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25028,
|
|
"end": 25046,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25034,
|
|
"end": 25046,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25036,
|
|
"end": 25046,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25036,
|
|
"end": 25046,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 24955,
|
|
"end": 25528,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 25054,
|
|
"end": 25528,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 25068,
|
|
"end": 25114,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 25068,
|
|
"end": 25113,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25068,
|
|
"end": 25089,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkNamedTypeChildren",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25090,
|
|
"end": 25096,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25098,
|
|
"end": 25104,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25106,
|
|
"end": 25112,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 25179,
|
|
"end": 25337,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 25183,
|
|
"end": 25233,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25183,
|
|
"end": 25211,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25183,
|
|
"end": 25197,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25183,
|
|
"end": 25189,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25190,
|
|
"end": 25197,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25198,
|
|
"end": 25211,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25215,
|
|
"end": 25233,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25215,
|
|
"end": 25221,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25222,
|
|
"end": 25233,
|
|
"ctxt": 0
|
|
},
|
|
"value": "extendsList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 25235,
|
|
"end": 25337,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 25253,
|
|
"end": 25323,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 25253,
|
|
"end": 25322,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25253,
|
|
"end": 25271,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25253,
|
|
"end": 25259,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25260,
|
|
"end": 25271,
|
|
"ctxt": 0
|
|
},
|
|
"value": "extendsList",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 25274,
|
|
"end": 25322,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 25283,
|
|
"end": 25322,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25283,
|
|
"end": 25294,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25283,
|
|
"end": 25289,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25290,
|
|
"end": 25294,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25295,
|
|
"end": 25313,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25295,
|
|
"end": 25301,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25302,
|
|
"end": 25313,
|
|
"ctxt": 0
|
|
},
|
|
"value": "extendsList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25315,
|
|
"end": 25321,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25275,
|
|
"end": 25282,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25275,
|
|
"end": 25282,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 25351,
|
|
"end": 25518,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 25355,
|
|
"end": 25408,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25355,
|
|
"end": 25383,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25355,
|
|
"end": 25369,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25355,
|
|
"end": 25361,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25362,
|
|
"end": 25369,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25370,
|
|
"end": 25383,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25387,
|
|
"end": 25408,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25387,
|
|
"end": 25393,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25394,
|
|
"end": 25408,
|
|
"ctxt": 0
|
|
},
|
|
"value": "implementsList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 25410,
|
|
"end": 25518,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 25428,
|
|
"end": 25504,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 25428,
|
|
"end": 25503,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25428,
|
|
"end": 25449,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25428,
|
|
"end": 25434,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25435,
|
|
"end": 25449,
|
|
"ctxt": 0
|
|
},
|
|
"value": "implementsList",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 25452,
|
|
"end": 25503,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 25461,
|
|
"end": 25503,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25461,
|
|
"end": 25472,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25461,
|
|
"end": 25467,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25468,
|
|
"end": 25472,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25473,
|
|
"end": 25494,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25473,
|
|
"end": 25479,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25480,
|
|
"end": 25494,
|
|
"ctxt": 0
|
|
},
|
|
"value": "implementsList",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25496,
|
|
"end": 25502,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25453,
|
|
"end": 25460,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25453,
|
|
"end": 25460,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25047,
|
|
"end": 25053,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 25049,
|
|
"end": 25053,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 25538,
|
|
"end": 25710,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25554,
|
|
"end": 25576,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkModuleDeclChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 25577,
|
|
"end": 25602,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25577,
|
|
"end": 25602,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25583,
|
|
"end": 25602,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25585,
|
|
"end": 25602,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25585,
|
|
"end": 25602,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ModuleDeclaration",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 25604,
|
|
"end": 25615,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25604,
|
|
"end": 25615,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25610,
|
|
"end": 25615,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25612,
|
|
"end": 25615,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25612,
|
|
"end": 25615,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 25617,
|
|
"end": 25635,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25617,
|
|
"end": 25635,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25623,
|
|
"end": 25635,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25625,
|
|
"end": 25635,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25625,
|
|
"end": 25635,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 25545,
|
|
"end": 25710,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 25643,
|
|
"end": 25710,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 25657,
|
|
"end": 25700,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 25657,
|
|
"end": 25699,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25657,
|
|
"end": 25675,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkRecordChildren",
|
|
"optional": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25676,
|
|
"end": 25682,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25684,
|
|
"end": 25690,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25692,
|
|
"end": 25698,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25636,
|
|
"end": 25642,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 25638,
|
|
"end": 25642,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 25720,
|
|
"end": 26063,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25736,
|
|
"end": 25758,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkImportDeclChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 25759,
|
|
"end": 25784,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25759,
|
|
"end": 25784,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25765,
|
|
"end": 25784,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25767,
|
|
"end": 25784,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25767,
|
|
"end": 25784,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ImportDeclaration",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 25786,
|
|
"end": 25797,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25786,
|
|
"end": 25797,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25792,
|
|
"end": 25797,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25794,
|
|
"end": 25797,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25794,
|
|
"end": 25797,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 25799,
|
|
"end": 25817,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25799,
|
|
"end": 25817,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25805,
|
|
"end": 25817,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25807,
|
|
"end": 25817,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25807,
|
|
"end": 25817,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 25727,
|
|
"end": 26063,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 25825,
|
|
"end": 26063,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 25839,
|
|
"end": 25941,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25843,
|
|
"end": 25852,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25843,
|
|
"end": 25849,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25850,
|
|
"end": 25852,
|
|
"ctxt": 0
|
|
},
|
|
"value": "id",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 25854,
|
|
"end": 25941,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 25872,
|
|
"end": 25927,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 25872,
|
|
"end": 25926,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25872,
|
|
"end": 25881,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25872,
|
|
"end": 25878,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25879,
|
|
"end": 25881,
|
|
"ctxt": 0
|
|
},
|
|
"value": "id",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 25884,
|
|
"end": 25926,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 25896,
|
|
"end": 25926,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25896,
|
|
"end": 25907,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25896,
|
|
"end": 25902,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25903,
|
|
"end": 25907,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25908,
|
|
"end": 25917,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25908,
|
|
"end": 25914,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25915,
|
|
"end": 25917,
|
|
"ctxt": 0
|
|
},
|
|
"value": "id",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25919,
|
|
"end": 25925,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 25885,
|
|
"end": 25895,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25885,
|
|
"end": 25895,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Identifier",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 25954,
|
|
"end": 26053,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25958,
|
|
"end": 25970,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25958,
|
|
"end": 25964,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25965,
|
|
"end": 25970,
|
|
"ctxt": 0
|
|
},
|
|
"value": "alias",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 25972,
|
|
"end": 26053,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 25990,
|
|
"end": 26039,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 25990,
|
|
"end": 26038,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 25990,
|
|
"end": 26002,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25990,
|
|
"end": 25996,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 25997,
|
|
"end": 26002,
|
|
"ctxt": 0
|
|
},
|
|
"value": "alias",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 26005,
|
|
"end": 26038,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26005,
|
|
"end": 26016,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26005,
|
|
"end": 26011,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26012,
|
|
"end": 26016,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26017,
|
|
"end": 26029,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26017,
|
|
"end": 26023,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26024,
|
|
"end": 26029,
|
|
"ctxt": 0
|
|
},
|
|
"value": "alias",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26031,
|
|
"end": 26037,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 25818,
|
|
"end": 25824,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 25820,
|
|
"end": 25824,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 26073,
|
|
"end": 26439,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26089,
|
|
"end": 26114,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkWithStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26115,
|
|
"end": 26136,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26115,
|
|
"end": 26136,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26121,
|
|
"end": 26136,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26123,
|
|
"end": 26136,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26123,
|
|
"end": 26136,
|
|
"ctxt": 0
|
|
},
|
|
"value": "WithStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26138,
|
|
"end": 26149,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26138,
|
|
"end": 26149,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26144,
|
|
"end": 26149,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26146,
|
|
"end": 26149,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26146,
|
|
"end": 26149,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26151,
|
|
"end": 26169,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26151,
|
|
"end": 26169,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26157,
|
|
"end": 26169,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26159,
|
|
"end": 26169,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26159,
|
|
"end": 26169,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 26080,
|
|
"end": 26439,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 26177,
|
|
"end": 26439,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 26191,
|
|
"end": 26287,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26195,
|
|
"end": 26206,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26195,
|
|
"end": 26201,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26202,
|
|
"end": 26206,
|
|
"ctxt": 0
|
|
},
|
|
"value": "expr",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 26208,
|
|
"end": 26287,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 26226,
|
|
"end": 26273,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 26226,
|
|
"end": 26272,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26226,
|
|
"end": 26237,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26226,
|
|
"end": 26232,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26233,
|
|
"end": 26237,
|
|
"ctxt": 0
|
|
},
|
|
"value": "expr",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 26240,
|
|
"end": 26272,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26240,
|
|
"end": 26251,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26240,
|
|
"end": 26246,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26247,
|
|
"end": 26251,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26252,
|
|
"end": 26263,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26252,
|
|
"end": 26258,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26259,
|
|
"end": 26263,
|
|
"ctxt": 0
|
|
},
|
|
"value": "expr",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26265,
|
|
"end": 26271,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 26301,
|
|
"end": 26429,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "BinaryExpression",
|
|
"span": {
|
|
"start": 26305,
|
|
"end": 26348,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "&&",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26305,
|
|
"end": 26316,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26305,
|
|
"end": 26311,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26312,
|
|
"end": 26316,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26320,
|
|
"end": 26348,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26320,
|
|
"end": 26334,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26320,
|
|
"end": 26326,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26327,
|
|
"end": 26334,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26335,
|
|
"end": 26348,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 26350,
|
|
"end": 26429,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 26368,
|
|
"end": 26415,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 26368,
|
|
"end": 26414,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26368,
|
|
"end": 26379,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26368,
|
|
"end": 26374,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26375,
|
|
"end": 26379,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 26382,
|
|
"end": 26414,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26382,
|
|
"end": 26393,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26382,
|
|
"end": 26388,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26389,
|
|
"end": 26393,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26394,
|
|
"end": 26405,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26394,
|
|
"end": 26400,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26401,
|
|
"end": 26405,
|
|
"ctxt": 0
|
|
},
|
|
"value": "body",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26407,
|
|
"end": 26413,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26170,
|
|
"end": 26176,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 26172,
|
|
"end": 26176,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 26449,
|
|
"end": 26579,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26465,
|
|
"end": 26482,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkLabelChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26483,
|
|
"end": 26496,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26483,
|
|
"end": 26496,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26489,
|
|
"end": 26496,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26491,
|
|
"end": 26496,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26491,
|
|
"end": 26496,
|
|
"ctxt": 0
|
|
},
|
|
"value": "Label",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26498,
|
|
"end": 26509,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26498,
|
|
"end": 26509,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26504,
|
|
"end": 26509,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26506,
|
|
"end": 26509,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26506,
|
|
"end": 26509,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26511,
|
|
"end": 26529,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26511,
|
|
"end": 26529,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26517,
|
|
"end": 26529,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26519,
|
|
"end": 26529,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26519,
|
|
"end": 26529,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 26456,
|
|
"end": 26579,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 26537,
|
|
"end": 26579,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": []
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26530,
|
|
"end": 26536,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 26532,
|
|
"end": 26536,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExportDeclaration",
|
|
"span": {
|
|
"start": 26589,
|
|
"end": 26909,
|
|
"ctxt": 0
|
|
},
|
|
"declaration": {
|
|
"type": "FunctionDeclaration",
|
|
"identifier": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26605,
|
|
"end": 26633,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walkLabeledStatementChildren",
|
|
"optional": false
|
|
},
|
|
"declare": false,
|
|
"params": [
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26634,
|
|
"end": 26658,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26634,
|
|
"end": 26658,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26640,
|
|
"end": 26658,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26642,
|
|
"end": 26658,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26642,
|
|
"end": 26658,
|
|
"ctxt": 0
|
|
},
|
|
"value": "LabeledStatement",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26660,
|
|
"end": 26671,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26660,
|
|
"end": 26671,
|
|
"ctxt": 0
|
|
},
|
|
"value": "parent",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26666,
|
|
"end": 26671,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26668,
|
|
"end": 26671,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26668,
|
|
"end": 26671,
|
|
"ctxt": 0
|
|
},
|
|
"value": "AST",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "Parameter",
|
|
"span": {
|
|
"start": 26673,
|
|
"end": 26691,
|
|
"ctxt": 0
|
|
},
|
|
"decorators": [],
|
|
"pat": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26673,
|
|
"end": 26691,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false,
|
|
"typeAnnotation": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26679,
|
|
"end": 26691,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26681,
|
|
"end": 26691,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26681,
|
|
"end": 26691,
|
|
"ctxt": 0
|
|
},
|
|
"value": "IAstWalker",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"decorators": [],
|
|
"span": {
|
|
"start": 26596,
|
|
"end": 26909,
|
|
"ctxt": 0
|
|
},
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 26699,
|
|
"end": 26909,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 26713,
|
|
"end": 26773,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 26713,
|
|
"end": 26772,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26713,
|
|
"end": 26726,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26713,
|
|
"end": 26719,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26720,
|
|
"end": 26726,
|
|
"ctxt": 0
|
|
},
|
|
"value": "labels",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "TsTypeAssertion",
|
|
"span": {
|
|
"start": 26729,
|
|
"end": 26772,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 26738,
|
|
"end": 26772,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26738,
|
|
"end": 26749,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26738,
|
|
"end": 26744,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26745,
|
|
"end": 26749,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26750,
|
|
"end": 26763,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26750,
|
|
"end": 26756,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26757,
|
|
"end": 26763,
|
|
"ctxt": 0
|
|
},
|
|
"value": "labels",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26765,
|
|
"end": 26771,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsTypeReference",
|
|
"span": {
|
|
"start": 26730,
|
|
"end": 26737,
|
|
"ctxt": 0
|
|
},
|
|
"typeName": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26730,
|
|
"end": 26737,
|
|
"ctxt": 0
|
|
},
|
|
"value": "ASTList",
|
|
"optional": false
|
|
},
|
|
"typeParams": null
|
|
}
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"span": {
|
|
"start": 26786,
|
|
"end": 26899,
|
|
"ctxt": 0
|
|
},
|
|
"test": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26790,
|
|
"end": 26818,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26790,
|
|
"end": 26804,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26790,
|
|
"end": 26796,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26797,
|
|
"end": 26804,
|
|
"ctxt": 0
|
|
},
|
|
"value": "options",
|
|
"optional": false
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26805,
|
|
"end": 26818,
|
|
"ctxt": 0
|
|
},
|
|
"value": "goNextSibling",
|
|
"optional": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"span": {
|
|
"start": 26820,
|
|
"end": 26899,
|
|
"ctxt": 0
|
|
},
|
|
"stmts": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"span": {
|
|
"start": 26838,
|
|
"end": 26885,
|
|
"ctxt": 0
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"span": {
|
|
"start": 26838,
|
|
"end": 26884,
|
|
"ctxt": 0
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26838,
|
|
"end": 26849,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26838,
|
|
"end": 26844,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26845,
|
|
"end": 26849,
|
|
"ctxt": 0
|
|
},
|
|
"value": "stmt",
|
|
"optional": false
|
|
}
|
|
},
|
|
"right": {
|
|
"type": "CallExpression",
|
|
"span": {
|
|
"start": 26852,
|
|
"end": 26884,
|
|
"ctxt": 0
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26852,
|
|
"end": 26863,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26852,
|
|
"end": 26858,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walker",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26859,
|
|
"end": 26863,
|
|
"ctxt": 0
|
|
},
|
|
"value": "walk",
|
|
"optional": false
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "MemberExpression",
|
|
"span": {
|
|
"start": 26864,
|
|
"end": 26875,
|
|
"ctxt": 0
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26864,
|
|
"end": 26870,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26871,
|
|
"end": 26875,
|
|
"ctxt": 0
|
|
},
|
|
"value": "stmt",
|
|
"optional": false
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"spread": null,
|
|
"expression": {
|
|
"type": "Identifier",
|
|
"span": {
|
|
"start": 26877,
|
|
"end": 26883,
|
|
"ctxt": 0
|
|
},
|
|
"value": "preAst",
|
|
"optional": false
|
|
}
|
|
}
|
|
],
|
|
"typeArguments": null
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"alternate": null
|
|
}
|
|
]
|
|
},
|
|
"generator": false,
|
|
"async": false,
|
|
"typeParameters": null,
|
|
"returnType": {
|
|
"type": "TsTypeAnnotation",
|
|
"span": {
|
|
"start": 26692,
|
|
"end": 26698,
|
|
"ctxt": 0
|
|
},
|
|
"typeAnnotation": {
|
|
"type": "TsKeywordType",
|
|
"span": {
|
|
"start": 26694,
|
|
"end": 26698,
|
|
"ctxt": 0
|
|
},
|
|
"kind": "void"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"interpreter": null
|
|
}
|