1// Copyright 2020 Google LLC 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// https://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15// This is a poorly written jsonnet file. Given to the formatter executable 16// will be changed into a canonical jsonnet file form. 17local b = import "somefile.libsonnet"; # comment 18local a = import "differentfile.libsonnet"; // another comment in different style 19 20local SomeStuff = {bar: "foo"}; 21 22 local funtion_to_do_addition(x,y)=x+y; 23 24 { 25"this": ((3)) , 26"that that": 27funtion_to_do_addition(4,2), 28arrArr: [[ 29 1, 2, 5 30 ], 31 3, 10, 19 32 ] 33} + SomeStuff 34