878 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			878 lines
		
	
	
		
			22 KiB
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ---
 | |
| source: kcl-lib/src/simulation_tests.rs
 | |
| description: Result of parsing comparisons.kcl
 | |
| ---
 | |
| {
 | |
|   "Ok": {
 | |
|     "body": [
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isEqualTo",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "3",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 3.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"equality\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "equality"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "3",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 3.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isEqualTo",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "3.0",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 3.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"equality of floats\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "equality of floats"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "3.0",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 3.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isLessThan",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "4",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 4.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"lt\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "lt"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "3",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 3.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isLessThanOrEqual",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "4",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 4.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"lte but actually lt\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "lte but actually lt"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "3",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 3.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isLessThanOrEqual",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "4",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 4.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"lte but actually eq\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "lte but actually eq"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "4",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 4.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isGreaterThan",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "3",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 3.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"gt\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "gt"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "4",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 4.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isGreaterThanOrEqual",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "3",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 3.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"gte but actually gt\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "gte but actually gt"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "4",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 4.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isGreaterThanOrEqual",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "3",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 3.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"gte but actually eq\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "gte but actually eq"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "3",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 3.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isEqualTo",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "0.0",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": {
 | |
|                   "value": 0.0,
 | |
|                   "suffix": "None"
 | |
|                 }
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"equality of zero\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "equality of zero"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "0.0",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 0.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       },
 | |
|       {
 | |
|         "commentStart": 0,
 | |
|         "end": 0,
 | |
|         "expression": {
 | |
|           "arguments": [
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "isEqualTo",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "argument": {
 | |
|                   "commentStart": 0,
 | |
|                   "end": 0,
 | |
|                   "raw": "0.0",
 | |
|                   "start": 0,
 | |
|                   "type": "Literal",
 | |
|                   "type": "Literal",
 | |
|                   "value": {
 | |
|                     "value": 0.0,
 | |
|                     "suffix": "None"
 | |
|                   }
 | |
|                 },
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "operator": "-",
 | |
|                 "start": 0,
 | |
|                 "type": "UnaryExpression",
 | |
|                 "type": "UnaryExpression"
 | |
|               }
 | |
|             },
 | |
|             {
 | |
|               "type": "LabeledArg",
 | |
|               "label": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "name": "error",
 | |
|                 "start": 0,
 | |
|                 "type": "Identifier"
 | |
|               },
 | |
|               "arg": {
 | |
|                 "commentStart": 0,
 | |
|                 "end": 0,
 | |
|                 "raw": "\"equality of zero and neg zero\"",
 | |
|                 "start": 0,
 | |
|                 "type": "Literal",
 | |
|                 "type": "Literal",
 | |
|                 "value": "equality of zero and neg zero"
 | |
|               }
 | |
|             }
 | |
|           ],
 | |
|           "callee": {
 | |
|             "abs_path": false,
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "name": {
 | |
|               "commentStart": 0,
 | |
|               "end": 0,
 | |
|               "name": "assert",
 | |
|               "start": 0,
 | |
|               "type": "Identifier"
 | |
|             },
 | |
|             "path": [],
 | |
|             "start": 0,
 | |
|             "type": "Name"
 | |
|           },
 | |
|           "commentStart": 0,
 | |
|           "end": 0,
 | |
|           "start": 0,
 | |
|           "type": "CallExpressionKw",
 | |
|           "type": "CallExpressionKw",
 | |
|           "unlabeled": {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "raw": "0.0",
 | |
|             "start": 0,
 | |
|             "type": "Literal",
 | |
|             "type": "Literal",
 | |
|             "value": {
 | |
|               "value": 0.0,
 | |
|               "suffix": "None"
 | |
|             }
 | |
|           }
 | |
|         },
 | |
|         "start": 0,
 | |
|         "type": "ExpressionStatement",
 | |
|         "type": "ExpressionStatement"
 | |
|       }
 | |
|     ],
 | |
|     "commentStart": 0,
 | |
|     "end": 0,
 | |
|     "nonCodeMeta": {
 | |
|       "nonCodeNodes": {
 | |
|         "7": [
 | |
|           {
 | |
|             "commentStart": 0,
 | |
|             "end": 0,
 | |
|             "start": 0,
 | |
|             "type": "NonCodeNode",
 | |
|             "value": {
 | |
|               "type": "newLine"
 | |
|             }
 | |
|           }
 | |
|         ]
 | |
|       },
 | |
|       "startNodes": []
 | |
|     },
 | |
|     "start": 0
 | |
|   }
 | |
| }
 |