[rust] Use hermes parser for Forget fixture tests

Replaces the use of SWC parser in the Forget fixture tests with Hermes Parser. 
This includes aligning on a single type to represent JS Values and numbers 
(combining semi-duplicated code from forget_hir and forget_estree) and adding 
support for lowering babel-style 
NumericLiteral/BooleanLiteral/StringLiteral/NullLiteral node types (since Hermes 
Parser produces a mix of estree/babel node types)
This commit is contained in:
Joe Savona
2023-08-10 10:59:49 -04:00
parent 6bca9fb7a3
commit 7feaabfe68
150 changed files with 602 additions and 592 deletions
+1 -1
View File
@@ -515,7 +515,7 @@ version = "0.1.0"
dependencies = [
"forget_build_hir",
"forget_estree",
"forget_estree_swc",
"forget_hermes_parser",
"forget_hir",
"forget_optimization",
"forget_semantic_analysis",
@@ -4,13 +4,13 @@ use forget_diagnostics::Diagnostic;
use forget_estree::{
AssignmentTarget, BinaryExpression, BlockStatement, Expression, ExpressionOrSpread,
ExpressionOrSuper, ForInit, ForStatement, Function, FunctionExpression, IfStatement,
IntoFunction, JsValue, Literal, Pattern, Statement, VariableDeclaration,
IntoFunction, JsValue, Literal, Number, Pattern, Statement, VariableDeclaration,
VariableDeclarationKind,
};
use forget_hir::{
BlockKind, BranchTerminal, Environment, ForTerminal, GotoKind, IdentifierOperand, InstrIx,
InstructionKind, InstructionValue, JSXAttribute, JSXElement, LValue, LoadGlobal, LoadLocal,
Operand, PlaceOrSpread, PrimitiveValue, TerminalValue,
Operand, PlaceOrSpread, TerminalValue,
};
use crate::builder::{Binding, Builder, LoopScope};
@@ -66,7 +66,7 @@ pub fn build(env: &Environment, fun: &Function) -> Result<Box<forget_hir::Functi
// block with an explicit `return undefined`. If the function *did* return,
// this will be unreachable and get pruned later.
let implicit_return_value = builder.push(InstructionValue::Primitive(forget_hir::Primitive {
value: PrimitiveValue::Undefined,
value: JsValue::Undefined,
}));
builder.terminate(
TerminalValue::Return(forget_hir::ReturnTerminal {
@@ -137,7 +137,7 @@ fn lower_statement(
let ix = match &stmt.argument {
Some(argument) => lower_expression(env, builder, argument)?,
None => builder.push(InstructionValue::Primitive(forget_hir::Primitive {
value: PrimitiveValue::Undefined,
value: JsValue::Undefined,
})),
};
builder.terminate(
@@ -351,7 +351,19 @@ fn lower_expression(
}
}
Expression::Literal(expr) => InstructionValue::Primitive(forget_hir::Primitive {
value: lower_primitive(env, builder, expr),
value: expr.value.clone(),
}),
Expression::NumericLiteral(expr) => InstructionValue::Primitive(forget_hir::Primitive {
value: JsValue::Number(expr.value),
}),
Expression::BooleanLiteral(expr) => InstructionValue::Primitive(forget_hir::Primitive {
value: JsValue::Boolean(expr.value),
}),
Expression::StringLiteral(expr) => InstructionValue::Primitive(forget_hir::Primitive {
value: JsValue::String(expr.value.clone()),
}),
Expression::NullLiteral(_expr) => InstructionValue::Primitive(forget_hir::Primitive {
value: JsValue::Null,
}),
Expression::ArrayExpression(expr) => {
let mut elements = Vec::with_capacity(expr.elements.len());
@@ -621,18 +633,3 @@ fn lower_identifier_for_assignment(
}
}
}
/// Converts an ESTree literal into a HIR primitive
fn lower_primitive(
_env: &Environment,
_builder: &mut Builder,
literal: &Literal,
) -> PrimitiveValue {
match &literal.value {
JsValue::Bool(bool) => PrimitiveValue::Boolean(*bool),
JsValue::Null => PrimitiveValue::Null,
JsValue::Number(value) => PrimitiveValue::Number(f64::from(*value).into()),
JsValue::String(s) => PrimitiveValue::String(s.clone()),
_ => todo!("Lower literal {literal:#?}"),
}
}
@@ -1,50 +1,82 @@
use serde::de::Visitor;
use serde::{Deserialize, Serialize};
#[derive(Serialize, Clone, Debug, PartialEq, PartialOrd, Hash)]
#[derive(Debug, Clone, PartialEq, Eq)]
pub enum JsValue {
Undefined,
Boolean(bool),
Null,
Bool(bool),
Number(Number),
String(String),
Undefined,
}
#[derive(
Clone,
Copy,
PartialEq,
Eq,
PartialOrd,
Ord,
Hash,
Serialize,
Deserialize,
Debug
)]
pub struct Number(u64);
impl JsValue {
pub fn is_truthy(&self) -> bool {
match &self {
JsValue::Boolean(value) => *value,
JsValue::Number(value) => value.is_truthy(),
JsValue::String(value) => value.len() != 0,
JsValue::Null => false,
JsValue::Undefined => false,
}
}
impl From<u32> for Number {
fn from(value: u32) -> Self {
Number(value.into())
// Partial implementation of loose equality for javascript, returns Some for supported
// cases w the equality result, and None for unsupported cases
pub fn loosely_equals(&self, other: &Self) -> Option<bool> {
// https://tc39.es/ecma262/multipage/abstract-operations.html#sec-islooselyequal
match (&self, &other) {
// 1. If Type(x) is Type(y), then
// a. Return IsStrictlyEqual(x, y).
(JsValue::Number(left), JsValue::Number(right)) => Some(left.equals(*right)),
(JsValue::Null, JsValue::Null) => Some(true),
(JsValue::Undefined, JsValue::Undefined) => Some(true),
(JsValue::Boolean(left), JsValue::Boolean(right)) => Some(left == right),
(JsValue::String(left), JsValue::String(right)) => Some(left == right),
// 2. If x is null and y is undefined, return true.
(JsValue::Null, JsValue::Undefined) => Some(true),
// 3. If x is undefined and y is null, return true.
(JsValue::Undefined, JsValue::Null) => Some(true),
_ => None,
}
}
pub fn not_loosely_equals(&self, other: &Self) -> Option<bool> {
self.loosely_equals(other).map(|value| !value)
}
// Complete implementation of strict equality for javascript
pub fn strictly_equals(&self, other: &Self) -> bool {
// https://tc39.es/ecma262/multipage/abstract-operations.html#sec-isstrictlyequal
match (&self, &other) {
(JsValue::Number(left), JsValue::Number(right)) => left.equals(*right),
(JsValue::Null, JsValue::Null) => true,
(JsValue::Undefined, JsValue::Undefined) => true,
(JsValue::Boolean(left), JsValue::Boolean(right)) => left == right,
(JsValue::String(left), JsValue::String(right)) => left == right,
_ => false,
}
}
pub fn not_strictly_equals(&self, other: &Self) -> bool {
!self.strictly_equals(other)
}
}
impl From<u64> for Number {
fn from(value: u64) -> Self {
Number(value)
}
}
impl From<f64> for Number {
fn from(value: f64) -> Self {
Number(value.to_bits())
}
}
impl From<Number> for f64 {
fn from(value: Number) -> Self {
f64::from_bits(value.0)
impl Serialize for JsValue {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
match self {
Self::Boolean(b) => serializer.serialize_bool(*b),
Self::Null => serializer.serialize_none(),
Self::Number(n) => serializer.serialize_f64(n.into()),
Self::String(s) => serializer.serialize_str(s),
Self::Undefined => serializer.serialize_unit(),
}
}
}
@@ -65,13 +97,13 @@ impl<'de> Deserialize<'de> for JsValue {
#[inline]
fn visit_bool<E>(self, value: bool) -> Result<JsValue, E> {
Ok(JsValue::Bool(value))
Ok(JsValue::Boolean(value))
}
#[inline]
fn visit_i64<E>(self, value: i64) -> Result<JsValue, E> {
if value < u32::MAX as i64 {
Ok(JsValue::Number((value as u32).into()))
if value >= MIN_SAFE_INT && value <= MAX_SAFE_INT {
Ok(JsValue::Number((value as f64).into()))
} else {
panic!("Invalid number")
}
@@ -79,7 +111,11 @@ impl<'de> Deserialize<'de> for JsValue {
#[inline]
fn visit_u64<E>(self, value: u64) -> Result<JsValue, E> {
Ok(JsValue::Number(value.into()))
if value as i64 <= MAX_SAFE_INT {
Ok(JsValue::Number((value as f64).into()))
} else {
panic!("Invalid number")
}
}
#[inline]
@@ -122,3 +158,135 @@ impl<'de> Deserialize<'de> for JsValue {
deserializer.deserialize_any(ValueVisitor)
}
}
/// Represents a JavaScript Number as its binary representation so that
/// -1 == -1, NaN == Nan etc.
/// Note: NaN is *always* represented as the f64::NAN constant to allow
/// comparison of NaNs.
#[derive(Clone, Copy, Eq, PartialEq, PartialOrd, Ord, Debug, Hash)]
pub struct Number(u64);
pub const MAX_SAFE_INT: i64 = 9007199254740991;
pub const MIN_SAFE_INT: i64 = -9007199254740991;
impl From<f64> for Number {
fn from(value: f64) -> Self {
if value.is_nan() {
Self(f64::NAN.to_bits())
} else {
Self(value.to_bits())
}
}
}
impl From<u32> for Number {
fn from(value: u32) -> Self {
f64::from(value).into()
}
}
impl From<Number> for f64 {
fn from(number: Number) -> Self {
let value = f64::from_bits(number.0);
assert!(!f64::is_nan(value) || number.0 == f64::NAN.to_bits());
value
}
}
impl From<&Number> for f64 {
fn from(number: &Number) -> Self {
let value = f64::from_bits(number.0);
assert!(!f64::is_nan(value) || number.0 == f64::NAN.to_bits());
value
}
}
impl Number {
pub fn equals(self, other: Self) -> bool {
f64::from(self) == f64::from(other)
}
pub fn not_equals(self, other: Self) -> bool {
!self.equals(other)
}
pub fn is_truthy(self) -> bool {
let value = f64::from(self);
if self.0 == f64::NAN.to_bits() || value == 0.0 || value == -0.0 {
false
} else {
true
}
}
}
impl std::ops::Add for Number {
type Output = Number;
fn add(self, rhs: Self) -> Self::Output {
let result = f64::from(self) + f64::from(rhs);
Self::from(result)
}
}
impl std::ops::Sub for Number {
type Output = Number;
fn sub(self, rhs: Self) -> Self::Output {
let result = f64::from(self) - f64::from(rhs);
Self::from(result)
}
}
impl std::ops::Mul for Number {
type Output = Number;
fn mul(self, rhs: Self) -> Self::Output {
let result = f64::from(self) * f64::from(rhs);
Self::from(result)
}
}
impl std::ops::Div for Number {
type Output = Number;
fn div(self, rhs: Self) -> Self::Output {
let result = f64::from(self) / f64::from(rhs);
Self::from(result)
}
}
impl Serialize for Number {
fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>
where
S: serde::Serializer,
{
serializer.serialize_f64(self.into())
}
}
impl<'de> Deserialize<'de> for Number {
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>
where
D: serde::Deserializer<'de>,
{
struct ValueVisitor;
impl<'de> Visitor<'de> for ValueVisitor {
type Value = Number;
fn expecting(&self, formatter: &mut std::fmt::Formatter) -> std::fmt::Result {
formatter.write_str("value JavaScript number value")
}
fn visit_f64<E>(self, v: f64) -> Result<Self::Value, E>
where
E: serde::de::Error,
{
Ok(v.into())
}
}
deserializer.deserialize_any(ValueVisitor)
}
}
@@ -612,9 +612,7 @@ Output:
},
"init": {
"type": "Literal",
"value": {
"Number": 0
},
"value": 0.0,
"raw": "0",
"regex": null,
"bigint": null,
@@ -697,9 +695,7 @@ Output:
},
"init": {
"type": "Literal",
"value": {
"Number": 0
},
"value": 0.0,
"raw": "0",
"regex": null,
"bigint": null,
@@ -777,9 +773,7 @@ Output:
"operator": "<",
"right": {
"type": "Literal",
"value": {
"Number": 10
},
"value": 10.0,
"raw": "10",
"regex": null,
"bigint": null,
@@ -157,9 +157,7 @@ Output:
],
"source": {
"type": "Literal",
"value": {
"String": "react"
},
"value": "react",
"raw": "'react'",
"regex": null,
"bigint": null,
@@ -474,9 +474,7 @@ Output:
"type": "JSXExpressionContainer",
"expression": {
"type": "Literal",
"value": {
"Number": 10
},
"value": 10.0,
"raw": "10",
"regex": null,
"bigint": null,
@@ -676,7 +676,7 @@ fn convert_jsx_attribute(cx: &Context, attr: &JSXAttr) -> forget_estree::JSXAttr
fn convert_literal(_cx: &Context, expr: &Lit) -> forget_estree::Literal {
let (value, range, regex, bigint) = match expr {
Lit::Bool(expr) => (
forget_estree::JsValue::Bool(expr.value),
forget_estree::JsValue::Boolean(expr.value),
convert_span(&expr.span),
None,
None,
@@ -15,7 +15,7 @@ repository.workspace = true
[dev-dependencies]
insta = { workspace = true }
forget_estree = { workspace = true }
forget_estree_swc = { workspace = true }
forget_hermes_parser = { workspace = true }
forget_hir = { workspace = true }
forget_optimization = { workspace = true }
forget_semantic_analysis = { workspace = true }
@@ -3,7 +3,7 @@ use std::fmt::Write;
use forget_build_hir::build;
use forget_estree::{ModuleItem, Statement};
use forget_estree_swc::parse;
use forget_hermes_parser::parse;
use forget_hir::{inline_use_memo, Environment, Features, Print, Registry};
use forget_optimization::constant_propagation;
use forget_semantic_analysis::analyze;
@@ -208,7 +208,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -128,7 +128,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -267,7 +267,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -295,7 +295,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -343,7 +343,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -359,7 +359,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -387,7 +387,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -68,7 +68,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4631107791820423168,
"value": 42.0,
"loc": null,
"range": {
"start": 0,
@@ -62,7 +62,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -200,7 +200,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4631107791820423168,
"value": 42.0,
"loc": null,
"range": {
"start": 0,
@@ -130,7 +130,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -186,7 +186,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -241,7 +241,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -271,7 +271,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -352,7 +352,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -56,7 +56,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -140,7 +140,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -203,7 +203,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -212,7 +212,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -80,7 +80,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -240,7 +240,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -321,7 +321,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -51,7 +51,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -101,7 +101,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -144,7 +144,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -181,7 +181,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -168,7 +168,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -472,7 +472,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -206,7 +206,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -510,7 +510,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -216,7 +216,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -152,7 +152,7 @@ Output:
"operator": "===",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -185,7 +185,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -259,7 +259,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -455,7 +455,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 4621819117588971520,
"value": 10.0,
"loc": null,
"range": {
"start": 0,
@@ -609,7 +609,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -757,7 +757,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -766,7 +766,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4621256167635550208,
"value": 9.0,
"loc": null,
"range": {
"start": 0,
@@ -175,7 +175,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -258,7 +258,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -257,7 +257,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -226,7 +226,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -258,7 +258,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -175,7 +175,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -191,7 +191,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -235,7 +235,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -251,7 +251,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -309,7 +309,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -325,7 +325,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -177,7 +177,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -210,7 +210,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -173,7 +173,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -135,7 +135,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -67,7 +67,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -137,7 +137,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -207,7 +207,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -312,7 +312,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -438,7 +438,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -315,7 +315,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -372,7 +372,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -455,7 +455,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -580,7 +580,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -249,7 +249,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -82,7 +82,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -102,7 +102,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -169,7 +169,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -275,7 +275,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -52,7 +52,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4631107791820423168,
"value": 42.0,
"loc": null,
"range": {
"start": 0,
@@ -51,7 +51,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -91,7 +91,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4636737291354636288,
"value": 100.0,
"loc": null,
"range": {
"start": 0,
@@ -126,7 +126,7 @@ Output:
"operator": "<",
"right": {
"type": "NumericLiteral",
"value": 4621819117588971520,
"value": 10.0,
"loc": null,
"range": {
"start": 0,
@@ -182,7 +182,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -62,7 +62,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4631107791820423168,
"value": 42.0,
"loc": null,
"range": {
"start": 0,
@@ -134,7 +134,7 @@ Output:
"type": "BinaryExpression",
"left": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -144,7 +144,7 @@ Output:
"operator": "-",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -199,7 +199,7 @@ Output:
"type": "BinaryExpression",
"left": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -209,7 +209,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -265,7 +265,7 @@ Output:
"operator": "===",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -52,7 +52,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4636737291354636288,
"value": 100.0,
"loc": null,
"range": {
"start": 0,
@@ -90,7 +90,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -127,7 +127,7 @@ Output:
"operator": "<",
"right": {
"type": "NumericLiteral",
"value": 4621819117588971520,
"value": 10.0,
"loc": null,
"range": {
"start": 0,
@@ -160,7 +160,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -62,7 +62,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -100,7 +100,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -138,7 +138,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -82,7 +82,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -64,7 +64,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -102,7 +102,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -104,7 +104,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4621256167635550208,
"value": 9.0,
"loc": null,
"range": {
"start": 0,
@@ -43,7 +43,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -55,7 +55,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -67,7 +67,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -76,7 +76,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -85,7 +85,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -271,7 +271,7 @@ Output:
"operator": "*",
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -68,7 +68,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -77,7 +77,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -86,7 +86,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -95,7 +95,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -144,7 +144,7 @@ Output:
"operator": "===",
"right": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -60,7 +60,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -69,7 +69,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -78,7 +78,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -87,7 +87,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -241,7 +241,7 @@ Output:
"operator": "===",
"right": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -329,7 +329,7 @@ Output:
"operator": "/",
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -66,7 +66,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -75,7 +75,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -84,7 +84,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -56,7 +56,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -65,7 +65,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -74,7 +74,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -260,7 +260,7 @@ Output:
"operator": "*",
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -88,7 +88,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -171,7 +171,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -252,7 +252,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -330,7 +330,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -445,7 +445,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4616189618054758400,
"value": 4.0,
"loc": null,
"range": {
"start": 0,
@@ -567,7 +567,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4617315517961601024,
"value": 5.0,
"loc": null,
"range": {
"start": 0,
@@ -625,7 +625,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4618441417868443648,
"value": 6.0,
"loc": null,
"range": {
"start": 0,
@@ -145,7 +145,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -149,7 +149,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -491,7 +491,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -190,7 +190,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -307,7 +307,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -379,7 +379,7 @@ Output:
"type": "SwitchCase",
"test": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -502,7 +502,7 @@ Output:
"type": "SwitchCase",
"test": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -100,7 +100,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -154,7 +154,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -259,7 +259,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -184,7 +184,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -97,7 +97,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -180,7 +180,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -218,7 +218,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -34,7 +34,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -313,7 +313,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -401,7 +401,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 4631107791820423168,
"value": 42.0,
"loc": null,
"range": {
"start": 0,
@@ -855,7 +855,7 @@ Output:
"type": "JSXExpressionContainer",
"expression": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -1115,7 +1115,7 @@ Output:
"operator": "<",
"right": {
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -1143,7 +1143,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -1248,7 +1248,7 @@ Output:
"operator": "<",
"right": {
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -1461,7 +1461,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -1470,7 +1470,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -1530,7 +1530,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -1549,7 +1549,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -1650,7 +1650,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -1691,7 +1691,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -1786,7 +1786,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -1843,7 +1843,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -2036,7 +2036,7 @@ Output:
"type": "BinaryExpression",
"left": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -2046,7 +2046,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -67,7 +67,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -138,7 +138,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -205,7 +205,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -243,7 +243,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -68,7 +68,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -77,7 +77,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -86,7 +86,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -131,7 +131,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -169,7 +169,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -112,7 +112,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -48,7 +48,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -100,7 +100,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -190,7 +190,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -111,7 +111,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -64,7 +64,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -104,7 +104,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -231,7 +231,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -65,7 +65,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -105,7 +105,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -232,7 +232,7 @@ Output:
"operator": ">",
"right": {
"type": "NumericLiteral",
"value": 4621819117588971520,
"value": 10.0,
"loc": null,
"range": {
"start": 0,
@@ -67,7 +67,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -107,7 +107,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -278,7 +278,7 @@ Output:
},
"alternate": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -346,7 +346,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -109,7 +109,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -118,7 +118,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -112,7 +112,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -121,7 +121,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -155,7 +155,7 @@ Output:
"operator": "===",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -58,7 +58,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -67,7 +67,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -76,7 +76,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -85,7 +85,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4613937818241073152,
"value": 3.0,
"loc": null,
"range": {
"start": 0,
@@ -213,7 +213,7 @@ Output:
"operator": "===",
"right": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -301,7 +301,7 @@ Output:
"operator": "/",
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -108,7 +108,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -149,7 +149,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -190,7 +190,7 @@ Output:
},
"value": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -361,7 +361,7 @@ Output:
"operator": "*",
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -93,7 +93,7 @@ Output:
"elements": [
{
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -102,7 +102,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -111,7 +111,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -233,7 +233,7 @@ Output:
"operator": "*",
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -62,7 +62,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -118,7 +118,7 @@ Output:
"arguments": [
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -120,7 +120,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -167,7 +167,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -165,7 +165,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -58,7 +58,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4630826316843712512,
"value": 40.0,
"loc": null,
"range": {
"start": 0,
@@ -131,7 +131,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -96,7 +96,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4633078116657397760,
"value": 56.0,
"loc": null,
"range": {
"start": 0,
@@ -156,7 +156,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4631107791820423168,
"value": 42.0,
"loc": null,
"range": {
"start": 0,
@@ -330,7 +330,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -374,7 +374,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -294,7 +294,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -533,7 +533,7 @@ Output:
},
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -216,7 +216,7 @@ Output:
"type": "BinaryExpression",
"left": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -226,7 +226,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4611686018427387904,
"value": 2.0,
"loc": null,
"range": {
"start": 0,
@@ -273,7 +273,7 @@ Output:
"operator": "*",
"right": {
"type": "NumericLiteral",
"value": 4616189618054758400,
"value": 4.0,
"loc": null,
"range": {
"start": 0,
@@ -111,7 +111,7 @@ Output:
},
"property": {
"type": "NumericLiteral",
"value": 0,
"value": 0.0,
"loc": null,
"range": {
"start": 0,
@@ -189,7 +189,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -109,7 +109,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -522,7 +522,7 @@ Output:
},
{
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -131,7 +131,7 @@ Output:
"operator": "===",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -262,7 +262,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -243,7 +243,7 @@ Output:
"operator": "+",
"right": {
"type": "NumericLiteral",
"value": 4607182418800017408,
"value": 1.0,
"loc": null,
"range": {
"start": 0,
@@ -63,7 +63,7 @@ Output:
},
"init": {
"type": "NumericLiteral",
"value": 4617315517961601024,
"value": 5.0,
"loc": null,
"range": {
"start": 0,

Some files were not shown because too many files have changed in this diff Show More