diff --git a/.github/workflows/sbt-tests.yml b/.github/workflows/sbt-tests.yml index e7f3d951..31ba2ef3 100644 --- a/.github/workflows/sbt-tests.yml +++ b/.github/workflows/sbt-tests.yml @@ -29,4 +29,4 @@ jobs: apps: sbt - name: Run tests - run: env JAVA_OPTS="-Xmx4G" sbt test + run: env JAVA_OPTS="-Xmx4G" sbt "headerCheckAll; test" diff --git a/api/api-example/index.js b/api/api-example/index.js index f2cbe137..b4b242f2 100644 --- a/api/api-example/index.js +++ b/api/api-example/index.js @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + //@ts-check import { compileAquaCallFromPath } from '@fluencelabs/aqua-api' diff --git a/api/api-example/package.json b/api/api-example/package.json index b832c3cf..4d6d71da 100644 --- a/api/api-example/package.json +++ b/api/api-example/package.json @@ -8,7 +8,7 @@ }, "author": "Fluence Labs", "type": "module", - "license": "Apache-2.0", + "license": "AGPL-3.0", "dependencies": { "@fluencelabs/aqua-api": "workspace:*" } diff --git a/api/api-npm/index.d.ts b/api/api-npm/index.d.ts index 2aa63e9a..ceadc66c 100644 --- a/api/api-npm/index.d.ts +++ b/api/api-npm/index.d.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { ServiceDef, FunctionCallDef } from "@fluencelabs/interfaces"; export declare class AquaFunction { diff --git a/api/api-npm/index.js b/api/api-npm/index.js index b1581c1a..0573689c 100644 --- a/api/api-npm/index.js +++ b/api/api-npm/index.js @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { AquaConfig, Aqua, Call, Input, Path } from "./aqua-api.js"; function getConfig({ diff --git a/api/api-npm/meta-utils.js b/api/api-npm/meta-utils.js index d293c99d..2849d06b 100644 --- a/api/api-npm/meta-utils.js +++ b/api/api-npm/meta-utils.js @@ -1 +1,17 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + const metaUrl = "" diff --git a/api/api-npm/package.json b/api/api-npm/package.json index d607730b..a52e9e1a 100644 --- a/api/api-npm/package.json +++ b/api/api-npm/package.json @@ -20,7 +20,7 @@ "fluence" ], "author": "Fluence Labs", - "license": "Apache-2.0", + "license": "AGPL-3.0", "bugs": { "url": "https://github.com/fluencelabs/aqua/issues" }, diff --git a/api/api/.js/src/main/scala/api/AquaAPI.scala b/api/api/.js/src/main/scala/api/AquaAPI.scala index cc99f9b6..fbea424c 100644 --- a/api/api/.js/src/main/scala/api/AquaAPI.scala +++ b/api/api/.js/src/main/scala/api/AquaAPI.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package api import aqua.Rendering.given diff --git a/api/api/.js/src/main/scala/api/types/InputTypes.scala b/api/api/.js/src/main/scala/api/types/InputTypes.scala index 7d62125a..e3de681f 100644 --- a/api/api/.js/src/main/scala/api/types/InputTypes.scala +++ b/api/api/.js/src/main/scala/api/types/InputTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package api.types import aqua.api.AquaAPIConfig diff --git a/api/api/.js/src/main/scala/api/types/OutputTypes.scala b/api/api/.js/src/main/scala/api/types/OutputTypes.scala index 05807d0f..be27e142 100644 --- a/api/api/.js/src/main/scala/api/types/OutputTypes.scala +++ b/api/api/.js/src/main/scala/api/types/OutputTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package api.types import aqua.js.{FunctionDefJs, ServiceDefJs} diff --git a/api/api/.jvm/src/main/scala/aqua/api/Test.scala b/api/api/.jvm/src/main/scala/aqua/api/Test.scala index 295480d7..feae34c1 100644 --- a/api/api/.jvm/src/main/scala/aqua/api/Test.scala +++ b/api/api/.jvm/src/main/scala/aqua/api/Test.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.api import aqua.api.TargetType.TypeScriptType diff --git a/api/api/src/main/scala/aqua/api/APICompilation.scala b/api/api/src/main/scala/aqua/api/APICompilation.scala index ce947a1e..660981ac 100644 --- a/api/api/src/main/scala/aqua/api/APICompilation.scala +++ b/api/api/src/main/scala/aqua/api/APICompilation.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.api import aqua.Rendering.given diff --git a/api/api/src/main/scala/aqua/api/AquaAPIConfig.scala b/api/api/src/main/scala/aqua/api/AquaAPIConfig.scala index ba4527eb..6fab4339 100644 --- a/api/api/src/main/scala/aqua/api/AquaAPIConfig.scala +++ b/api/api/src/main/scala/aqua/api/AquaAPIConfig.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.api import aqua.compiler.AquaCompilerConf diff --git a/api/api/src/main/scala/aqua/api/Imports.scala b/api/api/src/main/scala/aqua/api/Imports.scala index 880dad2f..0a1d8043 100644 --- a/api/api/src/main/scala/aqua/api/Imports.scala +++ b/api/api/src/main/scala/aqua/api/Imports.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.api import aqua.files.Imports as IOImports diff --git a/api/api/src/main/scala/aqua/api/package.scala b/api/api/src/main/scala/aqua/api/package.scala index ed61948a..37941a58 100644 --- a/api/api/src/main/scala/aqua/api/package.scala +++ b/api/api/src/main/scala/aqua/api/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import cats.data.{Chain, EitherT, NonEmptyChain, Writer} diff --git a/aqua-run/src/main/scala/aqua/run/CallInfo.scala b/aqua-run/src/main/scala/aqua/run/CallInfo.scala index 10446b84..e7b2f88b 100644 --- a/aqua-run/src/main/scala/aqua/run/CallInfo.scala +++ b/aqua-run/src/main/scala/aqua/run/CallInfo.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.run import aqua.definitions.FunctionDef diff --git a/aqua-run/src/main/scala/aqua/run/CallPreparer.scala b/aqua-run/src/main/scala/aqua/run/CallPreparer.scala index 7b9bb304..b25998c3 100644 --- a/aqua-run/src/main/scala/aqua/run/CallPreparer.scala +++ b/aqua-run/src/main/scala/aqua/run/CallPreparer.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.run import aqua.backend.air.FuncAirGen diff --git a/aqua-run/src/main/scala/aqua/run/CliFunc.scala b/aqua-run/src/main/scala/aqua/run/CliFunc.scala index ce652234..d306e476 100644 --- a/aqua-run/src/main/scala/aqua/run/CliFunc.scala +++ b/aqua-run/src/main/scala/aqua/run/CliFunc.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.run import aqua.parser.lexer.{CallArrowToken, CollectionToken, LiteralToken, VarToken} diff --git a/aqua-run/src/main/scala/aqua/run/FuncCompiler.scala b/aqua-run/src/main/scala/aqua/run/FuncCompiler.scala index cc02acb4..60cbae58 100644 --- a/aqua-run/src/main/scala/aqua/run/FuncCompiler.scala +++ b/aqua-run/src/main/scala/aqua/run/FuncCompiler.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.run import aqua.compiler.{AquaCompilerConf, CompileResult, CompilerAPI} diff --git a/aqua-run/src/main/scala/aqua/run/RunConfig.scala b/aqua-run/src/main/scala/aqua/run/RunConfig.scala index ca8ef3cd..5c86130c 100644 --- a/aqua-run/src/main/scala/aqua/run/RunConfig.scala +++ b/aqua-run/src/main/scala/aqua/run/RunConfig.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.run import aqua.logging.LogLevels diff --git a/aqua-run/src/main/scala/aqua/run/RunPreparer.scala b/aqua-run/src/main/scala/aqua/run/RunPreparer.scala index 279d01fd..c076d6c0 100644 --- a/aqua-run/src/main/scala/aqua/run/RunPreparer.scala +++ b/aqua-run/src/main/scala/aqua/run/RunPreparer.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.run import aqua.backend.air.FuncAirGen diff --git a/aqua-run/src/main/scala/aqua/run/TypeValidator.scala b/aqua-run/src/main/scala/aqua/run/TypeValidator.scala index 6b4406bb..7484683e 100644 --- a/aqua-run/src/main/scala/aqua/run/TypeValidator.scala +++ b/aqua-run/src/main/scala/aqua/run/TypeValidator.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.run import aqua.raw.value.{LiteralRaw, ValueRaw, VarRaw} diff --git a/backend/.js/src/main/scala/aqua/backend/Version.scala b/backend/.js/src/main/scala/aqua/backend/Version.scala index fba5f4bb..f6dd820d 100644 --- a/backend/.js/src/main/scala/aqua/backend/Version.scala +++ b/backend/.js/src/main/scala/aqua/backend/Version.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend object Version { diff --git a/backend/.jvm/src/main/scala/aqua/backend/Version.scala b/backend/.jvm/src/main/scala/aqua/backend/Version.scala index e274d616..86079a27 100644 --- a/backend/.jvm/src/main/scala/aqua/backend/Version.scala +++ b/backend/.jvm/src/main/scala/aqua/backend/Version.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend object Version { diff --git a/backend/air/src/main/scala/aqua/backend/air/Air.scala b/backend/air/src/main/scala/aqua/backend/air/Air.scala index a18b1f0a..1d92dfa2 100644 --- a/backend/air/src/main/scala/aqua/backend/air/Air.scala +++ b/backend/air/src/main/scala/aqua/backend/air/Air.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.air import cats.Show diff --git a/backend/air/src/main/scala/aqua/backend/air/AirBackend.scala b/backend/air/src/main/scala/aqua/backend/air/AirBackend.scala index 9b92a355..332062de 100644 --- a/backend/air/src/main/scala/aqua/backend/air/AirBackend.scala +++ b/backend/air/src/main/scala/aqua/backend/air/AirBackend.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.air import aqua.backend.{AirFunction, Backend, Generated, Version} diff --git a/backend/air/src/main/scala/aqua/backend/air/AirGen.scala b/backend/air/src/main/scala/aqua/backend/air/AirGen.scala index 90e716f5..26bad668 100644 --- a/backend/air/src/main/scala/aqua/backend/air/AirGen.scala +++ b/backend/air/src/main/scala/aqua/backend/air/AirGen.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.air import aqua.model.* diff --git a/backend/air/src/main/scala/aqua/backend/air/FuncAirGen.scala b/backend/air/src/main/scala/aqua/backend/air/FuncAirGen.scala index ea4cbdac..aae9540e 100644 --- a/backend/air/src/main/scala/aqua/backend/air/FuncAirGen.scala +++ b/backend/air/src/main/scala/aqua/backend/air/FuncAirGen.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.air import aqua.res.FuncRes diff --git a/backend/api/src/main/scala/aqua/backend/api/APIBackend.scala b/backend/api/src/main/scala/aqua/backend/api/APIBackend.scala index a8d683e8..f068c342 100644 --- a/backend/api/src/main/scala/aqua/backend/api/APIBackend.scala +++ b/backend/api/src/main/scala/aqua/backend/api/APIBackend.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.api import aqua.backend.air.AirBackend diff --git a/backend/definitions/src/main/scala/aqua/definitions/Definitions.scala b/backend/definitions/src/main/scala/aqua/definitions/Definitions.scala index 5a0379ed..50d7eb05 100644 --- a/backend/definitions/src/main/scala/aqua/definitions/Definitions.scala +++ b/backend/definitions/src/main/scala/aqua/definitions/Definitions.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.definitions import aqua.definitions.* diff --git a/backend/src/main/scala/aqua/backend/AirFunction.scala b/backend/src/main/scala/aqua/backend/AirFunction.scala index 87bfe013..8c5f4881 100644 --- a/backend/src/main/scala/aqua/backend/AirFunction.scala +++ b/backend/src/main/scala/aqua/backend/AirFunction.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend import aqua.definitions.FunctionDef diff --git a/backend/src/main/scala/aqua/backend/Backend.scala b/backend/src/main/scala/aqua/backend/Backend.scala index e20dc3d5..600ba42e 100644 --- a/backend/src/main/scala/aqua/backend/Backend.scala +++ b/backend/src/main/scala/aqua/backend/Backend.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend import aqua.model.AquaContext diff --git a/backend/src/main/scala/aqua/backend/Generated.scala b/backend/src/main/scala/aqua/backend/Generated.scala index 8ae7d84f..cefca583 100644 --- a/backend/src/main/scala/aqua/backend/Generated.scala +++ b/backend/src/main/scala/aqua/backend/Generated.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend import aqua.definitions.ServiceDef diff --git a/backend/ts/src/main/scala/aqua/backend/Header.scala b/backend/ts/src/main/scala/aqua/backend/Header.scala index 6df68bcf..32837329 100644 --- a/backend/ts/src/main/scala/aqua/backend/Header.scala +++ b/backend/ts/src/main/scala/aqua/backend/Header.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend object Header { diff --git a/backend/ts/src/main/scala/aqua/backend/OutputFile.scala b/backend/ts/src/main/scala/aqua/backend/OutputFile.scala index 87667ece..d8bb24fc 100644 --- a/backend/ts/src/main/scala/aqua/backend/OutputFile.scala +++ b/backend/ts/src/main/scala/aqua/backend/OutputFile.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend import aqua.backend.ts.{TSFuncTypes, TSServiceTypes} diff --git a/backend/ts/src/main/scala/aqua/backend/OutputFunc.scala b/backend/ts/src/main/scala/aqua/backend/OutputFunc.scala index a2943e48..7bacf3ea 100644 --- a/backend/ts/src/main/scala/aqua/backend/OutputFunc.scala +++ b/backend/ts/src/main/scala/aqua/backend/OutputFunc.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend import aqua.backend.air.FuncAirGen diff --git a/backend/ts/src/main/scala/aqua/backend/OutputService.scala b/backend/ts/src/main/scala/aqua/backend/OutputService.scala index 632a0f95..c137c97b 100644 --- a/backend/ts/src/main/scala/aqua/backend/OutputService.scala +++ b/backend/ts/src/main/scala/aqua/backend/OutputService.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend import aqua.backend.ts.TypeScriptCommon diff --git a/backend/ts/src/main/scala/aqua/backend/Types.scala b/backend/ts/src/main/scala/aqua/backend/Types.scala index 4130db55..803d1cf1 100644 --- a/backend/ts/src/main/scala/aqua/backend/Types.scala +++ b/backend/ts/src/main/scala/aqua/backend/Types.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend import aqua.backend.ts.{TSFuncTypes, TSServiceTypes} diff --git a/backend/ts/src/main/scala/aqua/backend/js/JavaScriptBackend.scala b/backend/ts/src/main/scala/aqua/backend/js/JavaScriptBackend.scala index da2fd024..f4b09cfa 100644 --- a/backend/ts/src/main/scala/aqua/backend/js/JavaScriptBackend.scala +++ b/backend/ts/src/main/scala/aqua/backend/js/JavaScriptBackend.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.js import aqua.backend.ts.TypeScriptTypes diff --git a/backend/ts/src/main/scala/aqua/backend/ts/TSFuncTypes.scala b/backend/ts/src/main/scala/aqua/backend/ts/TSFuncTypes.scala index 4a89844e..f7b305b0 100644 --- a/backend/ts/src/main/scala/aqua/backend/ts/TSFuncTypes.scala +++ b/backend/ts/src/main/scala/aqua/backend/ts/TSFuncTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.ts import aqua.backend.FuncTypes diff --git a/backend/ts/src/main/scala/aqua/backend/ts/TSServiceTypes.scala b/backend/ts/src/main/scala/aqua/backend/ts/TSServiceTypes.scala index 836621b8..005f40d9 100644 --- a/backend/ts/src/main/scala/aqua/backend/ts/TSServiceTypes.scala +++ b/backend/ts/src/main/scala/aqua/backend/ts/TSServiceTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.ts import aqua.backend.ServiceTypes diff --git a/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptBackend.scala b/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptBackend.scala index f75f912c..99adddfe 100644 --- a/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptBackend.scala +++ b/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptBackend.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.ts import aqua.backend.{Backend, Generated, OutputFile} diff --git a/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptCommon.scala b/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptCommon.scala index 5541d83e..0db7e44f 100644 --- a/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptCommon.scala +++ b/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptCommon.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.ts import aqua.res.FuncRes diff --git a/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptTypes.scala b/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptTypes.scala index 7ddaf4fd..6db57922 100644 --- a/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptTypes.scala +++ b/backend/ts/src/main/scala/aqua/backend/ts/TypeScriptTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.backend.ts import aqua.backend.{FuncTypes, ServiceTypes, Types} diff --git a/build.sbt b/build.sbt index e9951b5c..a7011e22 100644 --- a/build.sbt +++ b/build.sbt @@ -18,7 +18,27 @@ val scribeV = "3.13.0" name := "aqua-hll" -val commons = Seq( +val orgName = "Fluence DAO" +val licenseStartYear = 2024 +val licenseName = "AGPL-3.0-only" +val licenseUrl = "https://www.gnu.org/licenses/agpl-3.0.txt" + +val license = HeaderLicense.AGPLv3Only( + yyyy = licenseStartYear.toString, + copyrightOwner = orgName, + licenseStyle = HeaderLicenseStyle.Detailed +) + +val licenseSettings = Seq( + organizationName := orgName, + startYear := Some(licenseStartYear), + licenses += (licenseName, new URI(licenseUrl).toURL()), + headerLicense := Some(license) +) + +licenseSettings + +val commons = licenseSettings ++ Seq( version := { val aquaSnapshot = sys.env.getOrElse("SNAPSHOT", "") if (aquaSnapshot.isEmpty()) aquaVersion else aquaVersion + "-" + aquaSnapshot, @@ -46,14 +66,13 @@ val commons = Seq( resolvers ++= Resolver.sonatypeOssRepos("snapshots") ) -commons - lazy val `aqua-run` = crossProject(JSPlatform, JVMPlatform) .withoutSuffixFor(JVMPlatform) .crossType(CrossType.Pure) .in(file("aqua-run")) .settings(commons) .dependsOn(compiler, `backend-air`, `backend-ts`, io, definitions, logging, constants) + .enablePlugins(AutomateHeaderPlugin) lazy val io = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -66,12 +85,18 @@ lazy val io = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(compiler, parser, helpers) + .enablePlugins(AutomateHeaderPlugin) lazy val ioJS = io.js + .settings(licenseSettings) .settings( - scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule)) + scalaJSLinkerConfig ~= ( + _.withModuleKind(ModuleKind.CommonJSModule) + .withJSHeader(s"/*${license.text}*/\n") + ) ) .dependsOn(`js-imports`) + .enablePlugins(AutomateHeaderPlugin) lazy val `language-server-api` = crossProject(JSPlatform, JVMPlatform) .withoutSuffixFor(JVMPlatform) @@ -85,21 +110,28 @@ lazy val `language-server-api` = crossProject(JSPlatform, JVMPlatform) ) ) .dependsOn(compiler, io, compiler % "test->test") + .enablePlugins(AutomateHeaderPlugin) lazy val `language-server-apiJS` = `language-server-api`.js + .settings(licenseSettings) .settings( - scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule)), + scalaJSLinkerConfig ~= ( + _.withModuleKind(ModuleKind.CommonJSModule) + .withJSHeader(s"/*${license.text}*/\n") + ), scalaJSUseMainModuleInitializer := false ) .settings(addBundleJS("../../language-server-npm/aqua-lsp-api.js")) .enablePlugins(ScalaJSPlugin) .dependsOn(`js-exports`, `js-imports`) + .enablePlugins(AutomateHeaderPlugin) lazy val `js-exports` = project .in(file("js/js-exports")) .enablePlugins(ScalaJSPlugin) .settings(commons) .dependsOn(`backend`.js, definitions.js) + .enablePlugins(AutomateHeaderPlugin) lazy val `js-imports` = project .in(file("js/js-imports")) @@ -113,16 +145,22 @@ lazy val `aqua-api` = crossProject(JSPlatform, JVMPlatform) .in(file("api/api")) .settings(commons) .dependsOn(`aqua-run`, `backend-api`) + .enablePlugins(AutomateHeaderPlugin) lazy val `aqua-apiJS` = `aqua-api`.js + .settings(licenseSettings) .settings( - scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.ESModule)), + scalaJSLinkerConfig ~= ( + _.withModuleKind(ModuleKind.ESModule) + .withJSHeader(s"/*${license.text}*/\n") + ), scalaJSUseMainModuleInitializer := true, Test / test := {} ) .settings(addBundleJS("../../api-npm/aqua-api.js")) .enablePlugins(ScalaJSPlugin) .dependsOn(`js-exports`) + .enablePlugins(AutomateHeaderPlugin) lazy val types = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -134,6 +172,7 @@ lazy val types = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(errors) + .enablePlugins(AutomateHeaderPlugin) lazy val parser = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -146,12 +185,14 @@ lazy val parser = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(types, helpers) + .enablePlugins(AutomateHeaderPlugin) lazy val linker = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) .crossType(CrossType.Pure) .settings(commons) .dependsOn(parser) + .enablePlugins(AutomateHeaderPlugin) lazy val tree = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -164,6 +205,7 @@ lazy val tree = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(helpers) + .enablePlugins(AutomateHeaderPlugin) lazy val raw = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -171,12 +213,14 @@ lazy val raw = crossProject(JVMPlatform, JSPlatform) .in(file("model/raw")) .settings(commons) .dependsOn(types, tree) + .enablePlugins(AutomateHeaderPlugin) lazy val model = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) .crossType(CrossType.Pure) .settings(commons) .dependsOn(types, tree, raw, helpers, errors) + .enablePlugins(AutomateHeaderPlugin) lazy val res = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -184,6 +228,7 @@ lazy val res = crossProject(JVMPlatform, JSPlatform) .in(file("model/res")) .settings(commons) .dependsOn(model) + .enablePlugins(AutomateHeaderPlugin) lazy val inline = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -191,6 +236,7 @@ lazy val inline = crossProject(JVMPlatform, JSPlatform) .in(file("model/inline")) .settings(commons) .dependsOn(raw, model, mangler) + .enablePlugins(AutomateHeaderPlugin) lazy val transform = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -198,12 +244,14 @@ lazy val transform = crossProject(JVMPlatform, JSPlatform) .in(file("model/transform")) .settings(commons) .dependsOn(model, res, inline, res % "test->test") + .enablePlugins(AutomateHeaderPlugin) lazy val semantics = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) .crossType(CrossType.Pure) .settings(commons) .dependsOn(raw, parser, errors, mangler) + .enablePlugins(AutomateHeaderPlugin) lazy val compiler = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -211,6 +259,7 @@ lazy val compiler = crossProject(JVMPlatform, JSPlatform) .in(file("compiler")) .settings(commons) .dependsOn(semantics, linker, backend, transform % "test->test", res % "test->test") + .enablePlugins(AutomateHeaderPlugin) lazy val backend = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -223,6 +272,7 @@ lazy val backend = crossProject(JVMPlatform, JSPlatform) buildInfoPackage := "aqua.backend" ) .dependsOn(res, definitions) + .enablePlugins(AutomateHeaderPlugin) lazy val definitions = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -237,6 +287,7 @@ lazy val definitions = crossProject(JVMPlatform, JSPlatform) ).map(_ % circeVersion) ) .dependsOn(res, types) + .enablePlugins(AutomateHeaderPlugin) lazy val logging = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -248,6 +299,7 @@ lazy val logging = crossProject(JVMPlatform, JSPlatform) "org.typelevel" %%% "cats-core" % catsV ) ) + .enablePlugins(AutomateHeaderPlugin) lazy val mangler = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -259,6 +311,7 @@ lazy val mangler = crossProject(JVMPlatform, JSPlatform) "org.typelevel" %%% "cats-core" % catsV ) ) + .enablePlugins(AutomateHeaderPlugin) lazy val constants = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -271,6 +324,7 @@ lazy val constants = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(parser, raw) + .enablePlugins(AutomateHeaderPlugin) lazy val helpers = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -284,6 +338,7 @@ lazy val helpers = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(errors) + .enablePlugins(AutomateHeaderPlugin) lazy val errors = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -295,6 +350,7 @@ lazy val errors = crossProject(JVMPlatform, JSPlatform) "com.lihaoyi" %%% "sourcecode" % sourcecodeV ) ) + .enablePlugins(AutomateHeaderPlugin) lazy val `backend-air` = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -302,6 +358,7 @@ lazy val `backend-air` = crossProject(JVMPlatform, JSPlatform) .in(file("backend/air")) .settings(commons) .dependsOn(backend, transform) + .enablePlugins(AutomateHeaderPlugin) lazy val `backend-api` = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -309,6 +366,7 @@ lazy val `backend-api` = crossProject(JVMPlatform, JSPlatform) .in(file("backend/api")) .settings(commons) .dependsOn(backend, transform, `backend-air`) + .enablePlugins(AutomateHeaderPlugin) lazy val `backend-ts` = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -323,3 +381,4 @@ lazy val `backend-ts` = crossProject(JVMPlatform, JSPlatform) ).map(_ % circeVersion) ) .dependsOn(`backend-air`, definitions) + .enablePlugins(AutomateHeaderPlugin) diff --git a/compiler/src/main/scala/aqua/compiler/AirValidator.scala b/compiler/src/main/scala/aqua/compiler/AirValidator.scala index 3794ac17..5b2f002f 100644 --- a/compiler/src/main/scala/aqua/compiler/AirValidator.scala +++ b/compiler/src/main/scala/aqua/compiler/AirValidator.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.backend.AirFunction diff --git a/compiler/src/main/scala/aqua/compiler/AquaCompiled.scala b/compiler/src/main/scala/aqua/compiler/AquaCompiled.scala index 75f7af0f..266714fe 100644 --- a/compiler/src/main/scala/aqua/compiler/AquaCompiled.scala +++ b/compiler/src/main/scala/aqua/compiler/AquaCompiled.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.backend.Generated diff --git a/compiler/src/main/scala/aqua/compiler/AquaCompiler.scala b/compiler/src/main/scala/aqua/compiler/AquaCompiler.scala index c5613545..a0bbe461 100644 --- a/compiler/src/main/scala/aqua/compiler/AquaCompiler.scala +++ b/compiler/src/main/scala/aqua/compiler/AquaCompiler.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.compiler.AquaError.* diff --git a/compiler/src/main/scala/aqua/compiler/AquaCompilerConf.scala b/compiler/src/main/scala/aqua/compiler/AquaCompilerConf.scala index ae60bff1..027d9cd7 100644 --- a/compiler/src/main/scala/aqua/compiler/AquaCompilerConf.scala +++ b/compiler/src/main/scala/aqua/compiler/AquaCompilerConf.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.raw.ConstantRaw diff --git a/compiler/src/main/scala/aqua/compiler/AquaError.scala b/compiler/src/main/scala/aqua/compiler/AquaError.scala index 3407b7ba..afe17ede 100644 --- a/compiler/src/main/scala/aqua/compiler/AquaError.scala +++ b/compiler/src/main/scala/aqua/compiler/AquaError.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.parser diff --git a/compiler/src/main/scala/aqua/compiler/AquaParser.scala b/compiler/src/main/scala/aqua/compiler/AquaParser.scala index 952fec14..60814b4f 100644 --- a/compiler/src/main/scala/aqua/compiler/AquaParser.scala +++ b/compiler/src/main/scala/aqua/compiler/AquaParser.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.compiler.AquaError.{ParserError as AquaParserError, *} diff --git a/compiler/src/main/scala/aqua/compiler/AquaProcessed.scala b/compiler/src/main/scala/aqua/compiler/AquaProcessed.scala index cfccba19..6f99b1d9 100644 --- a/compiler/src/main/scala/aqua/compiler/AquaProcessed.scala +++ b/compiler/src/main/scala/aqua/compiler/AquaProcessed.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.model.AquaContext diff --git a/compiler/src/main/scala/aqua/compiler/AquaSources.scala b/compiler/src/main/scala/aqua/compiler/AquaSources.scala index 8ea979ce..011f03fe 100644 --- a/compiler/src/main/scala/aqua/compiler/AquaSources.scala +++ b/compiler/src/main/scala/aqua/compiler/AquaSources.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import cats.data.{Chain, ValidatedNec} diff --git a/compiler/src/main/scala/aqua/compiler/AquaWarning.scala b/compiler/src/main/scala/aqua/compiler/AquaWarning.scala index 1e6a2021..190f5acf 100644 --- a/compiler/src/main/scala/aqua/compiler/AquaWarning.scala +++ b/compiler/src/main/scala/aqua/compiler/AquaWarning.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.semantics diff --git a/compiler/src/main/scala/aqua/compiler/CompilerAPI.scala b/compiler/src/main/scala/aqua/compiler/CompilerAPI.scala index dab734a5..384dd28d 100644 --- a/compiler/src/main/scala/aqua/compiler/CompilerAPI.scala +++ b/compiler/src/main/scala/aqua/compiler/CompilerAPI.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.backend.Backend diff --git a/compiler/src/main/scala/aqua/compiler/package.scala b/compiler/src/main/scala/aqua/compiler/package.scala index 4acac30b..5b6e86a1 100644 --- a/compiler/src/main/scala/aqua/compiler/package.scala +++ b/compiler/src/main/scala/aqua/compiler/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import cats.data.{Chain, EitherT, NonEmptyChain, Writer} diff --git a/compiler/src/test/scala/aqua/compiler/AquaCompilerSpec.scala b/compiler/src/test/scala/aqua/compiler/AquaCompilerSpec.scala index ee3b3867..d2f0aa94 100644 --- a/compiler/src/test/scala/aqua/compiler/AquaCompilerSpec.scala +++ b/compiler/src/test/scala/aqua/compiler/AquaCompilerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.compiler.FileIdString.given diff --git a/compiler/src/test/scala/aqua/compiler/FileIdString.scala b/compiler/src/test/scala/aqua/compiler/FileIdString.scala index dbc8743c..80951dee 100644 --- a/compiler/src/test/scala/aqua/compiler/FileIdString.scala +++ b/compiler/src/test/scala/aqua/compiler/FileIdString.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.compiler import aqua.semantics.FileId diff --git a/integration-tests/src/__test__/examples.spec.ts b/integration-tests/src/__test__/examples.spec.ts index 52f2eae7..6d7de7a7 100644 --- a/integration-tests/src/__test__/examples.spec.ts +++ b/integration-tests/src/__test__/examples.spec.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { Fluence, IFluenceClient, createClient } from "@fluencelabs/js-client"; import { getObjAssignCall, diff --git a/integration-tests/src/__test__/lsp-types.spec.ts b/integration-tests/src/__test__/lsp-types.spec.ts index be7b1bd8..5d1d30b5 100644 --- a/integration-tests/src/__test__/lsp-types.spec.ts +++ b/integration-tests/src/__test__/lsp-types.spec.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + describe("Testing LSP types", () => { it("dummy", async () => { expect(true).toBeTruthy() diff --git a/integration-tests/src/compile.ts b/integration-tests/src/compile.ts index dab03c7a..793b036a 100644 --- a/integration-tests/src/compile.ts +++ b/integration-tests/src/compile.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { compileFromPath } from "@fluencelabs/aqua-api"; import { mkdir, writeFile } from "node:fs/promises"; import { resolve, parse, format, dirname } from "node:path"; diff --git a/integration-tests/src/config.ts b/integration-tests/src/config.ts index 756477fb..09745de6 100644 --- a/integration-tests/src/config.ts +++ b/integration-tests/src/config.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { krasnodar, stage, diff --git a/integration-tests/src/examples/abilityCall.ts b/integration-tests/src/examples/abilityCall.ts index 73566822..acb9c83e 100644 --- a/integration-tests/src/examples/abilityCall.ts +++ b/integration-tests/src/examples/abilityCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { handleAb, registerSomeService, diff --git a/integration-tests/src/examples/abilityClosureCall.ts b/integration-tests/src/examples/abilityClosureCall.ts index cc06b999..2bdd1b51 100644 --- a/integration-tests/src/examples/abilityClosureCall.ts +++ b/integration-tests/src/examples/abilityClosureCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { bugLNG314, bugLNG338 } from "../compiled/examples/abilitiesClosure.js"; diff --git a/integration-tests/src/examples/abilityClosureRenameCall.ts b/integration-tests/src/examples/abilityClosureRenameCall.ts index e5769e42..6c1444be 100644 --- a/integration-tests/src/examples/abilityClosureRenameCall.ts +++ b/integration-tests/src/examples/abilityClosureRenameCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { bugLNG346 } from "../compiled/examples/abilitiesClosureRename.js"; diff --git a/integration-tests/src/examples/assignment.ts b/integration-tests/src/examples/assignment.ts index 41556fc3..f435680d 100644 --- a/integration-tests/src/examples/assignment.ts +++ b/integration-tests/src/examples/assignment.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { doSmth } from "../compiled/examples/assignment.js"; export async function assignmentCall(): Promise { diff --git a/integration-tests/src/examples/boolAlgebra.ts b/integration-tests/src/examples/boolAlgebra.ts index 5c49638e..036dd645 100644 --- a/integration-tests/src/examples/boolAlgebra.ts +++ b/integration-tests/src/examples/boolAlgebra.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { main, compareStreams, diff --git a/integration-tests/src/examples/callArrowCall.ts b/integration-tests/src/examples/callArrowCall.ts index 6ab6c114..7a364a92 100644 --- a/integration-tests/src/examples/callArrowCall.ts +++ b/integration-tests/src/examples/callArrowCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { passFunctionAsArg, reproArgsBug426, diff --git a/integration-tests/src/examples/canonCall.ts b/integration-tests/src/examples/canonCall.ts index ed33851a..557b3c79 100644 --- a/integration-tests/src/examples/canonCall.ts +++ b/integration-tests/src/examples/canonCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { bugLng79, registerSer } from "../compiled/examples/canon.js"; export async function bugLng79Call( diff --git a/integration-tests/src/examples/closureArrowCapture.ts b/integration-tests/src/examples/closureArrowCapture.ts index fac69e8b..bf4afd79 100644 --- a/integration-tests/src/examples/closureArrowCapture.ts +++ b/integration-tests/src/examples/closureArrowCapture.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { test, registerTestServiceClosureArrowCapture, diff --git a/integration-tests/src/examples/closureReturnRename.ts b/integration-tests/src/examples/closureReturnRename.ts index 12ede762..8316b3f4 100644 --- a/integration-tests/src/examples/closureReturnRename.ts +++ b/integration-tests/src/examples/closureReturnRename.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { lng193Bug, lng365Bug } from "../compiled/examples/closureReturnRename.js"; import { config } from "../config.js"; diff --git a/integration-tests/src/examples/closureStreamScopesCall.ts b/integration-tests/src/examples/closureStreamScopesCall.ts index 6b53e0cd..771f80ce 100644 --- a/integration-tests/src/examples/closureStreamScopesCall.ts +++ b/integration-tests/src/examples/closureStreamScopesCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { simpleTest, complexTest diff --git a/integration-tests/src/examples/closures.ts b/integration-tests/src/examples/closures.ts index 70c32916..4bb5422e 100644 --- a/integration-tests/src/examples/closures.ts +++ b/integration-tests/src/examples/closures.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { closureIn, closureOut, diff --git a/integration-tests/src/examples/coCall.ts b/integration-tests/src/examples/coCall.ts index e0e59840..dfd8c0ac 100644 --- a/integration-tests/src/examples/coCall.ts +++ b/integration-tests/src/examples/coCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { parFunc } from "../compiled/examples/par.js"; import { registerCoService } from "../compiled/examples/co.js"; import { relay1 } from "../__test__/examples.spec.js"; diff --git a/integration-tests/src/examples/collectionSugarCall.ts b/integration-tests/src/examples/collectionSugarCall.ts index 1c56c342..440ef7fe 100644 --- a/integration-tests/src/examples/collectionSugarCall.ts +++ b/integration-tests/src/examples/collectionSugarCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { arraySugar, bugLNG59, diff --git a/integration-tests/src/examples/complex.ts b/integration-tests/src/examples/complex.ts index 4c37efc7..d1d7fe73 100644 --- a/integration-tests/src/examples/complex.ts +++ b/integration-tests/src/examples/complex.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { doStuff, registerTestS } from "../compiled/examples/complex.js"; export async function complexCall(selfPeerId: string, relayPeerId: string) { diff --git a/integration-tests/src/examples/constantsCall.ts b/integration-tests/src/examples/constantsCall.ts index aa92ad31..42346fb1 100644 --- a/integration-tests/src/examples/constantsCall.ts +++ b/integration-tests/src/examples/constantsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { callConstant, registerGetter, diff --git a/integration-tests/src/examples/dataAliasCall.ts b/integration-tests/src/examples/dataAliasCall.ts index 8299ea98..afce26d1 100644 --- a/integration-tests/src/examples/dataAliasCall.ts +++ b/integration-tests/src/examples/dataAliasCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { getAliasedData, registerNodeIdGetter, diff --git a/integration-tests/src/examples/declareCall.ts b/integration-tests/src/examples/declareCall.ts index f6dbadd9..4d19f7fb 100644 --- a/integration-tests/src/examples/declareCall.ts +++ b/integration-tests/src/examples/declareCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { concat_foobars, registerStringService, diff --git a/integration-tests/src/examples/errorClear.ts b/integration-tests/src/examples/errorClear.ts index c063fa29..0cc35483 100644 --- a/integration-tests/src/examples/errorClear.ts +++ b/integration-tests/src/examples/errorClear.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { IFluenceClient } from "@fluencelabs/js-client"; import { errorClearTest, diff --git a/integration-tests/src/examples/foldCall.ts b/integration-tests/src/examples/foldCall.ts index 105aeab8..640d8b0c 100644 --- a/integration-tests/src/examples/foldCall.ts +++ b/integration-tests/src/examples/foldCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { forBug499, iterateAndPrint, diff --git a/integration-tests/src/examples/foldJoinCall.ts b/integration-tests/src/examples/foldJoinCall.ts index 54d15a30..7d43e884 100644 --- a/integration-tests/src/examples/foldJoinCall.ts +++ b/integration-tests/src/examples/foldJoinCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { getTwoResults } from "../compiled/examples/foldJoin.js"; export async function foldJoinCall(relayPeerId: string): Promise { diff --git a/integration-tests/src/examples/funcCall.ts b/integration-tests/src/examples/funcCall.ts index 119af421..67388af7 100644 --- a/integration-tests/src/examples/funcCall.ts +++ b/integration-tests/src/examples/funcCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { testFunc, registerTestSrv } from "../compiled/examples/func.js"; export async function funcCall() { diff --git a/integration-tests/src/examples/funcsCall.ts b/integration-tests/src/examples/funcsCall.ts index 90121e00..c74e7e13 100644 --- a/integration-tests/src/examples/funcsCall.ts +++ b/integration-tests/src/examples/funcsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { main, registerA, diff --git a/integration-tests/src/examples/functorsCall.ts b/integration-tests/src/examples/functorsCall.ts index 773839dd..fe8eac0e 100644 --- a/integration-tests/src/examples/functorsCall.ts +++ b/integration-tests/src/examples/functorsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { lng119Bug } from "../compiled/examples/functors.js"; export async function bugLng119Call(): Promise { diff --git a/integration-tests/src/examples/handleResultError.ts b/integration-tests/src/examples/handleResultError.ts index c1af4fc3..2edccfa9 100644 --- a/integration-tests/src/examples/handleResultError.ts +++ b/integration-tests/src/examples/handleResultError.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { handleResultError } from "../compiled/examples/handleResultError.js"; export async function handleResultErrorCall() { diff --git a/integration-tests/src/examples/helloWorldCall.ts b/integration-tests/src/examples/helloWorldCall.ts index 3713a50d..0f787ed8 100644 --- a/integration-tests/src/examples/helloWorldCall.ts +++ b/integration-tests/src/examples/helloWorldCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { helloWorld, registerStringExtra, diff --git a/integration-tests/src/examples/ifCall.ts b/integration-tests/src/examples/ifCall.ts index 67241d5c..f4404ea7 100644 --- a/integration-tests/src/examples/ifCall.ts +++ b/integration-tests/src/examples/ifCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { bugLNG69, ifCorrectXorWrap, diff --git a/integration-tests/src/examples/ifPropagateErrors.ts b/integration-tests/src/examples/ifPropagateErrors.ts index 6a3d79b0..61994730 100644 --- a/integration-tests/src/examples/ifPropagateErrors.ts +++ b/integration-tests/src/examples/ifPropagateErrors.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { ifPropagateErrors, registerTestService, diff --git a/integration-tests/src/examples/import2Call.ts b/integration-tests/src/examples/import2Call.ts index 847f466a..816b6084 100644 --- a/integration-tests/src/examples/import2Call.ts +++ b/integration-tests/src/examples/import2Call.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { registerOneMore } from "../compiled/examples/imports_exports/gen/OneMore.js"; import { barfoo, wrap } from "../compiled/examples/imports_exports/import2.js"; diff --git a/integration-tests/src/examples/joinCall.ts b/integration-tests/src/examples/joinCall.ts index 8d82a8ab..030f158c 100644 --- a/integration-tests/src/examples/joinCall.ts +++ b/integration-tests/src/examples/joinCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { joinIdx, joinIdxLocal, diff --git a/integration-tests/src/examples/mathCall.ts b/integration-tests/src/examples/mathCall.ts index 99f2af1d..c89fc69e 100644 --- a/integration-tests/src/examples/mathCall.ts +++ b/integration-tests/src/examples/mathCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { test1, test2, diff --git a/integration-tests/src/examples/multiReturnCall.ts b/integration-tests/src/examples/multiReturnCall.ts index b5319ca8..775b59af 100644 --- a/integration-tests/src/examples/multiReturnCall.ts +++ b/integration-tests/src/examples/multiReturnCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { multiReturnFunc, registerGetStr, diff --git a/integration-tests/src/examples/nestedDataCall.ts b/integration-tests/src/examples/nestedDataCall.ts index 7ccd3df8..ec974d55 100644 --- a/integration-tests/src/examples/nestedDataCall.ts +++ b/integration-tests/src/examples/nestedDataCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { test, registerTest, diff --git a/integration-tests/src/examples/nestedFuncsCall.ts b/integration-tests/src/examples/nestedFuncsCall.ts index 76a34d46..75db7ad7 100644 --- a/integration-tests/src/examples/nestedFuncsCall.ts +++ b/integration-tests/src/examples/nestedFuncsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { d, registerOpH } from "../compiled/examples/nestedFuncs.js"; export async function nestedFuncsCall(): Promise { diff --git a/integration-tests/src/examples/objectCall.ts b/integration-tests/src/examples/objectCall.ts index 4571f3bd..b5e65a09 100644 --- a/integration-tests/src/examples/objectCall.ts +++ b/integration-tests/src/examples/objectCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { getObj, getObjAssign, diff --git a/integration-tests/src/examples/onCall.ts b/integration-tests/src/examples/onCall.ts index 94528525..e2fc27a1 100644 --- a/integration-tests/src/examples/onCall.ts +++ b/integration-tests/src/examples/onCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { getPeerExternalAddresses } from "../compiled/examples/on.js"; export async function onCall(relayPeerId: string): Promise { diff --git a/integration-tests/src/examples/onErrorPropagation.ts b/integration-tests/src/examples/onErrorPropagation.ts index f6c9eb96..d65e3e4e 100644 --- a/integration-tests/src/examples/onErrorPropagation.ts +++ b/integration-tests/src/examples/onErrorPropagation.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { IFluenceClient } from "@fluencelabs/js-client"; import { registerTest, diff --git a/integration-tests/src/examples/optionsCall.ts b/integration-tests/src/examples/optionsCall.ts index 9c5d55c6..a77c04bb 100644 --- a/integration-tests/src/examples/optionsCall.ts +++ b/integration-tests/src/examples/optionsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { checkEmpty, checkNoneEmpty, diff --git a/integration-tests/src/examples/parCall.ts b/integration-tests/src/examples/parCall.ts index 6294a460..e7239c6a 100644 --- a/integration-tests/src/examples/parCall.ts +++ b/integration-tests/src/examples/parCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { parFunc, registerParService, diff --git a/integration-tests/src/examples/parSeqCall.ts b/integration-tests/src/examples/parSeqCall.ts index 9a1dba13..f31f1052 100644 --- a/integration-tests/src/examples/parSeqCall.ts +++ b/integration-tests/src/examples/parSeqCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { testParSeq } from "../compiled/examples/parseq.js"; diff --git a/integration-tests/src/examples/passArgsCall.ts b/integration-tests/src/examples/passArgsCall.ts index 2776f742..3c4bc077 100644 --- a/integration-tests/src/examples/passArgsCall.ts +++ b/integration-tests/src/examples/passArgsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { bugLNG60, create_client_util, diff --git a/integration-tests/src/examples/pushToStreamCall.ts b/integration-tests/src/examples/pushToStreamCall.ts index fdf093e2..e3f2b93d 100644 --- a/integration-tests/src/examples/pushToStreamCall.ts +++ b/integration-tests/src/examples/pushToStreamCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { get_results, registerOpA } from "../compiled/examples/pushToStream.js"; export async function pushToStreamCall() { diff --git a/integration-tests/src/examples/recursiveStreams/multiRecStreamCall.ts b/integration-tests/src/examples/recursiveStreams/multiRecStreamCall.ts index 8c2881be..ab035351 100644 --- a/integration-tests/src/examples/recursiveStreams/multiRecStreamCall.ts +++ b/integration-tests/src/examples/recursiveStreams/multiRecStreamCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { multiRecStream, registerTestServiceMultiRec, diff --git a/integration-tests/src/examples/recursiveStreams/nestedCall.ts b/integration-tests/src/examples/recursiveStreams/nestedCall.ts index 0c3325ee..a7676bfc 100644 --- a/integration-tests/src/examples/recursiveStreams/nestedCall.ts +++ b/integration-tests/src/examples/recursiveStreams/nestedCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { nested } from "../../compiled/examples/recursiveStreams/nested.js"; export async function nestedCall(n: number): Promise { diff --git a/integration-tests/src/examples/recursiveStreams/pipelineCall.ts b/integration-tests/src/examples/recursiveStreams/pipelineCall.ts index fbe9f6d0..0826b60a 100644 --- a/integration-tests/src/examples/recursiveStreams/pipelineCall.ts +++ b/integration-tests/src/examples/recursiveStreams/pipelineCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { pipelineStream } from "../../compiled/examples/recursiveStreams/pipeline.js"; export async function pipelineStreamCall( diff --git a/integration-tests/src/examples/recursiveStreams/rangeCall.ts b/integration-tests/src/examples/recursiveStreams/rangeCall.ts index 45d5221a..2f89738d 100644 --- a/integration-tests/src/examples/recursiveStreams/rangeCall.ts +++ b/integration-tests/src/examples/recursiveStreams/rangeCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { range } from "../../compiled/examples/recursiveStreams/range.js"; export async function rangeCall(a: number, b: number): Promise { diff --git a/integration-tests/src/examples/recursiveStreams/remoteRecCall.ts b/integration-tests/src/examples/recursiveStreams/remoteRecCall.ts index 81f30006..a9500002 100644 --- a/integration-tests/src/examples/recursiveStreams/remoteRecCall.ts +++ b/integration-tests/src/examples/recursiveStreams/remoteRecCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { IFluenceClient } from "@fluencelabs/js-client"; import { remoteRecStream } from "../../compiled/examples/recursiveStreams/remoteRec.js"; diff --git a/integration-tests/src/examples/recursiveStreams/yesNoStreamCall.ts b/integration-tests/src/examples/recursiveStreams/yesNoStreamCall.ts index 8eef91f5..e36bbadf 100644 --- a/integration-tests/src/examples/recursiveStreams/yesNoStreamCall.ts +++ b/integration-tests/src/examples/recursiveStreams/yesNoStreamCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { yesNoStream, registerYesNoService, diff --git a/integration-tests/src/examples/renameVars.ts b/integration-tests/src/examples/renameVars.ts index d8514b9f..7eaf500d 100644 --- a/integration-tests/src/examples/renameVars.ts +++ b/integration-tests/src/examples/renameVars.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { rename_s } from "../compiled/examples/renameVars.js"; export async function renameVarsCall(): Promise { diff --git a/integration-tests/src/examples/returnArrowCall.ts b/integration-tests/src/examples/returnArrowCall.ts index 99775cb8..a79d2ecf 100644 --- a/integration-tests/src/examples/returnArrowCall.ts +++ b/integration-tests/src/examples/returnArrowCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { callReturnedArrow, callReturnedChainArrow, diff --git a/integration-tests/src/examples/returnLiteralCall.ts b/integration-tests/src/examples/returnLiteralCall.ts index 182216d8..a36d3203 100644 --- a/integration-tests/src/examples/returnLiteralCall.ts +++ b/integration-tests/src/examples/returnLiteralCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { returnLiteral } from "../compiled/examples/returnLiteral.js"; export async function literalCall() { diff --git a/integration-tests/src/examples/servicesAsAbilities.ts b/integration-tests/src/examples/servicesAsAbilities.ts index 9b40502a..d2765205 100644 --- a/integration-tests/src/examples/servicesAsAbilities.ts +++ b/integration-tests/src/examples/servicesAsAbilities.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { test, testCapture, diff --git a/integration-tests/src/examples/streamArgsCall.ts b/integration-tests/src/examples/streamArgsCall.ts index 1c562493..f7305915 100644 --- a/integration-tests/src/examples/streamArgsCall.ts +++ b/integration-tests/src/examples/streamArgsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { retrieve_records, modify_stream, diff --git a/integration-tests/src/examples/streamCall.ts b/integration-tests/src/examples/streamCall.ts index 1a381598..2b18612d 100644 --- a/integration-tests/src/examples/streamCall.ts +++ b/integration-tests/src/examples/streamCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { registerStringer, checkStreams, diff --git a/integration-tests/src/examples/streamCallback.ts b/integration-tests/src/examples/streamCallback.ts index b68fbd09..51b015de 100644 --- a/integration-tests/src/examples/streamCallback.ts +++ b/integration-tests/src/examples/streamCallback.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { someFunc } from "../compiled/examples/streamCallback.js"; export async function streamCallbackCall(): Promise { diff --git a/integration-tests/src/examples/streamCanCall.ts b/integration-tests/src/examples/streamCanCall.ts index 7ad9af7e..cf0e9412 100644 --- a/integration-tests/src/examples/streamCanCall.ts +++ b/integration-tests/src/examples/streamCanCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { accumRes, bugLNG63, diff --git a/integration-tests/src/examples/streamCapture.ts b/integration-tests/src/examples/streamCapture.ts index 8bac9162..f8221622 100644 --- a/integration-tests/src/examples/streamCapture.ts +++ b/integration-tests/src/examples/streamCapture.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { testStreamCaptureSimple, testStreamCaptureReturn, diff --git a/integration-tests/src/examples/streamMapAbilitiesCall.ts b/integration-tests/src/examples/streamMapAbilitiesCall.ts index 77498af0..d1537c7d 100644 --- a/integration-tests/src/examples/streamMapAbilitiesCall.ts +++ b/integration-tests/src/examples/streamMapAbilitiesCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { streamMapAbilityTest } from "../compiled/examples/streamMapAbilities.js"; diff --git a/integration-tests/src/examples/streamMapCall.ts b/integration-tests/src/examples/streamMapCall.ts index 81c6c8d4..672ec4bb 100644 --- a/integration-tests/src/examples/streamMapCall.ts +++ b/integration-tests/src/examples/streamMapCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { testGetFunc, testGetStreamFunc, testKeysFunc, testKeysStreamFunc, testContainsFunc, testForFunc, testParSeqMap, testForTupleFunc diff --git a/integration-tests/src/examples/streamMapCapture.ts b/integration-tests/src/examples/streamMapCapture.ts index 7e507a6e..2f70e654 100644 --- a/integration-tests/src/examples/streamMapCapture.ts +++ b/integration-tests/src/examples/streamMapCapture.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { testStreamMapCaptureSimple, testStreamMapCaptureReturn, diff --git a/integration-tests/src/examples/streamMapRestrictionsCall.ts b/integration-tests/src/examples/streamMapRestrictionsCall.ts index 0aa9dada..5c973862 100644 --- a/integration-tests/src/examples/streamMapRestrictionsCall.ts +++ b/integration-tests/src/examples/streamMapRestrictionsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { streamMapRes } from "../compiled/examples/streamMapRestriction.js"; export async function streamMapResCall(): Promise { diff --git a/integration-tests/src/examples/streamRestrictionsCall.ts b/integration-tests/src/examples/streamRestrictionsCall.ts index 8ec71d7d..0ed99570 100644 --- a/integration-tests/src/examples/streamRestrictionsCall.ts +++ b/integration-tests/src/examples/streamRestrictionsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { streamRes } from "../compiled/examples/streamRestriction.js"; export async function streamResCall(): Promise { diff --git a/integration-tests/src/examples/streamResultsCall.ts b/integration-tests/src/examples/streamResultsCall.ts index 7ef9fd20..c9a3388b 100644 --- a/integration-tests/src/examples/streamResultsCall.ts +++ b/integration-tests/src/examples/streamResultsCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { use_name2, registerDTGetter, diff --git a/integration-tests/src/examples/streamReturn.ts b/integration-tests/src/examples/streamReturn.ts index 52d02e75..addd7e5f 100644 --- a/integration-tests/src/examples/streamReturn.ts +++ b/integration-tests/src/examples/streamReturn.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { testReturnStream } from "../compiled/examples/streamReturn.js"; export async function streamReturnCall() { diff --git a/integration-tests/src/examples/streamScopes.ts b/integration-tests/src/examples/streamScopes.ts index b7cb86f4..592b3ad3 100644 --- a/integration-tests/src/examples/streamScopes.ts +++ b/integration-tests/src/examples/streamScopes.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { streamIf, streamTry, diff --git a/integration-tests/src/examples/structuralTypingCall.ts b/integration-tests/src/examples/structuralTypingCall.ts index 93a8224c..bfb9342b 100644 --- a/integration-tests/src/examples/structuralTypingCall.ts +++ b/integration-tests/src/examples/structuralTypingCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { structuralTypingTest } from "../compiled/examples/structuraltyping.js"; export async function structuralTypingCall(): Promise { diff --git a/integration-tests/src/examples/subImportUsageCall.ts b/integration-tests/src/examples/subImportUsageCall.ts index ab04163e..a198be24 100644 --- a/integration-tests/src/examples/subImportUsageCall.ts +++ b/integration-tests/src/examples/subImportUsageCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { registerSubService } from "../compiled/examples/imports_exports/subImport.js"; import { registerConcatSubs, diff --git a/integration-tests/src/examples/topologyCall.ts b/integration-tests/src/examples/topologyCall.ts index f61657fe..60742bd7 100644 --- a/integration-tests/src/examples/topologyCall.ts +++ b/integration-tests/src/examples/topologyCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { IFluenceClient } from "@fluencelabs/js-client"; import { topologyTest, diff --git a/integration-tests/src/examples/tryCatchCall.ts b/integration-tests/src/examples/tryCatchCall.ts index 57344234..4be893a8 100644 --- a/integration-tests/src/examples/tryCatchCall.ts +++ b/integration-tests/src/examples/tryCatchCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { tryCatchTest } from "../compiled/examples/tryCatch.js"; export async function tryCatchCall(relayPeerId: string): Promise { diff --git a/integration-tests/src/examples/tryOtherwiseCall.ts b/integration-tests/src/examples/tryOtherwiseCall.ts index 25537f26..8903ee06 100644 --- a/integration-tests/src/examples/tryOtherwiseCall.ts +++ b/integration-tests/src/examples/tryOtherwiseCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { tryOtherwiseTest } from "../compiled/examples/tryOtherwise.js"; export async function tryOtherwiseCall(relayPeerId: string): Promise { diff --git a/integration-tests/src/examples/useOptionalCall.ts b/integration-tests/src/examples/useOptionalCall.ts index c5369b28..88c3bffb 100644 --- a/integration-tests/src/examples/useOptionalCall.ts +++ b/integration-tests/src/examples/useOptionalCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { returnNone, returnOptional, diff --git a/integration-tests/src/examples/viaCall.ts b/integration-tests/src/examples/viaCall.ts index b6c85dc0..b666c653 100644 --- a/integration-tests/src/examples/viaCall.ts +++ b/integration-tests/src/examples/viaCall.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + import { viaArr, viaOpt, viaStream } from "../compiled/examples/via.js"; import { config } from "../config.js"; diff --git a/integration-tests/src/index.ts b/integration-tests/src/index.ts index 3f97b3a9..cb84b1bb 100644 --- a/integration-tests/src/index.ts +++ b/integration-tests/src/index.ts @@ -1,5 +1,21 @@ #!/usr/bin/env node +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + const main = async () => { process.exit(0); }; diff --git a/integration-tests/src/local-nodes.ts b/integration-tests/src/local-nodes.ts index da575870..6566771f 100644 --- a/integration-tests/src/local-nodes.ts +++ b/integration-tests/src/local-nodes.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + export type Node = { peerId: string; multiaddr: string }; export const local: Node[] = [ { diff --git a/io/.js/src/main/scala/aqua/PlatformPackagePath.scala b/io/.js/src/main/scala/aqua/PlatformPackagePath.scala index ac5e38e6..0c9a608d 100644 --- a/io/.js/src/main/scala/aqua/PlatformPackagePath.scala +++ b/io/.js/src/main/scala/aqua/PlatformPackagePath.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import cats.effect.kernel.Async diff --git a/io/.jvm/src/main/scala/aqua/PlatformPackagePath.scala b/io/.jvm/src/main/scala/aqua/PlatformPackagePath.scala index 6932b6d6..8bffbb95 100644 --- a/io/.jvm/src/main/scala/aqua/PlatformPackagePath.scala +++ b/io/.jvm/src/main/scala/aqua/PlatformPackagePath.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import cats.effect.kernel.Async diff --git a/io/src/main/scala/aqua/AquaIO.scala b/io/src/main/scala/aqua/AquaIO.scala index 822b08d4..e6822420 100644 --- a/io/src/main/scala/aqua/AquaIO.scala +++ b/io/src/main/scala/aqua/AquaIO.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import aqua.io.AquaFileError diff --git a/io/src/main/scala/aqua/Rendering.scala b/io/src/main/scala/aqua/Rendering.scala index 3fabcd94..9415a4fe 100644 --- a/io/src/main/scala/aqua/Rendering.scala +++ b/io/src/main/scala/aqua/Rendering.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import aqua.compiler.* diff --git a/io/src/main/scala/aqua/SpanParser.scala b/io/src/main/scala/aqua/SpanParser.scala index 11aa332a..09f199e2 100644 --- a/io/src/main/scala/aqua/SpanParser.scala +++ b/io/src/main/scala/aqua/SpanParser.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import aqua.files.FileModuleId diff --git a/io/src/main/scala/aqua/files/AquaFileSources.scala b/io/src/main/scala/aqua/files/AquaFileSources.scala index a5205eae..b37402cc 100644 --- a/io/src/main/scala/aqua/files/AquaFileSources.scala +++ b/io/src/main/scala/aqua/files/AquaFileSources.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.files import aqua.AquaIO diff --git a/io/src/main/scala/aqua/files/AquaFilesIO.scala b/io/src/main/scala/aqua/files/AquaFilesIO.scala index c15bced1..d8f1fe78 100644 --- a/io/src/main/scala/aqua/files/AquaFilesIO.scala +++ b/io/src/main/scala/aqua/files/AquaFilesIO.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.files import aqua.AquaIO diff --git a/io/src/main/scala/aqua/files/FileModuleId.scala b/io/src/main/scala/aqua/files/FileModuleId.scala index 86f084f4..9c8ce070 100644 --- a/io/src/main/scala/aqua/files/FileModuleId.scala +++ b/io/src/main/scala/aqua/files/FileModuleId.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.files import aqua.semantics.FileId diff --git a/io/src/main/scala/aqua/files/Imports.scala b/io/src/main/scala/aqua/files/Imports.scala index 36a2d05e..0d0540ee 100644 --- a/io/src/main/scala/aqua/files/Imports.scala +++ b/io/src/main/scala/aqua/files/Imports.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.files import fs2.io.file.Path diff --git a/io/src/main/scala/aqua/io/AquaFileError.scala b/io/src/main/scala/aqua/io/AquaFileError.scala index 1f59344d..bab3b8c0 100644 --- a/io/src/main/scala/aqua/io/AquaFileError.scala +++ b/io/src/main/scala/aqua/io/AquaFileError.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.io import cats.data.NonEmptyChain diff --git a/io/src/main/scala/aqua/io/AquaPath.scala b/io/src/main/scala/aqua/io/AquaPath.scala index 39e28757..bbecc571 100644 --- a/io/src/main/scala/aqua/io/AquaPath.scala +++ b/io/src/main/scala/aqua/io/AquaPath.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.io import aqua.PlatformPackagePath diff --git a/io/src/main/scala/aqua/io/OutputPrinter.scala b/io/src/main/scala/aqua/io/OutputPrinter.scala index 3ff74edf..0cfcf79a 100644 --- a/io/src/main/scala/aqua/io/OutputPrinter.scala +++ b/io/src/main/scala/aqua/io/OutputPrinter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.io import cats.effect.std.Console diff --git a/io/src/test/scala/aqua/ImportsSpec.scala b/io/src/test/scala/aqua/ImportsSpec.scala index c463fd1b..a9478d37 100644 --- a/io/src/test/scala/aqua/ImportsSpec.scala +++ b/io/src/test/scala/aqua/ImportsSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.files import fs2.io.file.Path diff --git a/io/src/test/scala/aqua/RenderingSpec.scala b/io/src/test/scala/aqua/RenderingSpec.scala index 976bd82f..de79c85c 100644 --- a/io/src/test/scala/aqua/RenderingSpec.scala +++ b/io/src/test/scala/aqua/RenderingSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.files import aqua.Rendering.given diff --git a/js/js-exports/src/main/scala/aqua/js/Definitions.scala b/js/js-exports/src/main/scala/aqua/js/Definitions.scala index 83afb002..306a7c66 100644 --- a/js/js-exports/src/main/scala/aqua/js/Definitions.scala +++ b/js/js-exports/src/main/scala/aqua/js/Definitions.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.js import aqua.* diff --git a/js/js-exports/src/main/scala/aqua/js/JsonEncoder.scala b/js/js-exports/src/main/scala/aqua/js/JsonEncoder.scala index df260e91..3cafe212 100644 --- a/js/js-exports/src/main/scala/aqua/js/JsonEncoder.scala +++ b/js/js-exports/src/main/scala/aqua/js/JsonEncoder.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.js import aqua.types.* diff --git a/js/js-exports/src/main/scala/aqua/js/VarJson.scala b/js/js-exports/src/main/scala/aqua/js/VarJson.scala index a9c6e573..f482142b 100644 --- a/js/js-exports/src/main/scala/aqua/js/VarJson.scala +++ b/js/js-exports/src/main/scala/aqua/js/VarJson.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.js import aqua.raw.value.{ValueRaw, VarRaw} diff --git a/js/js-imports/src/main/scala/aqua/js/CallJsFunction.scala b/js/js-imports/src/main/scala/aqua/js/CallJsFunction.scala index 4187ee10..9cb8020b 100644 --- a/js/js-imports/src/main/scala/aqua/js/CallJsFunction.scala +++ b/js/js-imports/src/main/scala/aqua/js/CallJsFunction.scala @@ -1,4 +1,21 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.js + import aqua.backend.* import aqua.definitions.{FunctionDef, ServiceDef} import aqua.model.transform.TransformConfig diff --git a/js/js-imports/src/main/scala/aqua/js/Conversions.scala b/js/js-imports/src/main/scala/aqua/js/Conversions.scala index 0667ad1d..722ecc82 100644 --- a/js/js-imports/src/main/scala/aqua/js/Conversions.scala +++ b/js/js-imports/src/main/scala/aqua/js/Conversions.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.js import scala.scalajs.js diff --git a/js/js-imports/src/main/scala/aqua/js/FluenceEnvironment.scala b/js/js-imports/src/main/scala/aqua/js/FluenceEnvironment.scala index 988b799a..8f5015f7 100644 --- a/js/js-imports/src/main/scala/aqua/js/FluenceEnvironment.scala +++ b/js/js-imports/src/main/scala/aqua/js/FluenceEnvironment.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.js import scala.scalajs.js diff --git a/js/js-imports/src/main/scala/aqua/js/FluenceJsTypes.scala b/js/js-imports/src/main/scala/aqua/js/FluenceJsTypes.scala index 0e7e127f..ea35fa1a 100644 --- a/js/js-imports/src/main/scala/aqua/js/FluenceJsTypes.scala +++ b/js/js-imports/src/main/scala/aqua/js/FluenceJsTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.js import aqua.* diff --git a/js/js-imports/src/main/scala/aqua/js/Npm.scala b/js/js-imports/src/main/scala/aqua/js/Npm.scala index 06e711e6..1ccd4f27 100644 --- a/js/js-imports/src/main/scala/aqua/js/Npm.scala +++ b/js/js-imports/src/main/scala/aqua/js/Npm.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.js import scala.scalajs.js diff --git a/language-server/language-server-api/.js/src/main/scala/aqua/lsp/AquaLSP.scala b/language-server/language-server-api/.js/src/main/scala/aqua/lsp/AquaLSP.scala index d442c565..ef755c1f 100644 --- a/language-server/language-server-api/.js/src/main/scala/aqua/lsp/AquaLSP.scala +++ b/language-server/language-server-api/.js/src/main/scala/aqua/lsp/AquaLSP.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.compiler.* diff --git a/language-server/language-server-api/.js/src/main/scala/aqua/lsp/OutputTypes.scala b/language-server/language-server-api/.js/src/main/scala/aqua/lsp/OutputTypes.scala index 145b4b32..80ee7c83 100644 --- a/language-server/language-server-api/.js/src/main/scala/aqua/lsp/OutputTypes.scala +++ b/language-server/language-server-api/.js/src/main/scala/aqua/lsp/OutputTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.parser.lift.FileSpan diff --git a/language-server/language-server-api/.js/src/main/scala/aqua/lsp/ResultHelper.scala b/language-server/language-server-api/.js/src/main/scala/aqua/lsp/ResultHelper.scala index 252d3c06..92a1829e 100644 --- a/language-server/language-server-api/.js/src/main/scala/aqua/lsp/ResultHelper.scala +++ b/language-server/language-server-api/.js/src/main/scala/aqua/lsp/ResultHelper.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.compiler.AquaError.{ParserError as AquaParserError, *} diff --git a/language-server/language-server-api/.js/src/main/scala/aqua/lsp/TypeJs.scala b/language-server/language-server-api/.js/src/main/scala/aqua/lsp/TypeJs.scala index d20d4f3c..e1856794 100644 --- a/language-server/language-server-api/.js/src/main/scala/aqua/lsp/TypeJs.scala +++ b/language-server/language-server-api/.js/src/main/scala/aqua/lsp/TypeJs.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.types.* diff --git a/language-server/language-server-api/.jvm/src/main/scala/aqua/lsp/Test.scala b/language-server/language-server-api/.jvm/src/main/scala/aqua/lsp/Test.scala index c5eb9ebc..4c6f5169 100644 --- a/language-server/language-server-api/.jvm/src/main/scala/aqua/lsp/Test.scala +++ b/language-server/language-server-api/.jvm/src/main/scala/aqua/lsp/Test.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.compiler.AquaCompilerConf diff --git a/language-server/language-server-api/src/main/scala/aqua/lsp/LSPCompiler.scala b/language-server/language-server-api/src/main/scala/aqua/lsp/LSPCompiler.scala index b0f715b7..0bd6d024 100644 --- a/language-server/language-server-api/src/main/scala/aqua/lsp/LSPCompiler.scala +++ b/language-server/language-server-api/src/main/scala/aqua/lsp/LSPCompiler.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.compiler.{AquaCompiler, AquaCompilerConf, AquaError, AquaSources} diff --git a/language-server/language-server-api/src/main/scala/aqua/lsp/LocationsInterpreter.scala b/language-server/language-server-api/src/main/scala/aqua/lsp/LocationsInterpreter.scala index 2ddacff3..c0378b2c 100644 --- a/language-server/language-server-api/src/main/scala/aqua/lsp/LocationsInterpreter.scala +++ b/language-server/language-server-api/src/main/scala/aqua/lsp/LocationsInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.parser.lexer.Token diff --git a/language-server/language-server-api/src/main/scala/aqua/lsp/LspContext.scala b/language-server/language-server-api/src/main/scala/aqua/lsp/LspContext.scala index 4cc82d42..9ecf3890 100644 --- a/language-server/language-server-api/src/main/scala/aqua/lsp/LspContext.scala +++ b/language-server/language-server-api/src/main/scala/aqua/lsp/LspContext.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.helpers.data.PName diff --git a/language-server/language-server-api/src/main/scala/aqua/lsp/LspSemantics.scala b/language-server/language-server-api/src/main/scala/aqua/lsp/LspSemantics.scala index 326c8ea4..cdc2f7ab 100644 --- a/language-server/language-server-api/src/main/scala/aqua/lsp/LspSemantics.scala +++ b/language-server/language-server-api/src/main/scala/aqua/lsp/LspSemantics.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.parser.Ast diff --git a/language-server/language-server-api/src/main/scala/aqua/lsp/TokenImportPath.scala b/language-server/language-server-api/src/main/scala/aqua/lsp/TokenImportPath.scala index 2b00ba83..d65d470d 100644 --- a/language-server/language-server-api/src/main/scala/aqua/lsp/TokenImportPath.scala +++ b/language-server/language-server-api/src/main/scala/aqua/lsp/TokenImportPath.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.helpers.ext.Extension diff --git a/language-server/language-server-api/src/test/scala/aqua/lsp/AquaLSPSpec.scala b/language-server/language-server-api/src/test/scala/aqua/lsp/AquaLSPSpec.scala index b570f697..06f4241e 100644 --- a/language-server/language-server-api/src/test/scala/aqua/lsp/AquaLSPSpec.scala +++ b/language-server/language-server-api/src/test/scala/aqua/lsp/AquaLSPSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.SpanParser diff --git a/language-server/language-server-api/src/test/scala/aqua/lsp/FileLSPSpec.scala b/language-server/language-server-api/src/test/scala/aqua/lsp/FileLSPSpec.scala index f176f972..455e24c0 100644 --- a/language-server/language-server-api/src/test/scala/aqua/lsp/FileLSPSpec.scala +++ b/language-server/language-server-api/src/test/scala/aqua/lsp/FileLSPSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp import aqua.SpanParser diff --git a/language-server/language-server-api/src/test/scala/aqua/lsp/Utils.scala b/language-server/language-server-api/src/test/scala/aqua/lsp/Utils.scala index 72f8a2d3..5e4a5b83 100644 --- a/language-server/language-server-api/src/test/scala/aqua/lsp/Utils.scala +++ b/language-server/language-server-api/src/test/scala/aqua/lsp/Utils.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.lsp object Utils { diff --git a/language-server/language-server-npm/aqua-lsp-api.d.ts b/language-server/language-server-npm/aqua-lsp-api.d.ts index 02ec0e30..18b47556 100644 --- a/language-server/language-server-npm/aqua-lsp-api.d.ts +++ b/language-server/language-server-npm/aqua-lsp-api.d.ts @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + export interface ScalarType { name: string, tag: "scalar" diff --git a/language-server/language-server-npm/package.json b/language-server/language-server-npm/package.json index b04557c7..ab970f07 100644 --- a/language-server/language-server-npm/package.json +++ b/language-server/language-server-npm/package.json @@ -16,7 +16,7 @@ "fluence" ], "author": "Fluence Labs", - "license": "Apache-2.0", + "license": "AGPL-3.0", "bugs": { "url": "https://github.com/fluencelabs/aqua/issues" }, diff --git a/linker/src/main/scala/aqua/linker/AquaModule.scala b/linker/src/main/scala/aqua/linker/AquaModule.scala index 243faeec..d4060c9f 100644 --- a/linker/src/main/scala/aqua/linker/AquaModule.scala +++ b/linker/src/main/scala/aqua/linker/AquaModule.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.linker case class AquaModule[I, E, T](id: I, imports: Map[String, I], dependsOn: Map[I, E], body: T) diff --git a/linker/src/main/scala/aqua/linker/Linker.scala b/linker/src/main/scala/aqua/linker/Linker.scala index 82d65195..e2a77a82 100644 --- a/linker/src/main/scala/aqua/linker/Linker.scala +++ b/linker/src/main/scala/aqua/linker/Linker.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.linker import aqua.errors.Errors.internalError diff --git a/linker/src/main/scala/aqua/linker/Modules.scala b/linker/src/main/scala/aqua/linker/Modules.scala index 35a48159..1615062b 100644 --- a/linker/src/main/scala/aqua/linker/Modules.scala +++ b/linker/src/main/scala/aqua/linker/Modules.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.linker import cats.Foldable diff --git a/linker/src/test/scala/aqua/linker/LinkerSpec.scala b/linker/src/test/scala/aqua/linker/LinkerSpec.scala index 09d8b8d2..3a7282ef 100644 --- a/linker/src/test/scala/aqua/linker/LinkerSpec.scala +++ b/linker/src/test/scala/aqua/linker/LinkerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.linker import cats.Id diff --git a/model/inline/src/main/scala/aqua/model/inline/ArrowInliner.scala b/model/inline/src/main/scala/aqua/model/inline/ArrowInliner.scala index 3385fb78..10962179 100644 --- a/model/inline/src/main/scala/aqua/model/inline/ArrowInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/ArrowInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/Inline.scala b/model/inline/src/main/scala/aqua/model/inline/Inline.scala index a045c37c..74317061 100644 --- a/model/inline/src/main/scala/aqua/model/inline/Inline.scala +++ b/model/inline/src/main/scala/aqua/model/inline/Inline.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.{EmptyModel, OpModel, ParModel, SeqModel} diff --git a/model/inline/src/main/scala/aqua/model/inline/MakeStructRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/MakeStructRawInliner.scala index baa59d2d..842a688f 100644 --- a/model/inline/src/main/scala/aqua/model/inline/MakeStructRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/MakeStructRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.* diff --git a/model/inline/src/main/scala/aqua/model/inline/RawValueInliner.scala b/model/inline/src/main/scala/aqua/model/inline/RawValueInliner.scala index 63d4549c..40bb331e 100644 --- a/model/inline/src/main/scala/aqua/model/inline/RawValueInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/RawValueInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.* diff --git a/model/inline/src/main/scala/aqua/model/inline/TagInliner.scala b/model/inline/src/main/scala/aqua/model/inline/TagInliner.scala index b69b1e12..b33bf935 100644 --- a/model/inline/src/main/scala/aqua/model/inline/TagInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/TagInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyBinaryOpRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyBinaryOpRawInliner.scala index b52ceb0f..749315e5 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyBinaryOpRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyBinaryOpRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyFunctorRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyFunctorRawInliner.scala index d4ad9e1d..000a940c 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyFunctorRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyFunctorRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.model.inline.Inline diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyIntoCopyRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyIntoCopyRawInliner.scala index 144e5ae2..c85f9d22 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyIntoCopyRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyIntoCopyRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyPropertiesRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyPropertiesRawInliner.scala index 0c4002b1..098979c8 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyPropertiesRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyPropertiesRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyStreamMapRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyStreamMapRawInliner.scala index 3edbac18..e24dd472 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyStreamMapRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyStreamMapRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyUnaryOpRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyUnaryOpRawInliner.scala index 2b128c88..8cd6a14c 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/ApplyUnaryOpRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/ApplyUnaryOpRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.model.* diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/CallArrowRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/CallArrowRawInliner.scala index d88e1759..27c5ff2c 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/CallArrowRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/CallArrowRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/CallServiceRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/CallServiceRawInliner.scala index e723a442..4cd8ff39 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/CallServiceRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/CallServiceRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.model.* diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/CollectionRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/CollectionRawInliner.scala index 538f674c..a4a87e8a 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/CollectionRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/CollectionRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.model.* diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/MakeAbilityRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/MakeAbilityRawInliner.scala index ea8ba244..433cfbcc 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/MakeAbilityRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/MakeAbilityRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.model.ValueModel.Ability diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/RawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/RawInliner.scala index ffeb10ad..06216bca 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/RawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/RawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.model.ValueModel diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/StreamGateInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/StreamGateInliner.scala index c6ef88e2..c35eca77 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/StreamGateInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/StreamGateInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/raw/StreamRawInliner.scala b/model/inline/src/main/scala/aqua/model/inline/raw/StreamRawInliner.scala index 50fb8470..254215f4 100644 --- a/model/inline/src/main/scala/aqua/model/inline/raw/StreamRawInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/raw/StreamRawInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.raw import aqua.model.* diff --git a/model/inline/src/main/scala/aqua/model/inline/state/Arrows.scala b/model/inline/src/main/scala/aqua/model/inline/state/Arrows.scala index e6fbf547..f887a553 100644 --- a/model/inline/src/main/scala/aqua/model/inline/state/Arrows.scala +++ b/model/inline/src/main/scala/aqua/model/inline/state/Arrows.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.state import aqua.model.ValueModel diff --git a/model/inline/src/main/scala/aqua/model/inline/state/Config.scala b/model/inline/src/main/scala/aqua/model/inline/state/Config.scala index 7fc5dd23..8fa09148 100644 --- a/model/inline/src/main/scala/aqua/model/inline/state/Config.scala +++ b/model/inline/src/main/scala/aqua/model/inline/state/Config.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.state import cats.data.{Reader, State} diff --git a/model/inline/src/main/scala/aqua/model/inline/state/Counter.scala b/model/inline/src/main/scala/aqua/model/inline/state/Counter.scala index 4a3126d7..1db54860 100644 --- a/model/inline/src/main/scala/aqua/model/inline/state/Counter.scala +++ b/model/inline/src/main/scala/aqua/model/inline/state/Counter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.state import cats.data.State diff --git a/model/inline/src/main/scala/aqua/model/inline/state/Exports.scala b/model/inline/src/main/scala/aqua/model/inline/state/Exports.scala index 561ff3fc..e16034c7 100644 --- a/model/inline/src/main/scala/aqua/model/inline/state/Exports.scala +++ b/model/inline/src/main/scala/aqua/model/inline/state/Exports.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.state import aqua.model.ValueModel.{Ability, MutableStream, Stream} diff --git a/model/inline/src/main/scala/aqua/model/inline/state/InliningState.scala b/model/inline/src/main/scala/aqua/model/inline/state/InliningState.scala index 3eed4c20..7e3266f0 100644 --- a/model/inline/src/main/scala/aqua/model/inline/state/InliningState.scala +++ b/model/inline/src/main/scala/aqua/model/inline/state/InliningState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.state import aqua.mangler.ManglerState diff --git a/model/inline/src/main/scala/aqua/model/inline/state/Mangler.scala b/model/inline/src/main/scala/aqua/model/inline/state/Mangler.scala index 3e3b4c86..6f29cf41 100644 --- a/model/inline/src/main/scala/aqua/model/inline/state/Mangler.scala +++ b/model/inline/src/main/scala/aqua/model/inline/state/Mangler.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.state import cats.data.State diff --git a/model/inline/src/main/scala/aqua/model/inline/state/Scoped.scala b/model/inline/src/main/scala/aqua/model/inline/state/Scoped.scala index e5889bab..4ca5e2c6 100644 --- a/model/inline/src/main/scala/aqua/model/inline/state/Scoped.scala +++ b/model/inline/src/main/scala/aqua/model/inline/state/Scoped.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.state import cats.data.State diff --git a/model/inline/src/main/scala/aqua/model/inline/tag/ForTagInliner.scala b/model/inline/src/main/scala/aqua/model/inline/tag/ForTagInliner.scala index 75bc9c89..dc0514b7 100644 --- a/model/inline/src/main/scala/aqua/model/inline/tag/ForTagInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/tag/ForTagInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.tag import aqua.errors.Errors.internalError diff --git a/model/inline/src/main/scala/aqua/model/inline/tag/IfTagInliner.scala b/model/inline/src/main/scala/aqua/model/inline/tag/IfTagInliner.scala index 9ff2b447..2a32eacc 100644 --- a/model/inline/src/main/scala/aqua/model/inline/tag/IfTagInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/tag/IfTagInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.tag import aqua.helpers.syntax.reader.* diff --git a/model/inline/src/main/scala/aqua/model/inline/tag/OnTagInliner.scala b/model/inline/src/main/scala/aqua/model/inline/tag/OnTagInliner.scala index ec09edae..53e787eb 100644 --- a/model/inline/src/main/scala/aqua/model/inline/tag/OnTagInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/tag/OnTagInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.tag import aqua.helpers.syntax.reader.* diff --git a/model/inline/src/main/scala/aqua/model/inline/tag/StreamRestrictions.scala b/model/inline/src/main/scala/aqua/model/inline/tag/StreamRestrictions.scala index dbed2f5b..e3697c59 100644 --- a/model/inline/src/main/scala/aqua/model/inline/tag/StreamRestrictions.scala +++ b/model/inline/src/main/scala/aqua/model/inline/tag/StreamRestrictions.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.tag import aqua.model.inline.state.{Arrows, Config, Exports, Mangler} diff --git a/model/inline/src/main/scala/aqua/model/inline/tag/TryTagInliner.scala b/model/inline/src/main/scala/aqua/model/inline/tag/TryTagInliner.scala index 1fa1ba9e..7639428c 100644 --- a/model/inline/src/main/scala/aqua/model/inline/tag/TryTagInliner.scala +++ b/model/inline/src/main/scala/aqua/model/inline/tag/TryTagInliner.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline.tag import aqua.model.inline.state.{Arrows, Config, Exports, Mangler} diff --git a/model/inline/src/test/scala/aqua/model/inline/ArrowInlinerSpec.scala b/model/inline/src/test/scala/aqua/model/inline/ArrowInlinerSpec.scala index 9e3d2f7d..4c7a9320 100644 --- a/model/inline/src/test/scala/aqua/model/inline/ArrowInlinerSpec.scala +++ b/model/inline/src/test/scala/aqua/model/inline/ArrowInlinerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.* diff --git a/model/inline/src/test/scala/aqua/model/inline/CollectionRawInlinerSpec.scala b/model/inline/src/test/scala/aqua/model/inline/CollectionRawInlinerSpec.scala index 55340d16..45c3346f 100644 --- a/model/inline/src/test/scala/aqua/model/inline/CollectionRawInlinerSpec.scala +++ b/model/inline/src/test/scala/aqua/model/inline/CollectionRawInlinerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.* diff --git a/model/inline/src/test/scala/aqua/model/inline/CopyInlinerSpec.scala b/model/inline/src/test/scala/aqua/model/inline/CopyInlinerSpec.scala index 844f144d..164550b1 100644 --- a/model/inline/src/test/scala/aqua/model/inline/CopyInlinerSpec.scala +++ b/model/inline/src/test/scala/aqua/model/inline/CopyInlinerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.* diff --git a/model/inline/src/test/scala/aqua/model/inline/MakeStructInlinerSpec.scala b/model/inline/src/test/scala/aqua/model/inline/MakeStructInlinerSpec.scala index 6ab85395..44e5250e 100644 --- a/model/inline/src/test/scala/aqua/model/inline/MakeStructInlinerSpec.scala +++ b/model/inline/src/test/scala/aqua/model/inline/MakeStructInlinerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.* diff --git a/model/inline/src/test/scala/aqua/model/inline/ManglerSpec.scala b/model/inline/src/test/scala/aqua/model/inline/ManglerSpec.scala index df17745f..cc21e6a6 100644 --- a/model/inline/src/test/scala/aqua/model/inline/ManglerSpec.scala +++ b/model/inline/src/test/scala/aqua/model/inline/ManglerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.mangler.ManglerState diff --git a/model/inline/src/test/scala/aqua/model/inline/ModelBuilder.scala b/model/inline/src/test/scala/aqua/model/inline/ModelBuilder.scala index 2d147c24..43c25e2e 100644 --- a/model/inline/src/test/scala/aqua/model/inline/ModelBuilder.scala +++ b/model/inline/src/test/scala/aqua/model/inline/ModelBuilder.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.{CallModel, CallServiceModel, LiteralModel, ValueModel, VarModel} diff --git a/model/inline/src/test/scala/aqua/model/inline/RawBuilder.scala b/model/inline/src/test/scala/aqua/model/inline/RawBuilder.scala index 67dae910..17dabe3a 100644 --- a/model/inline/src/test/scala/aqua/model/inline/RawBuilder.scala +++ b/model/inline/src/test/scala/aqua/model/inline/RawBuilder.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.raw.value.{ApplyBinaryOpRaw, ValueRaw} diff --git a/model/inline/src/test/scala/aqua/model/inline/RawValueInlinerSpec.scala b/model/inline/src/test/scala/aqua/model/inline/RawValueInlinerSpec.scala index f095b0f4..fef89214 100644 --- a/model/inline/src/test/scala/aqua/model/inline/RawValueInlinerSpec.scala +++ b/model/inline/src/test/scala/aqua/model/inline/RawValueInlinerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.mangler.ManglerState diff --git a/model/inline/src/test/scala/aqua/model/inline/TagInlinerSpec.scala b/model/inline/src/test/scala/aqua/model/inline/TagInlinerSpec.scala index a0a67a2c..0644f6f1 100644 --- a/model/inline/src/test/scala/aqua/model/inline/TagInlinerSpec.scala +++ b/model/inline/src/test/scala/aqua/model/inline/TagInlinerSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.inline import aqua.model.* diff --git a/model/raw/src/main/scala/aqua/raw/ConstantRaw.scala b/model/raw/src/main/scala/aqua/raw/ConstantRaw.scala index 0522273b..262eeac1 100644 --- a/model/raw/src/main/scala/aqua/raw/ConstantRaw.scala +++ b/model/raw/src/main/scala/aqua/raw/ConstantRaw.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw import aqua.raw.value.{ValueRaw, VarRaw} diff --git a/model/raw/src/main/scala/aqua/raw/ErroredPart.scala b/model/raw/src/main/scala/aqua/raw/ErroredPart.scala index b772ecf8..58adbf3e 100644 --- a/model/raw/src/main/scala/aqua/raw/ErroredPart.scala +++ b/model/raw/src/main/scala/aqua/raw/ErroredPart.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw import aqua.types.{BottomType, Type} diff --git a/model/raw/src/main/scala/aqua/raw/Raw.scala b/model/raw/src/main/scala/aqua/raw/Raw.scala index f6c5c9d8..ad3491ee 100644 --- a/model/raw/src/main/scala/aqua/raw/Raw.scala +++ b/model/raw/src/main/scala/aqua/raw/Raw.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw import aqua.raw.RawPart.contextPart diff --git a/model/raw/src/main/scala/aqua/raw/RawContext.scala b/model/raw/src/main/scala/aqua/raw/RawContext.scala index ff021c96..c8acc333 100644 --- a/model/raw/src/main/scala/aqua/raw/RawContext.scala +++ b/model/raw/src/main/scala/aqua/raw/RawContext.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw import aqua.helpers.data.PName diff --git a/model/raw/src/main/scala/aqua/raw/RawPart.scala b/model/raw/src/main/scala/aqua/raw/RawPart.scala index 005eb4ca..fe261305 100644 --- a/model/raw/src/main/scala/aqua/raw/RawPart.scala +++ b/model/raw/src/main/scala/aqua/raw/RawPart.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw import aqua.types.Type diff --git a/model/raw/src/main/scala/aqua/raw/ServiceRaw.scala b/model/raw/src/main/scala/aqua/raw/ServiceRaw.scala index 3685a11a..9cc70d72 100644 --- a/model/raw/src/main/scala/aqua/raw/ServiceRaw.scala +++ b/model/raw/src/main/scala/aqua/raw/ServiceRaw.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw import aqua.types.{ServiceType, Type} diff --git a/model/raw/src/main/scala/aqua/raw/TypeRaw.scala b/model/raw/src/main/scala/aqua/raw/TypeRaw.scala index 5bb556fe..80765078 100644 --- a/model/raw/src/main/scala/aqua/raw/TypeRaw.scala +++ b/model/raw/src/main/scala/aqua/raw/TypeRaw.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw import aqua.types.Type diff --git a/model/raw/src/main/scala/aqua/raw/arrow/ArrowRaw.scala b/model/raw/src/main/scala/aqua/raw/arrow/ArrowRaw.scala index 4216988c..630bb390 100644 --- a/model/raw/src/main/scala/aqua/raw/arrow/ArrowRaw.scala +++ b/model/raw/src/main/scala/aqua/raw/arrow/ArrowRaw.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.arrow import aqua.raw.ops.RawTag diff --git a/model/raw/src/main/scala/aqua/raw/arrow/FuncRaw.scala b/model/raw/src/main/scala/aqua/raw/arrow/FuncRaw.scala index 32566138..aaf45d92 100644 --- a/model/raw/src/main/scala/aqua/raw/arrow/FuncRaw.scala +++ b/model/raw/src/main/scala/aqua/raw/arrow/FuncRaw.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.arrow import aqua.raw.RawPart diff --git a/model/raw/src/main/scala/aqua/raw/ops/Call.scala b/model/raw/src/main/scala/aqua/raw/ops/Call.scala index cbbbafb0..ec3c8a74 100644 --- a/model/raw/src/main/scala/aqua/raw/ops/Call.scala +++ b/model/raw/src/main/scala/aqua/raw/ops/Call.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.ops import aqua.errors.Errors.internalError diff --git a/model/raw/src/main/scala/aqua/raw/ops/FuncOp.scala b/model/raw/src/main/scala/aqua/raw/ops/FuncOp.scala index 50fb6155..52727c2d 100644 --- a/model/raw/src/main/scala/aqua/raw/ops/FuncOp.scala +++ b/model/raw/src/main/scala/aqua/raw/ops/FuncOp.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.ops import aqua.raw.Raw diff --git a/model/raw/src/main/scala/aqua/raw/ops/RawTag.scala b/model/raw/src/main/scala/aqua/raw/ops/RawTag.scala index d447cd9c..76ba7a33 100644 --- a/model/raw/src/main/scala/aqua/raw/ops/RawTag.scala +++ b/model/raw/src/main/scala/aqua/raw/ops/RawTag.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.ops import aqua.raw.arrow.FuncRaw diff --git a/model/raw/src/main/scala/aqua/raw/ops/RawTagGivens.scala b/model/raw/src/main/scala/aqua/raw/ops/RawTagGivens.scala index ec519fb4..12a7f892 100644 --- a/model/raw/src/main/scala/aqua/raw/ops/RawTagGivens.scala +++ b/model/raw/src/main/scala/aqua/raw/ops/RawTagGivens.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.ops import aqua.raw.value.{LiteralRaw, ValueRaw, VarRaw} diff --git a/model/raw/src/main/scala/aqua/raw/value/Optimization.scala b/model/raw/src/main/scala/aqua/raw/value/Optimization.scala index 412de4cf..0ba16f7c 100644 --- a/model/raw/src/main/scala/aqua/raw/value/Optimization.scala +++ b/model/raw/src/main/scala/aqua/raw/value/Optimization.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.value import cats.Eval diff --git a/model/raw/src/main/scala/aqua/raw/value/PropertyRaw.scala b/model/raw/src/main/scala/aqua/raw/value/PropertyRaw.scala index 1be913da..8070c243 100644 --- a/model/raw/src/main/scala/aqua/raw/value/PropertyRaw.scala +++ b/model/raw/src/main/scala/aqua/raw/value/PropertyRaw.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.value import aqua.types.{ArrowType, NilType, StructType, Type} diff --git a/model/raw/src/main/scala/aqua/raw/value/ValueRaw.scala b/model/raw/src/main/scala/aqua/raw/value/ValueRaw.scala index a082ed72..46ae26b9 100644 --- a/model/raw/src/main/scala/aqua/raw/value/ValueRaw.scala +++ b/model/raw/src/main/scala/aqua/raw/value/ValueRaw.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.raw.value import aqua.errors.Errors.internalError diff --git a/model/res/src/main/scala/aqua/res/AquaRes.scala b/model/res/src/main/scala/aqua/res/AquaRes.scala index cf92996a..d4205e6b 100644 --- a/model/res/src/main/scala/aqua/res/AquaRes.scala +++ b/model/res/src/main/scala/aqua/res/AquaRes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.res import cats.data.Chain diff --git a/model/res/src/main/scala/aqua/res/CallRes.scala b/model/res/src/main/scala/aqua/res/CallRes.scala index c19ada0a..3504a8fc 100644 --- a/model/res/src/main/scala/aqua/res/CallRes.scala +++ b/model/res/src/main/scala/aqua/res/CallRes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.res import aqua.model.{CallModel, ValueModel} diff --git a/model/res/src/main/scala/aqua/res/FuncRes.scala b/model/res/src/main/scala/aqua/res/FuncRes.scala index 645683ec..f71d2d9a 100644 --- a/model/res/src/main/scala/aqua/res/FuncRes.scala +++ b/model/res/src/main/scala/aqua/res/FuncRes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.res import aqua.types.{ArrowType, ProductType, Type} diff --git a/model/res/src/main/scala/aqua/res/MakeRes.scala b/model/res/src/main/scala/aqua/res/MakeRes.scala index 59bba966..400b9649 100644 --- a/model/res/src/main/scala/aqua/res/MakeRes.scala +++ b/model/res/src/main/scala/aqua/res/MakeRes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.res import aqua.model.* diff --git a/model/res/src/main/scala/aqua/res/ResolvedOp.scala b/model/res/src/main/scala/aqua/res/ResolvedOp.scala index 22ad3bb9..148c3100 100644 --- a/model/res/src/main/scala/aqua/res/ResolvedOp.scala +++ b/model/res/src/main/scala/aqua/res/ResolvedOp.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.res import aqua.model.{CallModel, ForModel, LiteralModel, ValueModel, VarModel} diff --git a/model/res/src/main/scala/aqua/res/ServiceRes.scala b/model/res/src/main/scala/aqua/res/ServiceRes.scala index e46bca5c..bc543b37 100644 --- a/model/res/src/main/scala/aqua/res/ServiceRes.scala +++ b/model/res/src/main/scala/aqua/res/ServiceRes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.res import aqua.model.{LiteralModel, ServiceModel} diff --git a/model/res/src/test/scala/aqua/res/ResBuilder.scala b/model/res/src/test/scala/aqua/res/ResBuilder.scala index 0b173345..ae7ea2e3 100644 --- a/model/res/src/test/scala/aqua/res/ResBuilder.scala +++ b/model/res/src/test/scala/aqua/res/ResBuilder.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.res import aqua.model.* diff --git a/model/src/main/scala/aqua/model/AquaContext.scala b/model/src/main/scala/aqua/model/AquaContext.scala index 135374fc..833fd9c9 100644 --- a/model/src/main/scala/aqua/model/AquaContext.scala +++ b/model/src/main/scala/aqua/model/AquaContext.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model import aqua.raw.arrow.FuncRaw diff --git a/model/src/main/scala/aqua/model/ArgsCall.scala b/model/src/main/scala/aqua/model/ArgsCall.scala index 49a934f9..b7bf09aa 100644 --- a/model/src/main/scala/aqua/model/ArgsCall.scala +++ b/model/src/main/scala/aqua/model/ArgsCall.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model import aqua.model.ValueModel.{Ability, MutableStream} diff --git a/model/src/main/scala/aqua/model/CallModel.scala b/model/src/main/scala/aqua/model/CallModel.scala index 013b590e..51ebf564 100644 --- a/model/src/main/scala/aqua/model/CallModel.scala +++ b/model/src/main/scala/aqua/model/CallModel.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model import aqua.model.ValueModel.{Ability, Arrow} diff --git a/model/src/main/scala/aqua/model/FuncArrow.scala b/model/src/main/scala/aqua/model/FuncArrow.scala index c2be05af..bf2a9510 100644 --- a/model/src/main/scala/aqua/model/FuncArrow.scala +++ b/model/src/main/scala/aqua/model/FuncArrow.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model import aqua.raw.arrow.FuncRaw diff --git a/model/src/main/scala/aqua/model/OpModel.scala b/model/src/main/scala/aqua/model/OpModel.scala index 3ca93ccc..cd851f12 100644 --- a/model/src/main/scala/aqua/model/OpModel.scala +++ b/model/src/main/scala/aqua/model/OpModel.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model import aqua.model.OpModel.Tree diff --git a/model/src/main/scala/aqua/model/ServiceModel.scala b/model/src/main/scala/aqua/model/ServiceModel.scala index 526256a0..5c0ee960 100644 --- a/model/src/main/scala/aqua/model/ServiceModel.scala +++ b/model/src/main/scala/aqua/model/ServiceModel.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model import aqua.types.ServiceType diff --git a/model/src/main/scala/aqua/model/ValueModel.scala b/model/src/main/scala/aqua/model/ValueModel.scala index 94d46001..a8ce539c 100644 --- a/model/src/main/scala/aqua/model/ValueModel.scala +++ b/model/src/main/scala/aqua/model/ValueModel.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model import aqua.errors.Errors.internalError diff --git a/model/transform/src/main/scala/aqua/model/transform/Transform.scala b/model/transform/src/main/scala/aqua/model/transform/Transform.scala index 875fdfb0..79fb79dc 100644 --- a/model/transform/src/main/scala/aqua/model/transform/Transform.scala +++ b/model/transform/src/main/scala/aqua/model/transform/Transform.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform import aqua.model.* diff --git a/model/transform/src/main/scala/aqua/model/transform/TransformConfig.scala b/model/transform/src/main/scala/aqua/model/transform/TransformConfig.scala index 09c1b086..c76a874e 100644 --- a/model/transform/src/main/scala/aqua/model/transform/TransformConfig.scala +++ b/model/transform/src/main/scala/aqua/model/transform/TransformConfig.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform import aqua.model.{AquaContext, LiteralModel, ValueModel, VarModel} diff --git a/model/transform/src/main/scala/aqua/model/transform/cursor/ChainCursor.scala b/model/transform/src/main/scala/aqua/model/transform/cursor/ChainCursor.scala index 1b2c994e..deab12ec 100644 --- a/model/transform/src/main/scala/aqua/model/transform/cursor/ChainCursor.scala +++ b/model/transform/src/main/scala/aqua/model/transform/cursor/ChainCursor.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.cursor import cats.data.{Chain, NonEmptyList} diff --git a/model/transform/src/main/scala/aqua/model/transform/cursor/ChainZipper.scala b/model/transform/src/main/scala/aqua/model/transform/cursor/ChainZipper.scala index 1139eb3b..7b265683 100644 --- a/model/transform/src/main/scala/aqua/model/transform/cursor/ChainZipper.scala +++ b/model/transform/src/main/scala/aqua/model/transform/cursor/ChainZipper.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.cursor import cats.data.Chain diff --git a/model/transform/src/main/scala/aqua/model/transform/funcop/OpTransform.scala b/model/transform/src/main/scala/aqua/model/transform/funcop/OpTransform.scala index 2c913005..0e1a9e06 100644 --- a/model/transform/src/main/scala/aqua/model/transform/funcop/OpTransform.scala +++ b/model/transform/src/main/scala/aqua/model/transform/funcop/OpTransform.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.funcop import aqua.model.OpModel diff --git a/model/transform/src/main/scala/aqua/model/transform/funcop/Tracing.scala b/model/transform/src/main/scala/aqua/model/transform/funcop/Tracing.scala index 79815fed..aae06a0f 100644 --- a/model/transform/src/main/scala/aqua/model/transform/funcop/Tracing.scala +++ b/model/transform/src/main/scala/aqua/model/transform/funcop/Tracing.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.funcop import aqua.model.* diff --git a/model/transform/src/main/scala/aqua/model/transform/pre/ArgsProvider.scala b/model/transform/src/main/scala/aqua/model/transform/pre/ArgsProvider.scala index a971dece..c1bbc4e5 100644 --- a/model/transform/src/main/scala/aqua/model/transform/pre/ArgsProvider.scala +++ b/model/transform/src/main/scala/aqua/model/transform/pre/ArgsProvider.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.pre import aqua.raw.ops.* diff --git a/model/transform/src/main/scala/aqua/model/transform/pre/ErrorHandler.scala b/model/transform/src/main/scala/aqua/model/transform/pre/ErrorHandler.scala index 2505f7c7..4e0744d4 100644 --- a/model/transform/src/main/scala/aqua/model/transform/pre/ErrorHandler.scala +++ b/model/transform/src/main/scala/aqua/model/transform/pre/ErrorHandler.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.pre import aqua.raw.value.{LiteralRaw, ValueRaw, VarRaw} diff --git a/model/transform/src/main/scala/aqua/model/transform/pre/FuncPreTransformer.scala b/model/transform/src/main/scala/aqua/model/transform/pre/FuncPreTransformer.scala index 2abe7840..a8b506a5 100644 --- a/model/transform/src/main/scala/aqua/model/transform/pre/FuncPreTransformer.scala +++ b/model/transform/src/main/scala/aqua/model/transform/pre/FuncPreTransformer.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.pre import aqua.model.{ArgsCall, FuncArrow} diff --git a/model/transform/src/main/scala/aqua/model/transform/pre/InitPeerCallable.scala b/model/transform/src/main/scala/aqua/model/transform/pre/InitPeerCallable.scala index f2f2f165..15a74911 100644 --- a/model/transform/src/main/scala/aqua/model/transform/pre/InitPeerCallable.scala +++ b/model/transform/src/main/scala/aqua/model/transform/pre/InitPeerCallable.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.pre import aqua.model.OpModel.Tree diff --git a/model/transform/src/main/scala/aqua/model/transform/pre/PreTransform.scala b/model/transform/src/main/scala/aqua/model/transform/pre/PreTransform.scala index 2abbdf53..35525700 100644 --- a/model/transform/src/main/scala/aqua/model/transform/pre/PreTransform.scala +++ b/model/transform/src/main/scala/aqua/model/transform/pre/PreTransform.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.pre import aqua.raw.ops.RawTag diff --git a/model/transform/src/main/scala/aqua/model/transform/pre/ResultsHandler.scala b/model/transform/src/main/scala/aqua/model/transform/pre/ResultsHandler.scala index 643cddf8..6ecd2106 100644 --- a/model/transform/src/main/scala/aqua/model/transform/pre/ResultsHandler.scala +++ b/model/transform/src/main/scala/aqua/model/transform/pre/ResultsHandler.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.pre import aqua.raw.ops.{Call, CallArrowRawTag, RawTag} diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/OpModelTreeCursor.scala b/model/transform/src/main/scala/aqua/model/transform/topology/OpModelTreeCursor.scala index 2e5f8dcc..7500e0a4 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/OpModelTreeCursor.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/OpModelTreeCursor.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology import aqua.model.* diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/PathFinder.scala b/model/transform/src/main/scala/aqua/model/transform/topology/PathFinder.scala index 390a3a4c..81d27934 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/PathFinder.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/PathFinder.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology import aqua.model.ValueModel diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/Topology.scala b/model/transform/src/main/scala/aqua/model/transform/topology/Topology.scala index 7296872d..da1d4314 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/Topology.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/Topology.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology import aqua.errors.Errors.internalError diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/TopologyPath.scala b/model/transform/src/main/scala/aqua/model/transform/topology/TopologyPath.scala index da3edb73..09ff5482 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/TopologyPath.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/TopologyPath.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology import aqua.model.OnModel diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/After.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/After.scala index 5ddcfb87..643f6629 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/After.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/After.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.{PathFinder, Topology} diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Before.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Before.scala index ea2f64df..88fa35d1 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Before.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Before.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Begins.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Begins.scala index 9bf9e043..4917a786 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Begins.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Begins.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.{PathFinder, Topology, TopologyPath} diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Default.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Default.scala index 57581f6a..650bff4d 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Default.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Default.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy object Default extends Before with Begins with Ends with After { diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Ends.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Ends.scala index 54b988d9..bfcf66e4 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Ends.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Ends.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.{PathFinder, Topology} diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Fail.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Fail.scala index 7a75891a..c4ac3f87 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Fail.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Fail.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/For.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/For.scala index 67779ae3..ebdb5762 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/For.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/For.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/ParGroup.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/ParGroup.scala index bf835672..2a5041b6 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/ParGroup.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/ParGroup.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/ParGroupBranch.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/ParGroupBranch.scala index 3fce1966..6d727f7f 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/ParGroupBranch.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/ParGroupBranch.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Root.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Root.scala index 3ba15974..e5bfee6b 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Root.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/Root.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqGroup.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqGroup.scala index af217edf..53f9dcf9 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqGroup.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqGroup.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqGroupBranch.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqGroupBranch.scala index 7ff40b7d..63888cc7 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqGroupBranch.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqGroupBranch.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqNext.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqNext.scala index d1e6d989..9a33a163 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqNext.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/SeqNext.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/XorBranch.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/XorBranch.scala index b1615b08..0935c0ea 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/XorBranch.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/XorBranch.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/XorGroup.scala b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/XorGroup.scala index 4f8677e9..d0324eb2 100644 --- a/model/transform/src/main/scala/aqua/model/transform/topology/strategy/XorGroup.scala +++ b/model/transform/src/main/scala/aqua/model/transform/topology/strategy/XorGroup.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology.strategy import aqua.model.transform.topology.Topology diff --git a/model/transform/src/test/scala/aqua/model/transform/ModelBuilder.scala b/model/transform/src/test/scala/aqua/model/transform/ModelBuilder.scala index e6fa26c6..6d58d79d 100644 --- a/model/transform/src/test/scala/aqua/model/transform/ModelBuilder.scala +++ b/model/transform/src/test/scala/aqua/model/transform/ModelBuilder.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform import aqua.model.* diff --git a/model/transform/src/test/scala/aqua/model/transform/TransformSpec.scala b/model/transform/src/test/scala/aqua/model/transform/TransformSpec.scala index 879104da..5485e328 100644 --- a/model/transform/src/test/scala/aqua/model/transform/TransformSpec.scala +++ b/model/transform/src/test/scala/aqua/model/transform/TransformSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform import aqua.model.transform.ModelBuilder diff --git a/model/transform/src/test/scala/aqua/model/transform/topology/OpModelTreeCursorSpec.scala b/model/transform/src/test/scala/aqua/model/transform/topology/OpModelTreeCursorSpec.scala index 162bb2a8..d3de850d 100644 --- a/model/transform/src/test/scala/aqua/model/transform/topology/OpModelTreeCursorSpec.scala +++ b/model/transform/src/test/scala/aqua/model/transform/topology/OpModelTreeCursorSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology import aqua.model.transform.ModelBuilder diff --git a/model/transform/src/test/scala/aqua/model/transform/topology/PathFinderSpec.scala b/model/transform/src/test/scala/aqua/model/transform/topology/PathFinderSpec.scala index 3b317620..27b36e06 100644 --- a/model/transform/src/test/scala/aqua/model/transform/topology/PathFinderSpec.scala +++ b/model/transform/src/test/scala/aqua/model/transform/topology/PathFinderSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology import aqua.model.* diff --git a/model/transform/src/test/scala/aqua/model/transform/topology/TopologySpec.scala b/model/transform/src/test/scala/aqua/model/transform/topology/TopologySpec.scala index 632d3fd1..9aab0c81 100644 --- a/model/transform/src/test/scala/aqua/model/transform/topology/TopologySpec.scala +++ b/model/transform/src/test/scala/aqua/model/transform/topology/TopologySpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.model.transform.topology import aqua.model.* diff --git a/model/tree/src/main/scala/aqua/tree/TreeNode.scala b/model/tree/src/main/scala/aqua/tree/TreeNode.scala index 9656afab..0f101cec 100644 --- a/model/tree/src/main/scala/aqua/tree/TreeNode.scala +++ b/model/tree/src/main/scala/aqua/tree/TreeNode.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.tree import cats.data.Chain diff --git a/model/tree/src/main/scala/aqua/tree/TreeNodeCompanion.scala b/model/tree/src/main/scala/aqua/tree/TreeNodeCompanion.scala index 7bc42214..cced9db1 100644 --- a/model/tree/src/main/scala/aqua/tree/TreeNodeCompanion.scala +++ b/model/tree/src/main/scala/aqua/tree/TreeNodeCompanion.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.tree import aqua.helpers.tree.Tree diff --git a/parser/src/main/scala/aqua/parser/Ast.scala b/parser/src/main/scala/aqua/parser/Ast.scala index 727c0c85..b0f296ac 100644 --- a/parser/src/main/scala/aqua/parser/Ast.scala +++ b/parser/src/main/scala/aqua/parser/Ast.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.helpers.tree.Tree diff --git a/parser/src/main/scala/aqua/parser/Expr.scala b/parser/src/main/scala/aqua/parser/Expr.scala index 54bfd5a8..74af994a 100644 --- a/parser/src/main/scala/aqua/parser/Expr.scala +++ b/parser/src/main/scala/aqua/parser/Expr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.parser.Ast.Tree diff --git a/parser/src/main/scala/aqua/parser/ListToTreeConverter.scala b/parser/src/main/scala/aqua/parser/ListToTreeConverter.scala index d356e681..cab03f1d 100644 --- a/parser/src/main/scala/aqua/parser/ListToTreeConverter.scala +++ b/parser/src/main/scala/aqua/parser/ListToTreeConverter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.parser.Ast.Tree diff --git a/parser/src/main/scala/aqua/parser/Parser.scala b/parser/src/main/scala/aqua/parser/Parser.scala index feb94a0a..cd741dad 100644 --- a/parser/src/main/scala/aqua/parser/Parser.scala +++ b/parser/src/main/scala/aqua/parser/Parser.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.parser.expr.RootExpr diff --git a/parser/src/main/scala/aqua/parser/ParserError.scala b/parser/src/main/scala/aqua/parser/ParserError.scala index b6f585dc..9481c0a7 100644 --- a/parser/src/main/scala/aqua/parser/ParserError.scala +++ b/parser/src/main/scala/aqua/parser/ParserError.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import cats.parse.Parser diff --git a/parser/src/main/scala/aqua/parser/expr/AbilityExpr.scala b/parser/src/main/scala/aqua/parser/expr/AbilityExpr.scala index fa33bacb..c64b54dc 100644 --- a/parser/src/main/scala/aqua/parser/expr/AbilityExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/AbilityExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/AliasExpr.scala b/parser/src/main/scala/aqua/parser/expr/AliasExpr.scala index 1fe257a3..509695db 100644 --- a/parser/src/main/scala/aqua/parser/expr/AliasExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/AliasExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/ArrowTypeExpr.scala b/parser/src/main/scala/aqua/parser/expr/ArrowTypeExpr.scala index 44f23f29..5b0c0ba4 100644 --- a/parser/src/main/scala/aqua/parser/expr/ArrowTypeExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/ArrowTypeExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/ConstantExpr.scala b/parser/src/main/scala/aqua/parser/expr/ConstantExpr.scala index 5396c37b..65aeb5fb 100644 --- a/parser/src/main/scala/aqua/parser/expr/ConstantExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/ConstantExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/DataStructExpr.scala b/parser/src/main/scala/aqua/parser/expr/DataStructExpr.scala index 81904b61..9a816b11 100644 --- a/parser/src/main/scala/aqua/parser/expr/DataStructExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/DataStructExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/FieldTypeExpr.scala b/parser/src/main/scala/aqua/parser/expr/FieldTypeExpr.scala index 25477c8d..5dc6a648 100644 --- a/parser/src/main/scala/aqua/parser/expr/FieldTypeExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/FieldTypeExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/FuncExpr.scala b/parser/src/main/scala/aqua/parser/expr/FuncExpr.scala index 7d2ceb24..07889d6c 100644 --- a/parser/src/main/scala/aqua/parser/expr/FuncExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/FuncExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.expr.func.ArrowExpr diff --git a/parser/src/main/scala/aqua/parser/expr/RootExpr.scala b/parser/src/main/scala/aqua/parser/expr/RootExpr.scala index 4b92b5fe..5abc43d0 100644 --- a/parser/src/main/scala/aqua/parser/expr/RootExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/RootExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.Ast.Tree diff --git a/parser/src/main/scala/aqua/parser/expr/ServiceExpr.scala b/parser/src/main/scala/aqua/parser/expr/ServiceExpr.scala index bce960bf..95f1b855 100644 --- a/parser/src/main/scala/aqua/parser/expr/ServiceExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/ServiceExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/ArrowExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/ArrowExpr.scala index 7f1ea934..3942b20b 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/ArrowExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/ArrowExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.lexer.{ArrowTypeToken, BasicTypeToken, NamedTypeToken, TypeToken, ValueToken} diff --git a/parser/src/main/scala/aqua/parser/expr/func/AssignmentExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/AssignmentExpr.scala index 3f1e2a92..05471ac5 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/AssignmentExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/AssignmentExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/CallArrowExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/CallArrowExpr.scala index 735beb79..d2fab83e 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/CallArrowExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/CallArrowExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/CatchExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/CatchExpr.scala index 16164790..853bbffc 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/CatchExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/CatchExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/ClosureExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/ClosureExpr.scala index 0360bd72..fa9a450d 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/ClosureExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/ClosureExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.expr.func.ArrowExpr diff --git a/parser/src/main/scala/aqua/parser/expr/func/CoExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/CoExpr.scala index eaec6d4a..6d27e7cb 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/CoExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/CoExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/DeclareStreamExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/DeclareStreamExpr.scala index ee5bf7f0..22978473 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/DeclareStreamExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/DeclareStreamExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/ElseOtherwiseExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/ElseOtherwiseExpr.scala index 37bfbbfd..6f6d5abe 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/ElseOtherwiseExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/ElseOtherwiseExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/ForExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/ForExpr.scala index 9d5edf5d..923eb1e3 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/ForExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/ForExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/IfExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/IfExpr.scala index 1390719c..9c5dbc6b 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/IfExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/IfExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/JoinExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/JoinExpr.scala index bc8163be..9b7c92b1 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/JoinExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/JoinExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/OnExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/OnExpr.scala index 0a56b909..a1016d26 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/OnExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/OnExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/ParExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/ParExpr.scala index 1c48a363..803e0e2d 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/ParExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/ParExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/ParSeqExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/ParSeqExpr.scala index 22273855..19697d74 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/ParSeqExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/ParSeqExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/PushToStreamExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/PushToStreamExpr.scala index 102f45d2..9a2ebddf 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/PushToStreamExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/PushToStreamExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/ReturnExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/ReturnExpr.scala index 36e101fc..209416f1 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/ReturnExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/ReturnExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/ServiceIdExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/ServiceIdExpr.scala index c710fbb6..4fa154e2 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/ServiceIdExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/ServiceIdExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/expr/func/TryExpr.scala b/parser/src/main/scala/aqua/parser/expr/func/TryExpr.scala index a5874c0a..8cfeb21f 100644 --- a/parser/src/main/scala/aqua/parser/expr/func/TryExpr.scala +++ b/parser/src/main/scala/aqua/parser/expr/func/TryExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.expr.func import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/head/ExportExpr.scala b/parser/src/main/scala/aqua/parser/head/ExportExpr.scala index 854dacc4..abcccef5 100644 --- a/parser/src/main/scala/aqua/parser/head/ExportExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/ExportExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.lexer.Token.* diff --git a/parser/src/main/scala/aqua/parser/head/FilenameExpr.scala b/parser/src/main/scala/aqua/parser/head/FilenameExpr.scala index ae7c8f71..46d91e35 100644 --- a/parser/src/main/scala/aqua/parser/head/FilenameExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/FilenameExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.helpers.ext.Extension diff --git a/parser/src/main/scala/aqua/parser/head/FromExpr.scala b/parser/src/main/scala/aqua/parser/head/FromExpr.scala index a39ef048..863a1c9f 100644 --- a/parser/src/main/scala/aqua/parser/head/FromExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/FromExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.lexer.Token.* diff --git a/parser/src/main/scala/aqua/parser/head/Header.scala b/parser/src/main/scala/aqua/parser/head/Header.scala index 67bc71a3..fa818933 100644 --- a/parser/src/main/scala/aqua/parser/head/Header.scala +++ b/parser/src/main/scala/aqua/parser/head/Header.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.Ast diff --git a/parser/src/main/scala/aqua/parser/head/HeaderExpr.scala b/parser/src/main/scala/aqua/parser/head/HeaderExpr.scala index 851fb479..b0c34e6b 100644 --- a/parser/src/main/scala/aqua/parser/head/HeaderExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/HeaderExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.Ast diff --git a/parser/src/main/scala/aqua/parser/head/ImportExpr.scala b/parser/src/main/scala/aqua/parser/head/ImportExpr.scala index ab4c3210..85b49fe9 100644 --- a/parser/src/main/scala/aqua/parser/head/ImportExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/ImportExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.lexer.Token._ diff --git a/parser/src/main/scala/aqua/parser/head/ImportFromExpr.scala b/parser/src/main/scala/aqua/parser/head/ImportFromExpr.scala index e69872c0..3b7e407f 100644 --- a/parser/src/main/scala/aqua/parser/head/ImportFromExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/ImportFromExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.lexer.Token.* diff --git a/parser/src/main/scala/aqua/parser/head/ModuleExpr.scala b/parser/src/main/scala/aqua/parser/head/ModuleExpr.scala index 3d63f5ad..db0f5a5f 100644 --- a/parser/src/main/scala/aqua/parser/head/ModuleExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/ModuleExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.lexer.QName diff --git a/parser/src/main/scala/aqua/parser/head/UseExpr.scala b/parser/src/main/scala/aqua/parser/head/UseExpr.scala index b2f79fc2..4b72648c 100644 --- a/parser/src/main/scala/aqua/parser/head/UseExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/UseExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.lexer.Token.* diff --git a/parser/src/main/scala/aqua/parser/head/UseFromExpr.scala b/parser/src/main/scala/aqua/parser/head/UseFromExpr.scala index a530a7d6..b126e914 100644 --- a/parser/src/main/scala/aqua/parser/head/UseFromExpr.scala +++ b/parser/src/main/scala/aqua/parser/head/UseFromExpr.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.parser.lexer.Token.* diff --git a/parser/src/main/scala/aqua/parser/lexer/Ability.scala b/parser/src/main/scala/aqua/parser/lexer/Ability.scala index c7e239eb..5aa7469c 100644 --- a/parser/src/main/scala/aqua/parser/lexer/Ability.scala +++ b/parser/src/main/scala/aqua/parser/lexer/Ability.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lexer.Token.* diff --git a/parser/src/main/scala/aqua/parser/lexer/Arg.scala b/parser/src/main/scala/aqua/parser/lexer/Arg.scala index 2abfd374..ab1e7ef7 100644 --- a/parser/src/main/scala/aqua/parser/lexer/Arg.scala +++ b/parser/src/main/scala/aqua/parser/lexer/Arg.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lift.LiftParser diff --git a/parser/src/main/scala/aqua/parser/lexer/Name.scala b/parser/src/main/scala/aqua/parser/lexer/Name.scala index c2749cfd..6df3bfa8 100644 --- a/parser/src/main/scala/aqua/parser/lexer/Name.scala +++ b/parser/src/main/scala/aqua/parser/lexer/Name.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lexer.Token.* diff --git a/parser/src/main/scala/aqua/parser/lexer/NamedArg.scala b/parser/src/main/scala/aqua/parser/lexer/NamedArg.scala index 8891d812..0b8fc27a 100644 --- a/parser/src/main/scala/aqua/parser/lexer/NamedArg.scala +++ b/parser/src/main/scala/aqua/parser/lexer/NamedArg.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lift.Span.S diff --git a/parser/src/main/scala/aqua/parser/lexer/PropertyOp.scala b/parser/src/main/scala/aqua/parser/lexer/PropertyOp.scala index 014b0984..85a6ae1b 100644 --- a/parser/src/main/scala/aqua/parser/lexer/PropertyOp.scala +++ b/parser/src/main/scala/aqua/parser/lexer/PropertyOp.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lexer.CallArrowToken.CallBraces diff --git a/parser/src/main/scala/aqua/parser/lexer/QName.scala b/parser/src/main/scala/aqua/parser/lexer/QName.scala index 9a01fcf3..4d24a9aa 100644 --- a/parser/src/main/scala/aqua/parser/lexer/QName.scala +++ b/parser/src/main/scala/aqua/parser/lexer/QName.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.helpers.data.PName diff --git a/parser/src/main/scala/aqua/parser/lexer/Token.scala b/parser/src/main/scala/aqua/parser/lexer/Token.scala index 3490afd0..9a0ca759 100644 --- a/parser/src/main/scala/aqua/parser/lexer/Token.scala +++ b/parser/src/main/scala/aqua/parser/lexer/Token.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import cats.data.NonEmptyList diff --git a/parser/src/main/scala/aqua/parser/lexer/TypeToken.scala b/parser/src/main/scala/aqua/parser/lexer/TypeToken.scala index ad402744..2c53aae6 100644 --- a/parser/src/main/scala/aqua/parser/lexer/TypeToken.scala +++ b/parser/src/main/scala/aqua/parser/lexer/TypeToken.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lexer.Token.* diff --git a/parser/src/main/scala/aqua/parser/lexer/ValueToken.scala b/parser/src/main/scala/aqua/parser/lexer/ValueToken.scala index 4b3dc62e..29ef262b 100644 --- a/parser/src/main/scala/aqua/parser/lexer/ValueToken.scala +++ b/parser/src/main/scala/aqua/parser/lexer/ValueToken.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.Expr diff --git a/parser/src/main/scala/aqua/parser/lift/FileSpan.scala b/parser/src/main/scala/aqua/parser/lift/FileSpan.scala index ea991e09..2ae3e8f2 100644 --- a/parser/src/main/scala/aqua/parser/lift/FileSpan.scala +++ b/parser/src/main/scala/aqua/parser/lift/FileSpan.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lift import cats.parse.{LocationMap, Parser => P, Parser0} diff --git a/parser/src/main/scala/aqua/parser/lift/LiftParser.scala b/parser/src/main/scala/aqua/parser/lift/LiftParser.scala index 46701042..a77ff807 100644 --- a/parser/src/main/scala/aqua/parser/lift/LiftParser.scala +++ b/parser/src/main/scala/aqua/parser/lift/LiftParser.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lift import cats.Id diff --git a/parser/src/main/scala/aqua/parser/lift/Span.scala b/parser/src/main/scala/aqua/parser/lift/Span.scala index 1189552a..58ea8c63 100644 --- a/parser/src/main/scala/aqua/parser/lift/Span.scala +++ b/parser/src/main/scala/aqua/parser/lift/Span.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lift import cats.Comonad diff --git a/parser/src/test/scala/aqua/AquaSpec.scala b/parser/src/test/scala/aqua/AquaSpec.scala index 9f22808b..8f3dbecc 100644 --- a/parser/src/test/scala/aqua/AquaSpec.scala +++ b/parser/src/test/scala/aqua/AquaSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import aqua.AquaSpec.spanToId diff --git a/parser/src/test/scala/aqua/parser/AbilityIdExprSpec.scala b/parser/src/test/scala/aqua/parser/AbilityIdExprSpec.scala index ba989eba..f6a3db30 100644 --- a/parser/src/test/scala/aqua/parser/AbilityIdExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/AbilityIdExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/AbilityValueExprSpec.scala b/parser/src/test/scala/aqua/parser/AbilityValueExprSpec.scala index b0dd4dcc..2853ca64 100644 --- a/parser/src/test/scala/aqua/parser/AbilityValueExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/AbilityValueExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/AliasExprSpec.scala b/parser/src/test/scala/aqua/parser/AliasExprSpec.scala index e998aef1..aa033dab 100644 --- a/parser/src/test/scala/aqua/parser/AliasExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/AliasExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ArrowTypeExprSpec.scala b/parser/src/test/scala/aqua/parser/ArrowTypeExprSpec.scala index 6ecf701a..b00c787b 100644 --- a/parser/src/test/scala/aqua/parser/ArrowTypeExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/ArrowTypeExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/AssignmentExprSpec.scala b/parser/src/test/scala/aqua/parser/AssignmentExprSpec.scala index 55ec978b..f76f1fbe 100644 --- a/parser/src/test/scala/aqua/parser/AssignmentExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/AssignmentExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/CallArrowSpec.scala b/parser/src/test/scala/aqua/parser/CallArrowSpec.scala index c659508d..4cefb4cf 100644 --- a/parser/src/test/scala/aqua/parser/CallArrowSpec.scala +++ b/parser/src/test/scala/aqua/parser/CallArrowSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ClosureExprSpec.scala b/parser/src/test/scala/aqua/parser/ClosureExprSpec.scala index ae24ee67..c3efc4da 100644 --- a/parser/src/test/scala/aqua/parser/ClosureExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/ClosureExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/CoExprSpec.scala b/parser/src/test/scala/aqua/parser/CoExprSpec.scala index 153583ff..d5f192ca 100644 --- a/parser/src/test/scala/aqua/parser/CoExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/CoExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/CollectionExprSpec.scala b/parser/src/test/scala/aqua/parser/CollectionExprSpec.scala index a42441ba..c1cb0408 100644 --- a/parser/src/test/scala/aqua/parser/CollectionExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/CollectionExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/DataStructExprSpec.scala b/parser/src/test/scala/aqua/parser/DataStructExprSpec.scala index bfa583aa..e8c2c4ef 100644 --- a/parser/src/test/scala/aqua/parser/DataStructExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/DataStructExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ElseOtherwiseExprSpec.scala b/parser/src/test/scala/aqua/parser/ElseOtherwiseExprSpec.scala index 349b0b4b..247106ef 100644 --- a/parser/src/test/scala/aqua/parser/ElseOtherwiseExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/ElseOtherwiseExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/FieldTypeExprSpec.scala b/parser/src/test/scala/aqua/parser/FieldTypeExprSpec.scala index 796f08d7..cc31850c 100644 --- a/parser/src/test/scala/aqua/parser/FieldTypeExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/FieldTypeExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ForExprSpec.scala b/parser/src/test/scala/aqua/parser/ForExprSpec.scala index 79f454b2..6081b4db 100644 --- a/parser/src/test/scala/aqua/parser/ForExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/ForExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/FuncExprSpec.scala b/parser/src/test/scala/aqua/parser/FuncExprSpec.scala index ba4410a9..98172834 100644 --- a/parser/src/test/scala/aqua/parser/FuncExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/FuncExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/IfExprSpec.scala b/parser/src/test/scala/aqua/parser/IfExprSpec.scala index dc247e71..570b3e9e 100644 --- a/parser/src/test/scala/aqua/parser/IfExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/IfExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/IntoArrowSpec.scala b/parser/src/test/scala/aqua/parser/IntoArrowSpec.scala index 9253066e..523b82be 100644 --- a/parser/src/test/scala/aqua/parser/IntoArrowSpec.scala +++ b/parser/src/test/scala/aqua/parser/IntoArrowSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/OnExprSpec.scala b/parser/src/test/scala/aqua/parser/OnExprSpec.scala index 2f8c5b67..bf2d3163 100644 --- a/parser/src/test/scala/aqua/parser/OnExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/OnExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ParExprSpec.scala b/parser/src/test/scala/aqua/parser/ParExprSpec.scala index 3b4ca676..4668788a 100644 --- a/parser/src/test/scala/aqua/parser/ParExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/ParExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ParSecExprSpec.scala b/parser/src/test/scala/aqua/parser/ParSecExprSpec.scala index 5669af3f..698f52eb 100644 --- a/parser/src/test/scala/aqua/parser/ParSecExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/ParSecExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/PushToStreamExprSpec.scala b/parser/src/test/scala/aqua/parser/PushToStreamExprSpec.scala index 4a909b94..aff0f6e2 100644 --- a/parser/src/test/scala/aqua/parser/PushToStreamExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/PushToStreamExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ReturnExprSpec.scala b/parser/src/test/scala/aqua/parser/ReturnExprSpec.scala index 459f6b10..23e1217b 100644 --- a/parser/src/test/scala/aqua/parser/ReturnExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/ReturnExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ServiceExprSpec.scala b/parser/src/test/scala/aqua/parser/ServiceExprSpec.scala index cc424865..c5fa6d55 100644 --- a/parser/src/test/scala/aqua/parser/ServiceExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/ServiceExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/StructValueExprSpec.scala b/parser/src/test/scala/aqua/parser/StructValueExprSpec.scala index b237a5fb..b038978c 100644 --- a/parser/src/test/scala/aqua/parser/StructValueExprSpec.scala +++ b/parser/src/test/scala/aqua/parser/StructValueExprSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/ValueTokenComplexSpec.scala b/parser/src/test/scala/aqua/parser/ValueTokenComplexSpec.scala index 1f96fc90..aaf7537c 100644 --- a/parser/src/test/scala/aqua/parser/ValueTokenComplexSpec.scala +++ b/parser/src/test/scala/aqua/parser/ValueTokenComplexSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/head/FromSpec.scala b/parser/src/test/scala/aqua/parser/head/FromSpec.scala index 1f5d0e78..78068ae5 100644 --- a/parser/src/test/scala/aqua/parser/head/FromSpec.scala +++ b/parser/src/test/scala/aqua/parser/head/FromSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/head/ImportFromSpec.scala b/parser/src/test/scala/aqua/parser/head/ImportFromSpec.scala index 0eee238a..d7e2d068 100644 --- a/parser/src/test/scala/aqua/parser/head/ImportFromSpec.scala +++ b/parser/src/test/scala/aqua/parser/head/ImportFromSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/head/ModuleSpec.scala b/parser/src/test/scala/aqua/parser/head/ModuleSpec.scala index 6c418cf3..1220fa86 100644 --- a/parser/src/test/scala/aqua/parser/head/ModuleSpec.scala +++ b/parser/src/test/scala/aqua/parser/head/ModuleSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/head/UseSpec.scala b/parser/src/test/scala/aqua/parser/head/UseSpec.scala index 06cfe530..6301c661 100644 --- a/parser/src/test/scala/aqua/parser/head/UseSpec.scala +++ b/parser/src/test/scala/aqua/parser/head/UseSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.head import aqua.AquaSpec diff --git a/parser/src/test/scala/aqua/parser/lexer/PropertyOpSpec.scala b/parser/src/test/scala/aqua/parser/lexer/PropertyOpSpec.scala index ae9b0879..670bf773 100644 --- a/parser/src/test/scala/aqua/parser/lexer/PropertyOpSpec.scala +++ b/parser/src/test/scala/aqua/parser/lexer/PropertyOpSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lift.LiftParser.given diff --git a/parser/src/test/scala/aqua/parser/lexer/TokenSpec.scala b/parser/src/test/scala/aqua/parser/lexer/TokenSpec.scala index 63811e0a..b29e7039 100644 --- a/parser/src/test/scala/aqua/parser/lexer/TokenSpec.scala +++ b/parser/src/test/scala/aqua/parser/lexer/TokenSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lexer.Token._ diff --git a/parser/src/test/scala/aqua/parser/lexer/TypeTokenSpec.scala b/parser/src/test/scala/aqua/parser/lexer/TypeTokenSpec.scala index 10ea49ce..a02ba055 100644 --- a/parser/src/test/scala/aqua/parser/lexer/TypeTokenSpec.scala +++ b/parser/src/test/scala/aqua/parser/lexer/TypeTokenSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lift.LiftParser.given diff --git a/parser/src/test/scala/aqua/parser/lexer/ValueTokenSpec.scala b/parser/src/test/scala/aqua/parser/lexer/ValueTokenSpec.scala index 38af030f..a8276c42 100644 --- a/parser/src/test/scala/aqua/parser/lexer/ValueTokenSpec.scala +++ b/parser/src/test/scala/aqua/parser/lexer/ValueTokenSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lift.LiftParser.given diff --git a/parser/src/test/scala/aqua/parser/lexer/VarLambdaSpec.scala b/parser/src/test/scala/aqua/parser/lexer/VarLambdaSpec.scala index 890d726d..05848add 100644 --- a/parser/src/test/scala/aqua/parser/lexer/VarLambdaSpec.scala +++ b/parser/src/test/scala/aqua/parser/lexer/VarLambdaSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.parser.lexer import aqua.parser.lift.LiftParser.given diff --git a/project/plugins.sbt b/project/plugins.sbt index 1ee4aa34..54dfd059 100644 --- a/project/plugins.sbt +++ b/project/plugins.sbt @@ -3,3 +3,4 @@ addSbtPlugin("org.scala-js" % "sbt-scalajs" % "1.16.0") addSbtPlugin("org.portable-scala" % "sbt-scalajs-crossproject" % "1.3.2") addSbtPlugin("com.eed3si9n" % "sbt-buildinfo" % "0.11.0") addSbtPlugin("com.github.sbt" % "sbt-native-packager" % "1.10.0") +addSbtPlugin("de.heikoseeberger" % "sbt-header" % "5.10.0") diff --git a/semantics/src/main/scala/aqua/semantics/CompilerState.scala b/semantics/src/main/scala/aqua/semantics/CompilerState.scala index df913305..eaabc987 100644 --- a/semantics/src/main/scala/aqua/semantics/CompilerState.scala +++ b/semantics/src/main/scala/aqua/semantics/CompilerState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.mangler.ManglerState diff --git a/semantics/src/main/scala/aqua/semantics/ExprSem.scala b/semantics/src/main/scala/aqua/semantics/ExprSem.scala index 1c04cd95..b23e0c2b 100644 --- a/semantics/src/main/scala/aqua/semantics/ExprSem.scala +++ b/semantics/src/main/scala/aqua/semantics/ExprSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.Expr diff --git a/semantics/src/main/scala/aqua/semantics/FileId.scala b/semantics/src/main/scala/aqua/semantics/FileId.scala index bb34002a..a9b0b04e 100644 --- a/semantics/src/main/scala/aqua/semantics/FileId.scala +++ b/semantics/src/main/scala/aqua/semantics/FileId.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import cats.Show diff --git a/semantics/src/main/scala/aqua/semantics/Levenshtein.scala b/semantics/src/main/scala/aqua/semantics/Levenshtein.scala index e7eb3634..d1f88d40 100644 --- a/semantics/src/main/scala/aqua/semantics/Levenshtein.scala +++ b/semantics/src/main/scala/aqua/semantics/Levenshtein.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import cats.data.{Chain, NonEmptyList} diff --git a/semantics/src/main/scala/aqua/semantics/Prog.scala b/semantics/src/main/scala/aqua/semantics/Prog.scala index 813a000b..14a65cef 100644 --- a/semantics/src/main/scala/aqua/semantics/Prog.scala +++ b/semantics/src/main/scala/aqua/semantics/Prog.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/RawSemantics.scala b/semantics/src/main/scala/aqua/semantics/RawSemantics.scala index 89a9daa0..4bb10241 100644 --- a/semantics/src/main/scala/aqua/semantics/RawSemantics.scala +++ b/semantics/src/main/scala/aqua/semantics/RawSemantics.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.errors.Errors.internalError diff --git a/semantics/src/main/scala/aqua/semantics/SemanticError.scala b/semantics/src/main/scala/aqua/semantics/SemanticError.scala index 08829a91..702e7278 100644 --- a/semantics/src/main/scala/aqua/semantics/SemanticError.scala +++ b/semantics/src/main/scala/aqua/semantics/SemanticError.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.Ast diff --git a/semantics/src/main/scala/aqua/semantics/SemanticWarning.scala b/semantics/src/main/scala/aqua/semantics/SemanticWarning.scala index f23d5ca3..d349fb63 100644 --- a/semantics/src/main/scala/aqua/semantics/SemanticWarning.scala +++ b/semantics/src/main/scala/aqua/semantics/SemanticWarning.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/Semantics.scala b/semantics/src/main/scala/aqua/semantics/Semantics.scala index 9eebb9aa..637340af 100644 --- a/semantics/src/main/scala/aqua/semantics/Semantics.scala +++ b/semantics/src/main/scala/aqua/semantics/Semantics.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.Ast diff --git a/semantics/src/main/scala/aqua/semantics/expr/AbilitySem.scala b/semantics/src/main/scala/aqua/semantics/expr/AbilitySem.scala index 1256e590..1aac4281 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/AbilitySem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/AbilitySem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr import aqua.parser.expr.AbilityExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/AliasSem.scala b/semantics/src/main/scala/aqua/semantics/expr/AliasSem.scala index fd5709cd..3905229d 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/AliasSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/AliasSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr import aqua.parser.expr.AliasExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/ArrowTypeSem.scala b/semantics/src/main/scala/aqua/semantics/expr/ArrowTypeSem.scala index 3cf7625a..88f00ab4 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/ArrowTypeSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/ArrowTypeSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr import aqua.parser.expr.ArrowTypeExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/ConstantSem.scala b/semantics/src/main/scala/aqua/semantics/expr/ConstantSem.scala index fea616f5..de69851f 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/ConstantSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/ConstantSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr import aqua.parser.expr.ConstantExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/DataStructSem.scala b/semantics/src/main/scala/aqua/semantics/expr/DataStructSem.scala index 82349660..c5fe3349 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/DataStructSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/DataStructSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr import aqua.parser.expr.DataStructExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/FieldTypeSem.scala b/semantics/src/main/scala/aqua/semantics/expr/FieldTypeSem.scala index 1a22c2c2..1513ec03 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/FieldTypeSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/FieldTypeSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr import aqua.parser.expr.FieldTypeExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/RootSem.scala b/semantics/src/main/scala/aqua/semantics/expr/RootSem.scala index d923dc09..d2119162 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/RootSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/RootSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr import aqua.parser.expr.RootExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/ServiceSem.scala b/semantics/src/main/scala/aqua/semantics/expr/ServiceSem.scala index aeae2f20..cbb33ea0 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/ServiceSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/ServiceSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr import aqua.helpers.syntax.optiont.withFilterF diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/ArrowSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/ArrowSem.scala index f4ac5f57..0f84e9ff 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/ArrowSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/ArrowSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.ArrowExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/AssignmentSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/AssignmentSem.scala index 6f401e61..157caa80 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/AssignmentSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/AssignmentSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.raw.Raw diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/CallArrowSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/CallArrowSem.scala index f3004d37..dd59d754 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/CallArrowSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/CallArrowSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.CallArrowExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/CatchSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/CatchSem.scala index c2a57c32..fc45ea74 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/CatchSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/CatchSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.CatchExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/ClosureSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/ClosureSem.scala index 7cd48a28..5ee5cc02 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/ClosureSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/ClosureSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.raw.Raw diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/CoSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/CoSem.scala index c1539c7c..281a3281 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/CoSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/CoSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.raw.ops.{FuncOp, ParTag} diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/DeclareStreamSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/DeclareStreamSem.scala index d8e18ed4..45a8f32a 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/DeclareStreamSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/DeclareStreamSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.helpers.syntax.optiont.* diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/ElseOtherwiseSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/ElseOtherwiseSem.scala index ce74c18b..a41674fc 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/ElseOtherwiseSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/ElseOtherwiseSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.ElseOtherwiseExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/ForSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/ForSem.scala index 8890d354..c41562ca 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/ForSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/ForSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.ForExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/FuncSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/FuncSem.scala index 6fd49884..6c6169a2 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/FuncSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/FuncSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.raw.{ErroredPart, Raw} diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/IfSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/IfSem.scala index 006a3cd3..06d95f17 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/IfSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/IfSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.IfExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/JoinSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/JoinSem.scala index aa94e077..099297b7 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/JoinSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/JoinSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.JoinExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/OnSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/OnSem.scala index b19c71a6..70edea10 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/OnSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/OnSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.OnExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/ParSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/ParSem.scala index 957c04e7..3a443d82 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/ParSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/ParSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.raw.ops.{FuncOp, ParTag} diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/ParSeqSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/ParSeqSem.scala index 0e73db15..48320772 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/ParSeqSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/ParSeqSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.ParSeqExpr diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/PushToStreamSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/PushToStreamSem.scala index e2e1c790..4c83b90f 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/PushToStreamSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/PushToStreamSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.helpers.syntax.optiont.* diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/ReturnSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/ReturnSem.scala index 9f233b1b..11fcfe77 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/ReturnSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/ReturnSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.helpers.syntax.optiont.* diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/ServiceIdSem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/ServiceIdSem.scala index 32dfc65a..d107b024 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/ServiceIdSem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/ServiceIdSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.raw.Raw diff --git a/semantics/src/main/scala/aqua/semantics/expr/func/TrySem.scala b/semantics/src/main/scala/aqua/semantics/expr/func/TrySem.scala index d7718ba1..c127ed57 100644 --- a/semantics/src/main/scala/aqua/semantics/expr/func/TrySem.scala +++ b/semantics/src/main/scala/aqua/semantics/expr/func/TrySem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.expr.func import aqua.parser.expr.func.TryExpr diff --git a/semantics/src/main/scala/aqua/semantics/header/ExportSem.scala b/semantics/src/main/scala/aqua/semantics/header/ExportSem.scala index 5b64efa6..dfd45c87 100644 --- a/semantics/src/main/scala/aqua/semantics/header/ExportSem.scala +++ b/semantics/src/main/scala/aqua/semantics/header/ExportSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.header import aqua.parser.head.* diff --git a/semantics/src/main/scala/aqua/semantics/header/HeaderHandler.scala b/semantics/src/main/scala/aqua/semantics/header/HeaderHandler.scala index 832d66e5..2fde9895 100644 --- a/semantics/src/main/scala/aqua/semantics/header/HeaderHandler.scala +++ b/semantics/src/main/scala/aqua/semantics/header/HeaderHandler.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.header import aqua.parser.Ast diff --git a/semantics/src/main/scala/aqua/semantics/header/HeaderSem.scala b/semantics/src/main/scala/aqua/semantics/header/HeaderSem.scala index 8767a783..2b2aefc4 100644 --- a/semantics/src/main/scala/aqua/semantics/header/HeaderSem.scala +++ b/semantics/src/main/scala/aqua/semantics/header/HeaderSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.header import aqua.raw.RawContext diff --git a/semantics/src/main/scala/aqua/semantics/header/ModuleSem.scala b/semantics/src/main/scala/aqua/semantics/header/ModuleSem.scala index 712b2243..d2ad5664 100644 --- a/semantics/src/main/scala/aqua/semantics/header/ModuleSem.scala +++ b/semantics/src/main/scala/aqua/semantics/header/ModuleSem.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.header import aqua.helpers.data.PName diff --git a/semantics/src/main/scala/aqua/semantics/header/Picker.scala b/semantics/src/main/scala/aqua/semantics/header/Picker.scala index 09dc08d3..85d5fd1e 100644 --- a/semantics/src/main/scala/aqua/semantics/header/Picker.scala +++ b/semantics/src/main/scala/aqua/semantics/header/Picker.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.header import aqua.helpers.data.PName diff --git a/semantics/src/main/scala/aqua/semantics/header/package.scala b/semantics/src/main/scala/aqua/semantics/header/package.scala index 53ebdfc6..4d751499 100644 --- a/semantics/src/main/scala/aqua/semantics/header/package.scala +++ b/semantics/src/main/scala/aqua/semantics/header/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import cats.data.State diff --git a/semantics/src/main/scala/aqua/semantics/rules/StackInterpreter.scala b/semantics/src/main/scala/aqua/semantics/rules/StackInterpreter.scala index 714e1262..8bbf270f 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/StackInterpreter.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/StackInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/rules/ValuesAlgebra.scala b/semantics/src/main/scala/aqua/semantics/rules/ValuesAlgebra.scala index 1b490d65..ff91527e 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/ValuesAlgebra.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/ValuesAlgebra.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules import aqua.errors.Errors.internalError diff --git a/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesAlgebra.scala b/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesAlgebra.scala index 175ba69c..b25d63f2 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesAlgebra.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesAlgebra.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.abilities import aqua.parser.lexer.{Name, NamedTypeToken, Token, ValueToken} diff --git a/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesInterpreter.scala b/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesInterpreter.scala index e6d4c84f..0693b66e 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesInterpreter.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.abilities import aqua.parser.lexer.{Name, NamedTypeToken, Token} diff --git a/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesState.scala b/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesState.scala index c1251d1f..c30d0992 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesState.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/abilities/AbilitiesState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.abilities import aqua.parser.lexer.Token.name diff --git a/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsAlgebra.scala b/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsAlgebra.scala index c44b99ed..950bd5e7 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsAlgebra.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsAlgebra.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.definitions import aqua.parser.lexer.{Name, NamedTypeToken, Token} diff --git a/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsInterpreter.scala b/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsInterpreter.scala index 43e75ea0..7b478c49 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsInterpreter.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.definitions import aqua.parser.lexer.{Name, NamedTypeToken, Token} diff --git a/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsState.scala b/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsState.scala index 595b6c06..8cb3c738 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsState.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/definitions/DefinitionsState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.definitions import aqua.parser.lexer.{Name, Token} diff --git a/semantics/src/main/scala/aqua/semantics/rules/locations/DummyLocationsInterpreter.scala b/semantics/src/main/scala/aqua/semantics/rules/locations/DummyLocationsInterpreter.scala index c49d72ed..a929e51e 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/locations/DummyLocationsInterpreter.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/locations/DummyLocationsInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.locations import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/rules/locations/LocationsAlgebra.scala b/semantics/src/main/scala/aqua/semantics/rules/locations/LocationsAlgebra.scala index 59b4864d..0fa0fbbe 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/locations/LocationsAlgebra.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/locations/LocationsAlgebra.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.locations import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/rules/locations/LocationsState.scala b/semantics/src/main/scala/aqua/semantics/rules/locations/LocationsState.scala index 745a6e85..c70ef9ca 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/locations/LocationsState.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/locations/LocationsState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.locations import aqua.helpers.syntax.list.* diff --git a/semantics/src/main/scala/aqua/semantics/rules/locations/VariableInfo.scala b/semantics/src/main/scala/aqua/semantics/rules/locations/VariableInfo.scala index efca87c0..8d116d5c 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/locations/VariableInfo.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/locations/VariableInfo.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.locations import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/rules/locations/Variables.scala b/semantics/src/main/scala/aqua/semantics/rules/locations/Variables.scala index 688bef10..cf4afabb 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/locations/Variables.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/locations/Variables.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.locations import aqua.helpers.syntax.list.* diff --git a/semantics/src/main/scala/aqua/semantics/rules/mangler/ManglerAlgebra.scala b/semantics/src/main/scala/aqua/semantics/rules/mangler/ManglerAlgebra.scala index 4a620c75..6ad26af6 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/mangler/ManglerAlgebra.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/mangler/ManglerAlgebra.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.mangler trait ManglerAlgebra[Alg[_]] { diff --git a/semantics/src/main/scala/aqua/semantics/rules/mangler/ManglerInterpreter.scala b/semantics/src/main/scala/aqua/semantics/rules/mangler/ManglerInterpreter.scala index ef97b0a6..81a3d9b5 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/mangler/ManglerInterpreter.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/mangler/ManglerInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.mangler import aqua.mangler.ManglerState diff --git a/semantics/src/main/scala/aqua/semantics/rules/names/NamesAlgebra.scala b/semantics/src/main/scala/aqua/semantics/rules/names/NamesAlgebra.scala index 9bf0d2bc..4bfb9f68 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/names/NamesAlgebra.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/names/NamesAlgebra.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.names import aqua.parser.lexer.{LiteralToken, Name, Token, ValueToken} diff --git a/semantics/src/main/scala/aqua/semantics/rules/names/NamesInterpreter.scala b/semantics/src/main/scala/aqua/semantics/rules/names/NamesInterpreter.scala index a2de37a7..bf6d97ac 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/names/NamesInterpreter.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/names/NamesInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.names import aqua.errors.Errors.internalError diff --git a/semantics/src/main/scala/aqua/semantics/rules/names/NamesState.scala b/semantics/src/main/scala/aqua/semantics/rules/names/NamesState.scala index 1875967a..a76281ea 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/names/NamesState.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/names/NamesState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.names import aqua.parser.lexer.{Name, Token} diff --git a/semantics/src/main/scala/aqua/semantics/rules/report/ReportAlgebra.scala b/semantics/src/main/scala/aqua/semantics/rules/report/ReportAlgebra.scala index c3d06962..b8ea96b6 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/report/ReportAlgebra.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/report/ReportAlgebra.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.report import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/rules/report/ReportInterpreter.scala b/semantics/src/main/scala/aqua/semantics/rules/report/ReportInterpreter.scala index d87be501..efa7a89c 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/report/ReportInterpreter.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/report/ReportInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.report import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/rules/report/ReportState.scala b/semantics/src/main/scala/aqua/semantics/rules/report/ReportState.scala index e52b8299..2705e203 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/report/ReportState.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/report/ReportState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.report import aqua.parser.lexer.Token diff --git a/semantics/src/main/scala/aqua/semantics/rules/types/TypeResolution.scala b/semantics/src/main/scala/aqua/semantics/rules/types/TypeResolution.scala index 99a9fa46..9a79ffca 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/types/TypeResolution.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/types/TypeResolution.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.types import aqua.parser.lexer.* diff --git a/semantics/src/main/scala/aqua/semantics/rules/types/TypesAlgebra.scala b/semantics/src/main/scala/aqua/semantics/rules/types/TypesAlgebra.scala index da6b5456..460210e0 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/types/TypesAlgebra.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/types/TypesAlgebra.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.types import aqua.parser.lexer.* diff --git a/semantics/src/main/scala/aqua/semantics/rules/types/TypesInterpreter.scala b/semantics/src/main/scala/aqua/semantics/rules/types/TypesInterpreter.scala index c0261666..eba37d10 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/types/TypesInterpreter.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/types/TypesInterpreter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.types import aqua.errors.Errors.internalError diff --git a/semantics/src/main/scala/aqua/semantics/rules/types/TypesState.scala b/semantics/src/main/scala/aqua/semantics/rules/types/TypesState.scala index 4ab1d359..71e7a53b 100644 --- a/semantics/src/main/scala/aqua/semantics/rules/types/TypesState.scala +++ b/semantics/src/main/scala/aqua/semantics/rules/types/TypesState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics.rules.types import aqua.parser.lexer.* diff --git a/semantics/src/test/scala/aqua/semantics/ArrowSemSpec.scala b/semantics/src/test/scala/aqua/semantics/ArrowSemSpec.scala index 39242705..4fe8fbdc 100644 --- a/semantics/src/test/scala/aqua/semantics/ArrowSemSpec.scala +++ b/semantics/src/test/scala/aqua/semantics/ArrowSemSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.expr.func.ArrowExpr diff --git a/semantics/src/test/scala/aqua/semantics/ClosureSemSpec.scala b/semantics/src/test/scala/aqua/semantics/ClosureSemSpec.scala index 252b6b59..378fff4e 100644 --- a/semantics/src/test/scala/aqua/semantics/ClosureSemSpec.scala +++ b/semantics/src/test/scala/aqua/semantics/ClosureSemSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.expr.func.ClosureExpr diff --git a/semantics/src/test/scala/aqua/semantics/HeaderSpec.scala b/semantics/src/test/scala/aqua/semantics/HeaderSpec.scala index b04614fc..b6b4526b 100644 --- a/semantics/src/test/scala/aqua/semantics/HeaderSpec.scala +++ b/semantics/src/test/scala/aqua/semantics/HeaderSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.Ast diff --git a/semantics/src/test/scala/aqua/semantics/SemanticsSpec.scala b/semantics/src/test/scala/aqua/semantics/SemanticsSpec.scala index 2b39568f..0351e2fe 100644 --- a/semantics/src/test/scala/aqua/semantics/SemanticsSpec.scala +++ b/semantics/src/test/scala/aqua/semantics/SemanticsSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.Ast diff --git a/semantics/src/test/scala/aqua/semantics/TypeResolutionSpec.scala b/semantics/src/test/scala/aqua/semantics/TypeResolutionSpec.scala index fe57e189..9d080156 100644 --- a/semantics/src/test/scala/aqua/semantics/TypeResolutionSpec.scala +++ b/semantics/src/test/scala/aqua/semantics/TypeResolutionSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.lexer.* diff --git a/semantics/src/test/scala/aqua/semantics/Utils.scala b/semantics/src/test/scala/aqua/semantics/Utils.scala index b00280be..0a853317 100644 --- a/semantics/src/test/scala/aqua/semantics/Utils.scala +++ b/semantics/src/test/scala/aqua/semantics/Utils.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.expr.func.ClosureExpr diff --git a/semantics/src/test/scala/aqua/semantics/ValuesAlgebraSpec.scala b/semantics/src/test/scala/aqua/semantics/ValuesAlgebraSpec.scala index 85ce9a14..37a0d94b 100644 --- a/semantics/src/test/scala/aqua/semantics/ValuesAlgebraSpec.scala +++ b/semantics/src/test/scala/aqua/semantics/ValuesAlgebraSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.semantics import aqua.parser.lexer.* diff --git a/types/src/main/scala/aqua/types/CompareTypes.scala b/types/src/main/scala/aqua/types/CompareTypes.scala index 1b7a293a..3eb4c7bf 100644 --- a/types/src/main/scala/aqua/types/CompareTypes.scala +++ b/types/src/main/scala/aqua/types/CompareTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import cats.data.NonEmptyMap diff --git a/types/src/main/scala/aqua/types/IntersectTypes.scala b/types/src/main/scala/aqua/types/IntersectTypes.scala index 88d8938e..704cfafc 100644 --- a/types/src/main/scala/aqua/types/IntersectTypes.scala +++ b/types/src/main/scala/aqua/types/IntersectTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import aqua.errors.Errors.internalError diff --git a/types/src/main/scala/aqua/types/ScalarsCombine.scala b/types/src/main/scala/aqua/types/ScalarsCombine.scala index a9a99949..4a9a612b 100644 --- a/types/src/main/scala/aqua/types/ScalarsCombine.scala +++ b/types/src/main/scala/aqua/types/ScalarsCombine.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import cats.syntax.partialOrder.* diff --git a/types/src/main/scala/aqua/types/Type.scala b/types/src/main/scala/aqua/types/Type.scala index 63c5b31b..21a53c3e 100644 --- a/types/src/main/scala/aqua/types/Type.scala +++ b/types/src/main/scala/aqua/types/Type.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import aqua.errors.Errors.internalError diff --git a/types/src/main/scala/aqua/types/UniteTypes.scala b/types/src/main/scala/aqua/types/UniteTypes.scala index ec606ca6..70f05e2b 100644 --- a/types/src/main/scala/aqua/types/UniteTypes.scala +++ b/types/src/main/scala/aqua/types/UniteTypes.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import aqua.errors.Errors.internalError diff --git a/types/src/test/scala/aqua/types/IntersectTypesSpec.scala b/types/src/test/scala/aqua/types/IntersectTypesSpec.scala index 42b4ed8b..3e25f94b 100644 --- a/types/src/test/scala/aqua/types/IntersectTypesSpec.scala +++ b/types/src/test/scala/aqua/types/IntersectTypesSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import cats.data.NonEmptyMap diff --git a/types/src/test/scala/aqua/types/TypeSpec.scala b/types/src/test/scala/aqua/types/TypeSpec.scala index 07ee71d3..61dda247 100644 --- a/types/src/test/scala/aqua/types/TypeSpec.scala +++ b/types/src/test/scala/aqua/types/TypeSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import cats.data.NonEmptyMap diff --git a/types/src/test/scala/aqua/types/TypeVarianceSpec.scala b/types/src/test/scala/aqua/types/TypeVarianceSpec.scala index 2aee2d5f..960c1731 100644 --- a/types/src/test/scala/aqua/types/TypeVarianceSpec.scala +++ b/types/src/test/scala/aqua/types/TypeVarianceSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import aqua.types.* diff --git a/types/src/test/scala/aqua/types/UniteTypesSpec.scala b/types/src/test/scala/aqua/types/UniteTypesSpec.scala index 9db2906f..42a31d58 100644 --- a/types/src/test/scala/aqua/types/UniteTypesSpec.scala +++ b/types/src/test/scala/aqua/types/UniteTypesSpec.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.types import cats.syntax.partialOrder._ diff --git a/types/src/test/scala/aqua/types/package.scala b/types/src/test/scala/aqua/types/package.scala index fba26edd..b04edd54 100644 --- a/types/src/test/scala/aqua/types/package.scala +++ b/types/src/test/scala/aqua/types/package.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua import cats.data.NonEmptyMap diff --git a/utils/constants/src/main/scala/aqua.constants/Constants.scala b/utils/constants/src/main/scala/aqua.constants/Constants.scala index b5e8f29b..c4b38db3 100644 --- a/utils/constants/src/main/scala/aqua.constants/Constants.scala +++ b/utils/constants/src/main/scala/aqua.constants/Constants.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.constants import aqua.parser.expr.ConstantExpr diff --git a/utils/errors/src/main/scala/aqua/errors/Errors.scala b/utils/errors/src/main/scala/aqua/errors/Errors.scala index caa83ab1..84890c9a 100644 --- a/utils/errors/src/main/scala/aqua/errors/Errors.scala +++ b/utils/errors/src/main/scala/aqua/errors/Errors.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.errors import sourcecode.{Enclosing, FileName, Line} diff --git a/utils/helpers/src/main/scala/aqua/helpers/data/PName.scala b/utils/helpers/src/main/scala/aqua/helpers/data/PName.scala index c09fdf98..75686541 100644 --- a/utils/helpers/src/main/scala/aqua/helpers/data/PName.scala +++ b/utils/helpers/src/main/scala/aqua/helpers/data/PName.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.helpers.data import aqua.errors.Errors.internalError diff --git a/utils/helpers/src/main/scala/aqua/helpers/ext/Extension.scala b/utils/helpers/src/main/scala/aqua/helpers/ext/Extension.scala index 1393f65f..678ccbd2 100644 --- a/utils/helpers/src/main/scala/aqua/helpers/ext/Extension.scala +++ b/utils/helpers/src/main/scala/aqua/helpers/ext/Extension.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.helpers.ext object Extension { diff --git a/utils/helpers/src/main/scala/aqua/helpers/syntax/eithert.scala b/utils/helpers/src/main/scala/aqua/helpers/syntax/eithert.scala index 3e30c84b..fe5ec9ac 100644 --- a/utils/helpers/src/main/scala/aqua/helpers/syntax/eithert.scala +++ b/utils/helpers/src/main/scala/aqua/helpers/syntax/eithert.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.syntax import cats.Functor diff --git a/utils/helpers/src/main/scala/aqua/helpers/syntax/list.scala b/utils/helpers/src/main/scala/aqua/helpers/syntax/list.scala index aacb49d1..10217166 100644 --- a/utils/helpers/src/main/scala/aqua/helpers/syntax/list.scala +++ b/utils/helpers/src/main/scala/aqua/helpers/syntax/list.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.helpers.syntax import scala.annotation.tailrec diff --git a/utils/helpers/src/main/scala/aqua/helpers/syntax/optiont.scala b/utils/helpers/src/main/scala/aqua/helpers/syntax/optiont.scala index d191c8d3..ee0456e8 100644 --- a/utils/helpers/src/main/scala/aqua/helpers/syntax/optiont.scala +++ b/utils/helpers/src/main/scala/aqua/helpers/syntax/optiont.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.helpers.syntax import cats.data.OptionT diff --git a/utils/helpers/src/main/scala/aqua/helpers/syntax/reader.scala b/utils/helpers/src/main/scala/aqua/helpers/syntax/reader.scala index 9fac6b23..60a2f088 100644 --- a/utils/helpers/src/main/scala/aqua/helpers/syntax/reader.scala +++ b/utils/helpers/src/main/scala/aqua/helpers/syntax/reader.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.helpers.syntax import cats.data.{Reader, State} diff --git a/utils/helpers/src/main/scala/aqua/helpers/tree/Tree.scala b/utils/helpers/src/main/scala/aqua/helpers/tree/Tree.scala index 3ed2c68c..61ca3e21 100644 --- a/utils/helpers/src/main/scala/aqua/helpers/tree/Tree.scala +++ b/utils/helpers/src/main/scala/aqua/helpers/tree/Tree.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.helpers.tree import cats.free.Cofree diff --git a/utils/logging/src/main/scala/aqua/logging/LogFormatter.scala b/utils/logging/src/main/scala/aqua/logging/LogFormatter.scala index 62cacf1b..fb0af80d 100644 --- a/utils/logging/src/main/scala/aqua/logging/LogFormatter.scala +++ b/utils/logging/src/main/scala/aqua/logging/LogFormatter.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.logging import scribe.format.* diff --git a/utils/logging/src/main/scala/aqua/logging/LogLevel.scala b/utils/logging/src/main/scala/aqua/logging/LogLevel.scala index 612e8f62..22b13e20 100644 --- a/utils/logging/src/main/scala/aqua/logging/LogLevel.scala +++ b/utils/logging/src/main/scala/aqua/logging/LogLevel.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.logging import scribe.Level diff --git a/utils/logging/src/main/scala/aqua/logging/LogLevels.scala b/utils/logging/src/main/scala/aqua/logging/LogLevels.scala index c34fd26d..4bea6835 100644 --- a/utils/logging/src/main/scala/aqua/logging/LogLevels.scala +++ b/utils/logging/src/main/scala/aqua/logging/LogLevels.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.logging import cats.syntax.option.* diff --git a/utils/mangler/src/main/scala/aqua/mangler/ManglerState.scala b/utils/mangler/src/main/scala/aqua/mangler/ManglerState.scala index 689c56c6..4db9b01a 100644 --- a/utils/mangler/src/main/scala/aqua/mangler/ManglerState.scala +++ b/utils/mangler/src/main/scala/aqua/mangler/ManglerState.scala @@ -1,3 +1,19 @@ +/* + * Copyright (C) 2024 Fluence DAO + * + * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU Affero General Public License as + * published by the Free Software Foundation, version 3. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU Affero General Public License for more details. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + package aqua.mangler import cats.Monoid