Created
March 17, 2022 15:46
-
-
Save troZee/a63717acc3fca93e41c19882715af744 to your computer and use it in GitHub Desktop.
This is how callExpression looks like
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"type": "TypeCastExpression", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 57, | |
"column": 41 | |
}, | |
"end": { | |
"line": 64, | |
"column": 18 | |
} | |
}, | |
"range": [1636, 1804], | |
"expression": { | |
"type": "CallExpression", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 57, | |
"column": 41 | |
}, | |
"end": { | |
"line": 64, | |
"column": 2 | |
} | |
}, | |
"range": [1636, 1788], | |
"callee": { | |
"type": "Identifier", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 57, | |
"column": 41 | |
}, | |
"end": { | |
"line": 57, | |
"column": 62 | |
} | |
}, | |
"range": [1636, 1657], | |
"name": "codegenNativeCommands", | |
"typeAnnotation": null, | |
"optional": false | |
}, | |
"typeArguments": { | |
"type": "TypeParameterInstantiation", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 57, | |
"column": 62 | |
}, | |
"end": { | |
"line": 57, | |
"column": 78 | |
} | |
}, | |
"range": [1657, 1673], | |
"params": [ | |
{ | |
"type": "GenericTypeAnnotation", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 57, | |
"column": 63 | |
}, | |
"end": { | |
"line": 57, | |
"column": 77 | |
} | |
}, | |
"range": [1658, 1672], | |
"id": { | |
"type": "Identifier", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 57, | |
"column": 63 | |
}, | |
"end": { | |
"line": 57, | |
"column": 77 | |
} | |
}, | |
"range": [1658, 1672], | |
"name": "NativeCommands", | |
"typeAnnotation": null, | |
"optional": false | |
}, | |
"typeParameters": null | |
} | |
] | |
}, | |
"arguments": [ | |
{ | |
"type": "ObjectExpression", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 57, | |
"column": 79 | |
}, | |
"end": { | |
"line": 64, | |
"column": 1 | |
} | |
}, | |
"range": [1674, 1787], | |
"properties": [ | |
{ | |
"type": "Property", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 58, | |
"column": 2 | |
}, | |
"end": { | |
"line": 63, | |
"column": 3 | |
} | |
}, | |
"range": [1678, 1784], | |
"key": { | |
"type": "Identifier", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 58, | |
"column": 2 | |
}, | |
"end": { | |
"line": 58, | |
"column": 19 | |
} | |
}, | |
"range": [1678, 1695], | |
"name": "supportedCommands", | |
"typeAnnotation": null, | |
"optional": false | |
}, | |
"value": { | |
"type": "ArrayExpression", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 58, | |
"column": 21 | |
}, | |
"end": { | |
"line": 63, | |
"column": 3 | |
} | |
}, | |
"range": [1697, 1784], | |
"elements": [ | |
{ | |
"type": "Literal", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 59, | |
"column": 4 | |
}, | |
"end": { | |
"line": 59, | |
"column": 27 | |
} | |
}, | |
"range": [1703, 1726], | |
"value": "flashScrollIndicators", | |
"raw": "'flashScrollIndicators'" | |
}, | |
{ | |
"type": "Literal", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 60, | |
"column": 4 | |
}, | |
"end": { | |
"line": 60, | |
"column": 14 | |
} | |
}, | |
"range": [1732, 1742], | |
"value": "scrollTo", | |
"raw": "'scrollTo'" | |
}, | |
{ | |
"type": "Literal", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 61, | |
"column": 4 | |
}, | |
"end": { | |
"line": 61, | |
"column": 17 | |
} | |
}, | |
"range": [1748, 1761], | |
"value": "scrollToEnd", | |
"raw": "'scrollToEnd'" | |
}, | |
{ | |
"type": "Literal", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 62, | |
"column": 4 | |
}, | |
"end": { | |
"line": 62, | |
"column": 16 | |
} | |
}, | |
"range": [1767, 1779], | |
"value": "zoomToRect", | |
"raw": "'zoomToRect'" | |
} | |
] | |
}, | |
"kind": "init", | |
"method": false, | |
"shorthand": false, | |
"computed": false | |
} | |
] | |
} | |
] | |
}, | |
"typeAnnotation": { | |
"type": "TypeAnnotation", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 64, | |
"column": 2 | |
}, | |
"end": { | |
"line": 64, | |
"column": 18 | |
} | |
}, | |
"range": [1788, 1804], | |
"typeAnnotation": { | |
"type": "GenericTypeAnnotation", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 64, | |
"column": 4 | |
}, | |
"end": { | |
"line": 64, | |
"column": 18 | |
} | |
}, | |
"range": [1790, 1804], | |
"id": { | |
"type": "Identifier", | |
"loc": { | |
"source": null, | |
"start": { | |
"line": 64, | |
"column": 4 | |
}, | |
"end": { | |
"line": 64, | |
"column": 18 | |
} | |
}, | |
"range": [1790, 1804], | |
"name": "NativeCommands", | |
"typeAnnotation": null, | |
"optional": false | |
}, | |
"typeParameters": null | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment