/*
* Copyright (c) 2024-2025 Huawei Device Co., Ltd.
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
const lit00 = 0;
const lit01 = 0x0;
// Valid but must be fixed in grammar
//const lit02 = 0o644;
const lit03 = "string";
const lit04 = 0b1011;
const lit05 = 3.14159e0;
const lit06 = 1.0e-6;
const lit07 = 1.0E-6;
const lit08 = -1.0E-6;
const lit09 = c'a';
const lit10 = c'\u0061';
const lit11 = true;
const lit12 = false;
const lit13 = null;
const lit14 = 123.45f; // equivalent to (123.45 as float)
const lit15 = 123.45e10f;
const lit16 = -123.45f; // equivalent to -(123.45 as float)
const lit17 = -123.45e10f;
const lit18 = [];
const lit19 = [1,2,3];
const lit20 = ["1","2","3"];
const lit21 = [1.0,2.0,3.0];