From 1b3f3c98be1805743cfe129079d0451db29e6f0a Mon Sep 17 00:00:00 2001 From: InversionSpaces Date: Fri, 21 Jun 2024 12:12:24 +0000 Subject: [PATCH 1/5] Add license header automation --- api/api/.js/src/main/scala/api/AquaAPI.scala | 16 +++++++++ .../src/main/scala/api/types/InputTypes.scala | 16 +++++++++ .../main/scala/api/types/OutputTypes.scala | 16 +++++++++ .../.jvm/src/main/scala/aqua/api/Test.scala | 16 +++++++++ .../main/scala/aqua/api/APICompilation.scala | 16 +++++++++ .../main/scala/aqua/api/AquaAPIConfig.scala | 16 +++++++++ api/api/src/main/scala/aqua/api/Imports.scala | 16 +++++++++ api/api/src/main/scala/aqua/api/package.scala | 16 +++++++++ .../src/main/scala/aqua/run/CallInfo.scala | 16 +++++++++ .../main/scala/aqua/run/CallPreparer.scala | 16 +++++++++ .../src/main/scala/aqua/run/CliFunc.scala | 16 +++++++++ .../main/scala/aqua/run/FuncCompiler.scala | 16 +++++++++ .../src/main/scala/aqua/run/RunConfig.scala | 16 +++++++++ .../src/main/scala/aqua/run/RunPreparer.scala | 16 +++++++++ .../main/scala/aqua/run/TypeValidator.scala | 16 +++++++++ .../src/main/scala/aqua/backend/Version.scala | 16 +++++++++ .../src/main/scala/aqua/backend/Version.scala | 16 +++++++++ .../src/main/scala/aqua/backend/air/Air.scala | 16 +++++++++ .../scala/aqua/backend/air/AirBackend.scala | 16 +++++++++ .../main/scala/aqua/backend/air/AirGen.scala | 16 +++++++++ .../scala/aqua/backend/air/FuncAirGen.scala | 16 +++++++++ .../scala/aqua/backend/api/APIBackend.scala | 16 +++++++++ .../scala/aqua/definitions/Definitions.scala | 16 +++++++++ .../main/scala/aqua/backend/AirFunction.scala | 16 +++++++++ .../src/main/scala/aqua/backend/Backend.scala | 16 +++++++++ .../main/scala/aqua/backend/Generated.scala | 16 +++++++++ .../src/main/scala/aqua/backend/Header.scala | 16 +++++++++ .../main/scala/aqua/backend/OutputFile.scala | 16 +++++++++ .../main/scala/aqua/backend/OutputFunc.scala | 16 +++++++++ .../scala/aqua/backend/OutputService.scala | 16 +++++++++ .../src/main/scala/aqua/backend/Types.scala | 16 +++++++++ .../aqua/backend/js/JavaScriptBackend.scala | 16 +++++++++ .../scala/aqua/backend/ts/TSFuncTypes.scala | 16 +++++++++ .../aqua/backend/ts/TSServiceTypes.scala | 16 +++++++++ .../aqua/backend/ts/TypeScriptBackend.scala | 16 +++++++++ .../aqua/backend/ts/TypeScriptCommon.scala | 16 +++++++++ .../aqua/backend/ts/TypeScriptTypes.scala | 16 +++++++++ build.sbt | 35 ++++++++++++++++++- .../scala/aqua/compiler/AirValidator.scala | 16 +++++++++ .../scala/aqua/compiler/AquaCompiled.scala | 16 +++++++++ .../scala/aqua/compiler/AquaCompiler.scala | 16 +++++++++ .../aqua/compiler/AquaCompilerConf.scala | 16 +++++++++ .../main/scala/aqua/compiler/AquaError.scala | 16 +++++++++ .../main/scala/aqua/compiler/AquaParser.scala | 16 +++++++++ .../scala/aqua/compiler/AquaProcessed.scala | 16 +++++++++ .../scala/aqua/compiler/AquaSources.scala | 16 +++++++++ .../scala/aqua/compiler/AquaWarning.scala | 16 +++++++++ .../scala/aqua/compiler/CompilerAPI.scala | 16 +++++++++ .../main/scala/aqua/compiler/package.scala | 16 +++++++++ .../aqua/compiler/AquaCompilerSpec.scala | 16 +++++++++ .../scala/aqua/compiler/FileIdString.scala | 16 +++++++++ .../main/scala/aqua/PlatformPackagePath.scala | 16 +++++++++ .../main/scala/aqua/PlatformPackagePath.scala | 16 +++++++++ io/src/main/scala/aqua/AquaIO.scala | 16 +++++++++ io/src/main/scala/aqua/Rendering.scala | 16 +++++++++ io/src/main/scala/aqua/SpanParser.scala | 16 +++++++++ .../scala/aqua/files/AquaFileSources.scala | 16 +++++++++ .../main/scala/aqua/files/AquaFilesIO.scala | 16 +++++++++ .../main/scala/aqua/files/FileModuleId.scala | 16 +++++++++ io/src/main/scala/aqua/files/Imports.scala | 16 +++++++++ io/src/main/scala/aqua/io/AquaFileError.scala | 16 +++++++++ io/src/main/scala/aqua/io/AquaPath.scala | 16 +++++++++ io/src/main/scala/aqua/io/OutputPrinter.scala | 16 +++++++++ io/src/test/scala/aqua/ImportsSpec.scala | 16 +++++++++ io/src/test/scala/aqua/RenderingSpec.scala | 16 +++++++++ .../src/main/scala/aqua/js/Definitions.scala | 16 +++++++++ .../src/main/scala/aqua/js/JsonEncoder.scala | 16 +++++++++ .../src/main/scala/aqua/js/VarJson.scala | 16 +++++++++ .../main/scala/aqua/js/CallJsFunction.scala | 17 +++++++++ .../src/main/scala/aqua/js/Conversions.scala | 16 +++++++++ .../scala/aqua/js/FluenceEnvironment.scala | 16 +++++++++ .../main/scala/aqua/js/FluenceJsTypes.scala | 16 +++++++++ .../src/main/scala/aqua/js/Npm.scala | 16 +++++++++ .../.js/src/main/scala/aqua/lsp/AquaLSP.scala | 16 +++++++++ .../src/main/scala/aqua/lsp/OutputTypes.scala | 16 +++++++++ .../main/scala/aqua/lsp/ResultHelper.scala | 16 +++++++++ .../.js/src/main/scala/aqua/lsp/TypeJs.scala | 16 +++++++++ .../.jvm/src/main/scala/aqua/lsp/Test.scala | 16 +++++++++ .../src/main/scala/aqua/lsp/LSPCompiler.scala | 16 +++++++++ .../scala/aqua/lsp/LocationsInterpreter.scala | 16 +++++++++ .../src/main/scala/aqua/lsp/LspContext.scala | 16 +++++++++ .../main/scala/aqua/lsp/LspSemantics.scala | 16 +++++++++ .../main/scala/aqua/lsp/TokenImportPath.scala | 16 +++++++++ .../src/test/scala/aqua/lsp/AquaLSPSpec.scala | 16 +++++++++ .../src/test/scala/aqua/lsp/FileLSPSpec.scala | 16 +++++++++ .../src/test/scala/aqua/lsp/Utils.scala | 16 +++++++++ .../main/scala/aqua/linker/AquaModule.scala | 16 +++++++++ .../src/main/scala/aqua/linker/Linker.scala | 16 +++++++++ .../src/main/scala/aqua/linker/Modules.scala | 16 +++++++++ .../test/scala/aqua/linker/LinkerSpec.scala | 16 +++++++++ .../aqua/model/inline/ArrowInliner.scala | 16 +++++++++ .../main/scala/aqua/model/inline/Inline.scala | 16 +++++++++ .../model/inline/MakeStructRawInliner.scala | 16 +++++++++ .../aqua/model/inline/RawValueInliner.scala | 16 +++++++++ .../scala/aqua/model/inline/TagInliner.scala | 16 +++++++++ .../inline/raw/ApplyBinaryOpRawInliner.scala | 16 +++++++++ .../inline/raw/ApplyFunctorRawInliner.scala | 16 +++++++++ .../inline/raw/ApplyIntoCopyRawInliner.scala | 16 +++++++++ .../raw/ApplyPropertiesRawInliner.scala | 16 +++++++++ .../inline/raw/ApplyStreamMapRawInliner.scala | 16 +++++++++ .../inline/raw/ApplyUnaryOpRawInliner.scala | 16 +++++++++ .../inline/raw/CallArrowRawInliner.scala | 16 +++++++++ .../inline/raw/CallServiceRawInliner.scala | 16 +++++++++ .../inline/raw/CollectionRawInliner.scala | 16 +++++++++ .../inline/raw/MakeAbilityRawInliner.scala | 16 +++++++++ .../aqua/model/inline/raw/RawInliner.scala | 16 +++++++++ .../model/inline/raw/StreamGateInliner.scala | 16 +++++++++ .../model/inline/raw/StreamRawInliner.scala | 16 +++++++++ .../aqua/model/inline/state/Arrows.scala | 16 +++++++++ .../aqua/model/inline/state/Config.scala | 16 +++++++++ .../aqua/model/inline/state/Counter.scala | 16 +++++++++ .../aqua/model/inline/state/Exports.scala | 16 +++++++++ .../model/inline/state/InliningState.scala | 16 +++++++++ .../aqua/model/inline/state/Mangler.scala | 16 +++++++++ .../aqua/model/inline/state/Scoped.scala | 16 +++++++++ .../aqua/model/inline/tag/ForTagInliner.scala | 16 +++++++++ .../aqua/model/inline/tag/IfTagInliner.scala | 16 +++++++++ .../aqua/model/inline/tag/OnTagInliner.scala | 16 +++++++++ .../model/inline/tag/StreamRestrictions.scala | 16 +++++++++ .../aqua/model/inline/tag/TryTagInliner.scala | 16 +++++++++ .../aqua/model/inline/ArrowInlinerSpec.scala | 16 +++++++++ .../inline/CollectionRawInlinerSpec.scala | 16 +++++++++ .../aqua/model/inline/CopyInlinerSpec.scala | 16 +++++++++ .../model/inline/MakeStructInlinerSpec.scala | 16 +++++++++ .../scala/aqua/model/inline/ManglerSpec.scala | 16 +++++++++ .../aqua/model/inline/ModelBuilder.scala | 16 +++++++++ .../scala/aqua/model/inline/RawBuilder.scala | 16 +++++++++ .../model/inline/RawValueInlinerSpec.scala | 16 +++++++++ .../aqua/model/inline/TagInlinerSpec.scala | 16 +++++++++ .../src/main/scala/aqua/raw/ConstantRaw.scala | 16 +++++++++ .../src/main/scala/aqua/raw/ErroredPart.scala | 16 +++++++++ model/raw/src/main/scala/aqua/raw/Raw.scala | 16 +++++++++ .../src/main/scala/aqua/raw/RawContext.scala | 16 +++++++++ .../raw/src/main/scala/aqua/raw/RawPart.scala | 16 +++++++++ .../src/main/scala/aqua/raw/ServiceRaw.scala | 16 +++++++++ .../raw/src/main/scala/aqua/raw/TypeRaw.scala | 16 +++++++++ .../main/scala/aqua/raw/arrow/ArrowRaw.scala | 16 +++++++++ .../main/scala/aqua/raw/arrow/FuncRaw.scala | 16 +++++++++ .../src/main/scala/aqua/raw/ops/Call.scala | 16 +++++++++ .../src/main/scala/aqua/raw/ops/FuncOp.scala | 16 +++++++++ .../src/main/scala/aqua/raw/ops/RawTag.scala | 16 +++++++++ .../scala/aqua/raw/ops/RawTagGivens.scala | 16 +++++++++ .../scala/aqua/raw/value/Optimization.scala | 16 +++++++++ .../scala/aqua/raw/value/PropertyRaw.scala | 16 +++++++++ .../main/scala/aqua/raw/value/ValueRaw.scala | 16 +++++++++ .../res/src/main/scala/aqua/res/AquaRes.scala | 16 +++++++++ .../res/src/main/scala/aqua/res/CallRes.scala | 16 +++++++++ .../res/src/main/scala/aqua/res/FuncRes.scala | 16 +++++++++ .../res/src/main/scala/aqua/res/MakeRes.scala | 16 +++++++++ .../src/main/scala/aqua/res/ResolvedOp.scala | 16 +++++++++ .../src/main/scala/aqua/res/ServiceRes.scala | 16 +++++++++ .../src/test/scala/aqua/res/ResBuilder.scala | 16 +++++++++ .../main/scala/aqua/model/AquaContext.scala | 16 +++++++++ .../src/main/scala/aqua/model/ArgsCall.scala | 16 +++++++++ .../src/main/scala/aqua/model/CallModel.scala | 16 +++++++++ .../src/main/scala/aqua/model/FuncArrow.scala | 16 +++++++++ model/src/main/scala/aqua/model/OpModel.scala | 16 +++++++++ .../main/scala/aqua/model/ServiceModel.scala | 16 +++++++++ .../main/scala/aqua/model/ValueModel.scala | 16 +++++++++ .../aqua/model/transform/Transform.scala | 16 +++++++++ .../model/transform/TransformConfig.scala | 16 +++++++++ .../model/transform/cursor/ChainCursor.scala | 16 +++++++++ .../model/transform/cursor/ChainZipper.scala | 16 +++++++++ .../model/transform/funcop/OpTransform.scala | 16 +++++++++ .../aqua/model/transform/funcop/Tracing.scala | 16 +++++++++ .../model/transform/pre/ArgsProvider.scala | 16 +++++++++ .../model/transform/pre/ErrorHandler.scala | 16 +++++++++ .../transform/pre/FuncPreTransformer.scala | 16 +++++++++ .../transform/pre/InitPeerCallable.scala | 16 +++++++++ .../model/transform/pre/PreTransform.scala | 16 +++++++++ .../model/transform/pre/ResultsHandler.scala | 16 +++++++++ .../topology/OpModelTreeCursor.scala | 16 +++++++++ .../model/transform/topology/PathFinder.scala | 16 +++++++++ .../model/transform/topology/Topology.scala | 16 +++++++++ .../transform/topology/TopologyPath.scala | 16 +++++++++ .../transform/topology/strategy/After.scala | 16 +++++++++ .../transform/topology/strategy/Before.scala | 16 +++++++++ .../transform/topology/strategy/Begins.scala | 16 +++++++++ .../transform/topology/strategy/Default.scala | 16 +++++++++ .../transform/topology/strategy/Ends.scala | 16 +++++++++ .../transform/topology/strategy/Fail.scala | 16 +++++++++ .../transform/topology/strategy/For.scala | 16 +++++++++ .../topology/strategy/ParGroup.scala | 16 +++++++++ .../topology/strategy/ParGroupBranch.scala | 16 +++++++++ .../transform/topology/strategy/Root.scala | 16 +++++++++ .../topology/strategy/SeqGroup.scala | 16 +++++++++ .../topology/strategy/SeqGroupBranch.scala | 16 +++++++++ .../transform/topology/strategy/SeqNext.scala | 16 +++++++++ .../topology/strategy/XorBranch.scala | 16 +++++++++ .../topology/strategy/XorGroup.scala | 16 +++++++++ .../aqua/model/transform/ModelBuilder.scala | 16 +++++++++ .../aqua/model/transform/TransformSpec.scala | 16 +++++++++ .../topology/OpModelTreeCursorSpec.scala | 16 +++++++++ .../transform/topology/PathFinderSpec.scala | 16 +++++++++ .../transform/topology/TopologySpec.scala | 16 +++++++++ .../src/main/scala/aqua/tree/TreeNode.scala | 16 +++++++++ .../scala/aqua/tree/TreeNodeCompanion.scala | 16 +++++++++ parser/src/main/scala/aqua/parser/Ast.scala | 16 +++++++++ parser/src/main/scala/aqua/parser/Expr.scala | 16 +++++++++ .../aqua/parser/ListToTreeConverter.scala | 16 +++++++++ .../src/main/scala/aqua/parser/Parser.scala | 16 +++++++++ .../main/scala/aqua/parser/ParserError.scala | 16 +++++++++ .../scala/aqua/parser/expr/AbilityExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/AliasExpr.scala | 16 +++++++++ .../aqua/parser/expr/ArrowTypeExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/ConstantExpr.scala | 16 +++++++++ .../aqua/parser/expr/DataStructExpr.scala | 16 +++++++++ .../aqua/parser/expr/FieldTypeExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/FuncExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/RootExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/ServiceExpr.scala | 16 +++++++++ .../aqua/parser/expr/func/ArrowExpr.scala | 16 +++++++++ .../parser/expr/func/AssignmentExpr.scala | 16 +++++++++ .../aqua/parser/expr/func/CallArrowExpr.scala | 16 +++++++++ .../aqua/parser/expr/func/CatchExpr.scala | 16 +++++++++ .../aqua/parser/expr/func/ClosureExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/func/CoExpr.scala | 16 +++++++++ .../parser/expr/func/DeclareStreamExpr.scala | 16 +++++++++ .../parser/expr/func/ElseOtherwiseExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/func/ForExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/func/IfExpr.scala | 16 +++++++++ .../aqua/parser/expr/func/JoinExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/func/OnExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/func/ParExpr.scala | 16 +++++++++ .../aqua/parser/expr/func/ParSeqExpr.scala | 16 +++++++++ .../parser/expr/func/PushToStreamExpr.scala | 16 +++++++++ .../aqua/parser/expr/func/ReturnExpr.scala | 16 +++++++++ .../aqua/parser/expr/func/ServiceIdExpr.scala | 16 +++++++++ .../scala/aqua/parser/expr/func/TryExpr.scala | 16 +++++++++ .../scala/aqua/parser/head/ExportExpr.scala | 16 +++++++++ .../scala/aqua/parser/head/FilenameExpr.scala | 16 +++++++++ .../scala/aqua/parser/head/FromExpr.scala | 16 +++++++++ .../main/scala/aqua/parser/head/Header.scala | 16 +++++++++ .../scala/aqua/parser/head/HeaderExpr.scala | 16 +++++++++ .../scala/aqua/parser/head/ImportExpr.scala | 16 +++++++++ .../aqua/parser/head/ImportFromExpr.scala | 16 +++++++++ .../scala/aqua/parser/head/ModuleExpr.scala | 16 +++++++++ .../main/scala/aqua/parser/head/UseExpr.scala | 16 +++++++++ .../scala/aqua/parser/head/UseFromExpr.scala | 16 +++++++++ .../scala/aqua/parser/lexer/Ability.scala | 16 +++++++++ .../main/scala/aqua/parser/lexer/Arg.scala | 16 +++++++++ .../main/scala/aqua/parser/lexer/Name.scala | 16 +++++++++ .../scala/aqua/parser/lexer/NamedArg.scala | 16 +++++++++ .../scala/aqua/parser/lexer/PropertyOp.scala | 16 +++++++++ .../main/scala/aqua/parser/lexer/QName.scala | 16 +++++++++ .../main/scala/aqua/parser/lexer/Token.scala | 16 +++++++++ .../scala/aqua/parser/lexer/TypeToken.scala | 16 +++++++++ .../scala/aqua/parser/lexer/ValueToken.scala | 16 +++++++++ .../scala/aqua/parser/lift/FileSpan.scala | 16 +++++++++ .../scala/aqua/parser/lift/LiftParser.scala | 16 +++++++++ .../main/scala/aqua/parser/lift/Span.scala | 16 +++++++++ parser/src/test/scala/aqua/AquaSpec.scala | 16 +++++++++ .../scala/aqua/parser/AbilityIdExprSpec.scala | 16 +++++++++ .../aqua/parser/AbilityValueExprSpec.scala | 16 +++++++++ .../scala/aqua/parser/AliasExprSpec.scala | 16 +++++++++ .../scala/aqua/parser/ArrowTypeExprSpec.scala | 16 +++++++++ .../aqua/parser/AssignmentExprSpec.scala | 16 +++++++++ .../scala/aqua/parser/CallArrowSpec.scala | 16 +++++++++ .../scala/aqua/parser/ClosureExprSpec.scala | 16 +++++++++ .../test/scala/aqua/parser/CoExprSpec.scala | 16 +++++++++ .../aqua/parser/CollectionExprSpec.scala | 16 +++++++++ .../aqua/parser/DataStructExprSpec.scala | 16 +++++++++ .../aqua/parser/ElseOtherwiseExprSpec.scala | 16 +++++++++ .../scala/aqua/parser/FieldTypeExprSpec.scala | 16 +++++++++ .../test/scala/aqua/parser/ForExprSpec.scala | 16 +++++++++ .../test/scala/aqua/parser/FuncExprSpec.scala | 16 +++++++++ .../test/scala/aqua/parser/IfExprSpec.scala | 16 +++++++++ .../scala/aqua/parser/IntoArrowSpec.scala | 16 +++++++++ .../test/scala/aqua/parser/OnExprSpec.scala | 16 +++++++++ .../test/scala/aqua/parser/ParExprSpec.scala | 16 +++++++++ .../scala/aqua/parser/ParSecExprSpec.scala | 16 +++++++++ .../aqua/parser/PushToStreamExprSpec.scala | 16 +++++++++ .../scala/aqua/parser/ReturnExprSpec.scala | 16 +++++++++ .../scala/aqua/parser/ServiceExprSpec.scala | 16 +++++++++ .../aqua/parser/StructValueExprSpec.scala | 16 +++++++++ .../aqua/parser/ValueTokenComplexSpec.scala | 16 +++++++++ .../scala/aqua/parser/head/FromSpec.scala | 16 +++++++++ .../aqua/parser/head/ImportFromSpec.scala | 16 +++++++++ .../scala/aqua/parser/head/ModuleSpec.scala | 16 +++++++++ .../test/scala/aqua/parser/head/UseSpec.scala | 16 +++++++++ .../aqua/parser/lexer/PropertyOpSpec.scala | 16 +++++++++ .../scala/aqua/parser/lexer/TokenSpec.scala | 16 +++++++++ .../aqua/parser/lexer/TypeTokenSpec.scala | 16 +++++++++ .../aqua/parser/lexer/ValueTokenSpec.scala | 16 +++++++++ .../aqua/parser/lexer/VarLambdaSpec.scala | 16 +++++++++ project/plugins.sbt | 1 + .../scala/aqua/semantics/CompilerState.scala | 16 +++++++++ .../main/scala/aqua/semantics/ExprSem.scala | 16 +++++++++ .../main/scala/aqua/semantics/FileId.scala | 16 +++++++++ .../scala/aqua/semantics/Levenshtein.scala | 16 +++++++++ .../src/main/scala/aqua/semantics/Prog.scala | 16 +++++++++ .../scala/aqua/semantics/RawSemantics.scala | 16 +++++++++ .../scala/aqua/semantics/SemanticError.scala | 16 +++++++++ .../aqua/semantics/SemanticWarning.scala | 16 +++++++++ .../main/scala/aqua/semantics/Semantics.scala | 16 +++++++++ .../aqua/semantics/expr/AbilitySem.scala | 16 +++++++++ .../scala/aqua/semantics/expr/AliasSem.scala | 16 +++++++++ .../aqua/semantics/expr/ArrowTypeSem.scala | 16 +++++++++ .../aqua/semantics/expr/ConstantSem.scala | 16 +++++++++ .../aqua/semantics/expr/DataStructSem.scala | 16 +++++++++ .../aqua/semantics/expr/FieldTypeSem.scala | 16 +++++++++ .../scala/aqua/semantics/expr/RootSem.scala | 16 +++++++++ .../aqua/semantics/expr/ServiceSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/ArrowSem.scala | 16 +++++++++ .../semantics/expr/func/AssignmentSem.scala | 16 +++++++++ .../semantics/expr/func/CallArrowSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/CatchSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/ClosureSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/CoSem.scala | 16 +++++++++ .../expr/func/DeclareStreamSem.scala | 16 +++++++++ .../expr/func/ElseOtherwiseSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/ForSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/FuncSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/IfSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/JoinSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/OnSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/ParSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/ParSeqSem.scala | 16 +++++++++ .../semantics/expr/func/PushToStreamSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/ReturnSem.scala | 16 +++++++++ .../semantics/expr/func/ServiceIdSem.scala | 16 +++++++++ .../aqua/semantics/expr/func/TrySem.scala | 16 +++++++++ .../aqua/semantics/header/ExportSem.scala | 16 +++++++++ .../aqua/semantics/header/HeaderHandler.scala | 16 +++++++++ .../aqua/semantics/header/HeaderSem.scala | 16 +++++++++ .../aqua/semantics/header/ModuleSem.scala | 16 +++++++++ .../scala/aqua/semantics/header/Picker.scala | 16 +++++++++ .../scala/aqua/semantics/header/package.scala | 16 +++++++++ .../semantics/rules/StackInterpreter.scala | 16 +++++++++ .../aqua/semantics/rules/ValuesAlgebra.scala | 16 +++++++++ .../rules/abilities/AbilitiesAlgebra.scala | 16 +++++++++ .../abilities/AbilitiesInterpreter.scala | 16 +++++++++ .../rules/abilities/AbilitiesState.scala | 16 +++++++++ .../definitions/DefinitionsAlgebra.scala | 16 +++++++++ .../definitions/DefinitionsInterpreter.scala | 16 +++++++++ .../rules/definitions/DefinitionsState.scala | 16 +++++++++ .../locations/DummyLocationsInterpreter.scala | 16 +++++++++ .../rules/locations/LocationsAlgebra.scala | 16 +++++++++ .../rules/locations/LocationsState.scala | 16 +++++++++ .../rules/locations/VariableInfo.scala | 16 +++++++++ .../semantics/rules/locations/Variables.scala | 16 +++++++++ .../rules/mangler/ManglerAlgebra.scala | 16 +++++++++ .../rules/mangler/ManglerInterpreter.scala | 16 +++++++++ .../semantics/rules/names/NamesAlgebra.scala | 16 +++++++++ .../rules/names/NamesInterpreter.scala | 16 +++++++++ .../semantics/rules/names/NamesState.scala | 16 +++++++++ .../rules/report/ReportAlgebra.scala | 16 +++++++++ .../rules/report/ReportInterpreter.scala | 16 +++++++++ .../semantics/rules/report/ReportState.scala | 16 +++++++++ .../rules/types/TypeResolution.scala | 16 +++++++++ .../semantics/rules/types/TypesAlgebra.scala | 16 +++++++++ .../rules/types/TypesInterpreter.scala | 16 +++++++++ .../semantics/rules/types/TypesState.scala | 16 +++++++++ .../scala/aqua/semantics/ArrowSemSpec.scala | 16 +++++++++ .../scala/aqua/semantics/ClosureSemSpec.scala | 16 +++++++++ .../scala/aqua/semantics/HeaderSpec.scala | 16 +++++++++ .../scala/aqua/semantics/SemanticsSpec.scala | 16 +++++++++ .../aqua/semantics/TypeResolutionSpec.scala | 16 +++++++++ .../src/test/scala/aqua/semantics/Utils.scala | 16 +++++++++ .../aqua/semantics/ValuesAlgebraSpec.scala | 16 +++++++++ .../main/scala/aqua/types/CompareTypes.scala | 16 +++++++++ .../scala/aqua/types/IntersectTypes.scala | 16 +++++++++ .../scala/aqua/types/ScalarsCombine.scala | 16 +++++++++ types/src/main/scala/aqua/types/Type.scala | 16 +++++++++ .../main/scala/aqua/types/UniteTypes.scala | 16 +++++++++ .../scala/aqua/types/IntersectTypesSpec.scala | 16 +++++++++ .../src/test/scala/aqua/types/TypeSpec.scala | 16 +++++++++ .../scala/aqua/types/TypeVarianceSpec.scala | 16 +++++++++ .../scala/aqua/types/UniteTypesSpec.scala | 16 +++++++++ types/src/test/scala/aqua/types/package.scala | 16 +++++++++ .../main/scala/aqua.constants/Constants.scala | 16 +++++++++ .../src/main/scala/aqua/errors/Errors.scala | 16 +++++++++ .../main/scala/aqua/helpers/data/PName.scala | 16 +++++++++ .../scala/aqua/helpers/ext/Extension.scala | 16 +++++++++ .../scala/aqua/helpers/syntax/eithert.scala | 16 +++++++++ .../main/scala/aqua/helpers/syntax/list.scala | 16 +++++++++ .../scala/aqua/helpers/syntax/optiont.scala | 16 +++++++++ .../scala/aqua/helpers/syntax/reader.scala | 16 +++++++++ .../main/scala/aqua/helpers/tree/Tree.scala | 16 +++++++++ .../scala/aqua/logging/LogFormatter.scala | 16 +++++++++ .../main/scala/aqua/logging/LogLevel.scala | 16 +++++++++ .../main/scala/aqua/logging/LogLevels.scala | 16 +++++++++ .../scala/aqua/mangler/ManglerState.scala | 16 +++++++++ 383 files changed, 6132 insertions(+), 1 deletion(-) diff --git a/api/api/.js/src/main/scala/api/AquaAPI.scala b/api/api/.js/src/main/scala/api/AquaAPI.scala index cc99f9b60..fbea424cf 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 7d62125af..e3de681ff 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 05807d0fe..be27e1424 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 295480d71..feae34c19 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 ce947a1e6..660981ac2 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 ba4527eb9..6fab43393 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 880dad2fd..0a1d80438 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 ed61948ae..37941a58b 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 10446b84e..e7b2f88bb 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 7b9bb304a..b25998c36 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 ce6522348..d306e476e 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 cc02acb46..60cbae588 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 ca8ef3cd2..5c86130c6 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 279d01fd1..c076d6c00 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 6b4406bb1..7484683e5 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 fba5f4bbb..f6dd820d3 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 e274d6160..86079a274 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 a18b1f0a5..1d92dfa23 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 9b92a3554..332062de8 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 90e716f5f..26bad6682 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 ea4cbdacf..aae9540e5 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 a8d683e88..f068c3427 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 5a0379ed9..50d7eb057 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 87bfe013a..8c5f4881f 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 e20dc3d5b..600ba42e9 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 8ae7d84f1..cefca5833 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 6df68bcf9..328373299 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 87667ecea..d8bb24fcc 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 a2943e481..7bacf3ead 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 632a0f951..c137c97b6 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 4130db557..803d1cf1b 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 da2fd0243..f4b09cfa4 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 4a89844e2..f7b305b0b 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 836621b8e..005f40d97 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 f75f912c6..99adddfe9 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 5541d83e1..0db7e44f1 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 7ddaf4fd4..6db57922c 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 bed252692..e0ac878f2 100644 --- a/build.sbt +++ b/build.sbt @@ -43,7 +43,11 @@ val commons = Seq( ) }, // Needed to resolve snapshot versions - resolvers ++= Resolver.sonatypeOssRepos("snapshots") + resolvers ++= Resolver.sonatypeOssRepos("snapshots"), + // License related settings + organizationName := "Fluence DAO", + licenses += ("AGPL-3.0-only", new URI("https://www.gnu.org/licenses/agpl-3.0.txt").toURL()), + startYear := Some(2024) ) commons @@ -54,6 +58,7 @@ lazy val `aqua-run` = crossProject(JSPlatform, JVMPlatform) .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 +71,14 @@ lazy val io = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(compiler, parser, helpers) + .enablePlugins(AutomateHeaderPlugin) lazy val ioJS = io.js .settings( scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule)) ) .dependsOn(`js-imports`) + .enablePlugins(AutomateHeaderPlugin) lazy val `language-server-api` = crossProject(JSPlatform, JVMPlatform) .withoutSuffixFor(JVMPlatform) @@ -85,6 +92,7 @@ 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( @@ -94,12 +102,14 @@ lazy val `language-server-apiJS` = `language-server-api`.js .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,6 +123,7 @@ 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( @@ -123,6 +134,7 @@ lazy val `aqua-apiJS` = `aqua-api`.js .settings(addBundleJS("../../api-npm/aqua-api.js")) .enablePlugins(ScalaJSPlugin) .dependsOn(`js-exports`) + .enablePlugins(AutomateHeaderPlugin) lazy val types = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -134,6 +146,7 @@ lazy val types = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(errors) + .enablePlugins(AutomateHeaderPlugin) lazy val parser = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -146,12 +159,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 +179,7 @@ lazy val tree = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(helpers) + .enablePlugins(AutomateHeaderPlugin) lazy val raw = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -171,12 +187,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 +202,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 +210,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 +218,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 +233,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 +246,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 +261,7 @@ lazy val definitions = crossProject(JVMPlatform, JSPlatform) ).map(_ % circeVersion) ) .dependsOn(res, types) + .enablePlugins(AutomateHeaderPlugin) lazy val logging = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -248,6 +273,7 @@ lazy val logging = crossProject(JVMPlatform, JSPlatform) "org.typelevel" %%% "cats-core" % catsV ) ) + .enablePlugins(AutomateHeaderPlugin) lazy val mangler = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -259,6 +285,7 @@ lazy val mangler = crossProject(JVMPlatform, JSPlatform) "org.typelevel" %%% "cats-core" % catsV ) ) + .enablePlugins(AutomateHeaderPlugin) lazy val constants = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -271,6 +298,7 @@ lazy val constants = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(parser, raw) + .enablePlugins(AutomateHeaderPlugin) lazy val helpers = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -284,6 +312,7 @@ lazy val helpers = crossProject(JVMPlatform, JSPlatform) ) ) .dependsOn(errors) + .enablePlugins(AutomateHeaderPlugin) lazy val errors = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -295,6 +324,7 @@ lazy val errors = crossProject(JVMPlatform, JSPlatform) "com.lihaoyi" %%% "sourcecode" % sourcecodeV ) ) + .enablePlugins(AutomateHeaderPlugin) lazy val `backend-air` = crossProject(JVMPlatform, JSPlatform) .withoutSuffixFor(JVMPlatform) @@ -302,6 +332,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 +340,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 +355,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 3794ac175..5b2f002fa 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 75f7af0f2..266714fee 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 c56135458..a0bbe461f 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 ae60bff17..027d9cd78 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 3407b7ba6..afe17ede5 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 952fec14a..60814b4ff 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 cfccba198..6f99b1d94 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 8ea979cef..011f03fee 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 1e6a20214..190f5acfc 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 dab734a50..384dd28dc 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 4acac30b0..5b6e86a11 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 ee3b38676..d2f0aa949 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 dbc8743cb..80951dee2 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/io/.js/src/main/scala/aqua/PlatformPackagePath.scala b/io/.js/src/main/scala/aqua/PlatformPackagePath.scala index ac5e38e65..0c9a608de 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 6932b6d6c..8bffbb952 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 822b08d49..e68224205 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 3fabcd945..9415a4fed 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 11aa332ad..09f199e29 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 a5205eae1..b37402cc6 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 c15bced10..d8f1fe78e 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 86f084f4f..9c8ce070a 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 36a2d05e6..0d0540eea 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 1f59344d8..bab3b8c0a 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 39e28757c..bbecc5714 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 3ff74edf0..0cfcf79af 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 c463fd1b7..a9478d370 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 976bd82fa..de79c85c0 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 83afb002d..306a7c666 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 df260e918..3cafe212d 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 a9c6e5732..f482142b5 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 4187ee108..9cb8020bc 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 0667ad1d7..722ecc82c 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 988b799ae..8f5015f77 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 0e7e127fa..ea35fa1ac 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 06e711e68..1ccd4f27f 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 d442c5658..ef755c1f4 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 145b4b32e..80ee7c833 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 252d3c06d..92a1829e4 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 d20d4f3ce..e18567940 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 c5eb9ebce..4c6f51697 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 b0f715b75..0bd6d0240 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 2ddacff3c..c0378b2c7 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 4cc82d42f..9ecf38901 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 326c8ea4f..cdc2f7ab6 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 2b00ba831..d65d470d9 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 b570f6974..06f4241ee 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 f176f9729..455e24c0b 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 72f8a2d3f..5e4a5b830 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/linker/src/main/scala/aqua/linker/AquaModule.scala b/linker/src/main/scala/aqua/linker/AquaModule.scala index 243faeecc..d4060c9fc 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 82d651955..e2a77a829 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 35a481596..1615062b4 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 09d8b8d2e..3a7282ef8 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 3385fb787..10962179a 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 a045c37cb..743170619 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 baa59d2d4..842a688f9 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 63d4549c1..40bb331e6 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 b69b1e12e..b33bf935f 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 b52ceb0ff..749315e5e 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 d4ad9e1db..000a940ce 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 144e5ae25..c85f9d225 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 0c4002b15..098979c8a 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 3edbac184..e24dd4725 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 2b128c88d..8cd6a14cf 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 d88e17595..27c5ff2c2 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 e723a4428..4cd8ff395 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 538f674c6..a4a87e8a4 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 ea8ba2449..433cfbcc2 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 ffeb10adf..06216bca1 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 c6ef88e2b..c35eca771 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 50fb8470e..254215f4b 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 e6fbf5475..f887a553e 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 7fc5dd235..8fa091487 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 4a3126d7b..1db54860d 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 561ff3fc7..e16034c77 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 3eed4c20f..7e3266f0d 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 3e3b4c86c..6f29cf418 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 e5889bab8..4ca5e2c60 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 75bc9c897..dc0514b71 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 9ff2b4479..2a32eacce 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 ec09edae8..53e787ebe 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 dbed2f5b7..e3697c59b 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 1fa1ba9ec..7639428cf 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 9e3d2f7dc..4c7a93201 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 55340d163..45c3346f1 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 844f144d2..164550b18 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 6ab853952..44e5250e6 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 df17745f7..cc21e6a6b 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 2d147c241..43c25e2ea 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 67dae9101..17dabe3a6 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 f095b0f42..fef89214b 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 a0a67a2c9..0644f6f1a 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 0522273b6..262eeac18 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 b772ecf8a..58adbf3e5 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 f6c5c9d8e..ad3491eeb 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 ff021c969..c8acc3337 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 005eb4ca5..fe2613056 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 3685a11a7..9cc70d72c 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 5bb556fed..807650781 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 4216988cf..630bb3901 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 325661384..aaf45d924 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 cbbbafb0c..ec3c8a74c 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 50fb6155f..52727c2df 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 d447cd9ce..76ba7a330 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 ec519fb44..12a7f8926 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 412de4cff..0ba16f7cc 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 1be913dab..8070c243e 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 a082ed723..46ae26b99 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 cf92996a9..d4205e6bc 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 c19ada0a2..3504a8fc7 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 645683ec9..f71d2d9a5 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 59bba966c..400b96493 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 22ad3bb9c..148c31006 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 e46bca5ce..bc543b378 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 0b173345e..ae7ea2e3d 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 135374fc4..833fd9c9b 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 49a934f9e..b7bf09aa0 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 013b590e2..51ebf5648 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 c2be05af5..bf2a95103 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 3ca93ccca..cd851f129 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 526256a0b..5c0ee960d 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 94d460019..a8ce539cc 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 875fdfb05..79fb79dcd 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 09c1b086a..c76a874ec 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 1b2c994e1..deab12ec6 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 1139eb3b1..7b265683c 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 2c9130056..0e1a9e063 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 79815fedc..aae06a0f3 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 a971dece2..c1bbc4e50 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 2505f7c7a..4e0744d47 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 2abe78408..a8b506a5a 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 f2f2f165e..15a749111 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 2abbdf53d..35525700c 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 643cddf80..6ecd2106a 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 2e5f8dcca..7500e0a48 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 390a3a4ca..81d279349 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 7296872d7..da1d43147 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 da3edb732..09ff5482f 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 5ddcfb871..643f66299 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 ea2f64dfe..88fa35d1b 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 9bf9e0436..4917a7866 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 57581f6a4..650bff4d1 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 54b988d90..bfcf66e40 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 7a75891a7..c4ac3f875 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 67779ae34..ebdb57625 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 bf8356726..2a5041b61 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 3fce19664..6d727f7f2 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 3ba159742..e5bfee6bf 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 af217edf5..53f9dcf96 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 7ff40b7d9..63888cc74 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 d1e6d9896..9a33a1633 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 b1615b082..0935c0eaa 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 4f8677e95..d0324eb21 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 e6fa26c62..6d58d79d0 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 879104da3..5485e328e 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 162bb2a80..d3de850d5 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 3b3176208..27b36e062 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 632d3fd11..9aab0c811 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 9656afab2..0f101cecc 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 7bc42214c..cced9db1b 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 727c0c850..b0f296acd 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 54bfd5a87..74af994a3 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 d356e6818..cab03f1d8 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 feb94a0aa..cd741dade 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 b6f585dc9..9481c0a74 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 fa33bacb1..c64b54dcb 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 1fe257a36..509695dbb 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 44f23f29f..5b0c0ba44 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 5396c37b2..65aeb5fb9 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 81904b618..9a816b113 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 25477c8d5..5dc6a6487 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 7d2ceb24d..07889d6c7 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 4b92b5fe2..5abc43d05 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 bce960bf8..95f1b855d 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 7f1ea934a..3942b20b7 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 3f1e2a92d..05471ac5e 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 735beb79b..d2fab83e1 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 161647903..853bbffc1 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 0360bd721..fa9a450da 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 eaec6d4a8..6d27e7cbe 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 ee5bf7f04..229784733 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 37bfbbfd2..6f6d5abe7 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 9d5edf5d1..923eb1e38 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 1390719c4..9c5dbc6bb 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 bc8163be6..9b7c92b1d 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 0a56b9092..a1016d268 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 1c48a363b..803e0e2d3 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 222738551..19697d748 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 102f45d2d..9a2ebddf4 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 36e101fc7..209416f1e 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 c710fbb69..4fa154e20 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 a5874c0a3..8cfeb21f5 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 854dacc4a..abcccef54 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 ae7c8f714..46d91e356 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 a39ef0484..863a1c9f9 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 67bc71a38..fa8189339 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 851fb479b..b0c34e6b3 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 ab4c32105..85b49fe97 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 e69872c08..3b7e407f0 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 3d63f5adc..db0f5a5fb 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 b2f79fc2b..4b72648c8 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 a530a7d6a..b126e914c 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 c7e239eba..5aa7469c2 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 2abfd3744..ab1e7ef73 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 c2749cfdd..6df3bfa8d 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 8891d812b..0b8fc27a9 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 014b0984c..85a6ae1b3 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 9a01fcf30..4d24a9aa5 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 3490afd0b..9a0ca7593 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 ad402744d..2c53aae6c 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 4b3dc62e4..29ef262b9 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 ea991e093..2ae3e8f28 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 467010420..a77ff807e 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 1189552a1..58ea8c634 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 9f22808be..8f3dbecc8 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 ba989ebad..f6a3db302 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 b0dd4dccf..2853ca640 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 e998aef11..aa033dab8 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 6ecf701a7..b00c787b8 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 55ec978b6..f76f1fbe5 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 c659508d5..4cefb4cf6 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 ae24ee67f..c3efc4da5 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 153583ff3..d5f192caf 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 a42441ba8..c1cb0408b 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 bfa583aac..e8c2c4ef8 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 349b0b4b4..247106ef6 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 796f08d7a..cc31850c8 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 79f454b2a..6081b4db9 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 ba4410a93..981728341 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 dc247e710..570b3e9ea 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 9253066e7..523b82bed 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 2f8c5b67b..bf2d31637 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 3b4ca676a..4668788a1 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 5669af3f5..698f52ebf 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 4a909b94d..aff0f6e26 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 459f6b10a..23e1217b7 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 cc4248659..c5fa6d555 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 b237a5fb0..b038978c2 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 1f96fc90d..aaf7537cc 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 1f5d0e78e..78068ae56 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 0eee238ac..d7e2d0682 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 6c418cf34..1220fa863 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 06cfe5301..6301c661b 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 ae9b08792..670bf7730 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 63811e0af..b29e7039c 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 10ea49ce8..a02ba0557 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 38af030f8..a8276c427 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 890d726d1..05848add7 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 1ee4aa34c..54dfd059d 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 df9133052..eaabc9877 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 1c04cd957..b23e0c2ba 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 bb34002a4..a9b0b04e2 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 e7eb36340..d1f88d40a 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 813a000b1..14a65cefd 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 89a9daa0c..4bb102416 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 08829a910..702e72782 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 f23d5ca3f..d349fb63e 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 9eebb9aa9..637340af3 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 1256e5901..1aac4281c 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 fd5709cdd..3905229d2 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 3cf7625a2..88f00ab44 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 fea616f58..de69851fb 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 82349660f..c5fe33494 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 1a22c2c2e..1513ec032 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 d923dc097..d21191623 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 aeae2f201..cbb33ea0c 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 f4ac5f575..0f84e9ff2 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 6f401e61e..157caa804 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 f3004d372..dd59d7547 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 c2a57c321..fc45ea747 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 7cd48a282..5ee5cc02c 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 c1539c7c5..281a32819 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 d8e18ed4c..45a8f32af 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 ce74c18b5..a41674fca 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 8890d3548..c41562ca9 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 6fd498842..6c6169a29 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 006a3cd36..06d95f17e 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 aa94e077a..099297b74 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 b19c71a69..70edea10f 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 957c04e74..3a443d829 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 0e73db156..483207726 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 e2e1c790a..4c83b90fb 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 9f233b1b1..11fcfe777 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 32dfc65a4..d107b0240 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 d7718ba16..c127ed575 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 5b64efa6d..dfd45c877 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 832d66e5b..2fde98955 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 8767a7832..2b2aefc48 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 712b2243c..d2ad56647 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 09dc08d31..85d5fd1e8 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 53ebdfc6d..4d751499a 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 714e12620..8bbf270f5 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 1b490d656..ff91527ea 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 175ba69c6..b25d63f27 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 e6d4c84f0..0693b66ec 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 c1251d1f3..c30d09924 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 c44b99eda..950bd5e7c 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 43e75ea02..7b478c497 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 595b6c065..8cb3c738c 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 c49d72ed8..a929e51eb 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 59b4864dc..0fa0fbbe1 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 745a6e858..c70ef9ca0 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 efca87c09..8d116d5c3 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 688bef106..cf4afabb9 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 4a620c755..6ad26af6b 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 ef97b0a6c..81a3d9b57 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 9bf0d2bc8..4bfb9f68f 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 a2de37a75..bf6d97ac1 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 1875967a9..a76281eac 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 c3d069620..b8ea96b65 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 d87be5012..efa7a89cf 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 e52b82993..2705e2034 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 99a9fa46d..9a79ffca5 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 da6b5456d..460210e04 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 c02616661..eba37d109 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 4ab1d3597..71e7a53be 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 392427052..4fe8fbdcf 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 252b6b599..378fff4ea 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 b04614fc1..b6b4526b2 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 2b39568f8..0351e2fef 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 fe57e1890..9d080156c 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 b00280be8..0a853317b 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 85ce9a149..37a0d94b0 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 1b7a293a0..3eb4c7bf1 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 88d8938ef..704cfafc3 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 a9a999491..4a9a612ba 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 63c5b31be..21a53c3e5 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 ec606ca6e..70f05e2bf 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 42b4ed8b0..3e25f94bf 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 07ee71d31..61dda2475 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 2aee2d5fb..960c17316 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 9db2906f9..42a31d586 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 fba26edda..b04edd546 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 b5e8f29bf..c4b38db3e 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 caa83ab12..84890c9a7 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 c09fdf988..756865414 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 1393f65f1..678ccbd2d 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 3e30c84b5..fe5ec9ac2 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 aacb49d17..10217166b 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 d191c8d38..ee0456e87 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 9fac6b234..60a2f0887 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 3ed2c68c6..61ca3e217 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 62cacf1be..fb0af80dd 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 612e8f62e..22b13e20a 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 c34fd26d3..4bea68356 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 689c56c68..4db9b01ac 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 From eca3573bc0e643ab4d509b937d59f9d13d53ceda Mon Sep 17 00:00:00 2001 From: InversionSpaces Date: Fri, 21 Jun 2024 12:16:17 +0000 Subject: [PATCH 2/5] Add header check to CI --- .github/workflows/sbt-tests.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sbt-tests.yml b/.github/workflows/sbt-tests.yml index e7f3d951a..31ba2ef3a 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" From 3d2d9478ee96db046c02fa57f1bdbeeb786c7073 Mon Sep 17 00:00:00 2001 From: InversionSpaces Date: Fri, 21 Jun 2024 13:08:00 +0000 Subject: [PATCH 3/5] Add headers to ScalaJS generated files --- build.sbt | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) diff --git a/build.sbt b/build.sbt index e0ac878f2..9fcd32da5 100644 --- a/build.sbt +++ b/build.sbt @@ -50,8 +50,6 @@ val commons = Seq( startYear := Some(2024) ) -commons - lazy val `aqua-run` = crossProject(JSPlatform, JVMPlatform) .withoutSuffixFor(JVMPlatform) .crossType(CrossType.Pure) @@ -75,7 +73,7 @@ lazy val io = crossProject(JVMPlatform, JSPlatform) lazy val ioJS = io.js .settings( - scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule)) + scalaJSLinkerConfig := updatedScalaJSLinkerConfig(ModuleKind.CommonJSModule).value ) .dependsOn(`js-imports`) .enablePlugins(AutomateHeaderPlugin) @@ -96,7 +94,7 @@ lazy val `language-server-api` = crossProject(JSPlatform, JVMPlatform) lazy val `language-server-apiJS` = `language-server-api`.js .settings( - scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.CommonJSModule)), + scalaJSLinkerConfig := updatedScalaJSLinkerConfig(ModuleKind.CommonJSModule).value, scalaJSUseMainModuleInitializer := false ) .settings(addBundleJS("../../language-server-npm/aqua-lsp-api.js")) @@ -127,7 +125,7 @@ lazy val `aqua-api` = crossProject(JSPlatform, JVMPlatform) lazy val `aqua-apiJS` = `aqua-api`.js .settings( - scalaJSLinkerConfig ~= (_.withModuleKind(ModuleKind.ESModule)), + scalaJSLinkerConfig := updatedScalaJSLinkerConfig(ModuleKind.ESModule).value, scalaJSUseMainModuleInitializer := true, Test / test := {} ) @@ -356,3 +354,15 @@ lazy val `backend-ts` = crossProject(JVMPlatform, JSPlatform) ) .dependsOn(`backend-air`, definitions) .enablePlugins(AutomateHeaderPlugin) + +def updatedScalaJSLinkerConfig( + moduleKind: org.scalajs.linker.interface.ModuleKind +): Def.Initialize[org.scalajs.linker.interface.StandardConfig] = + Def.setting { + val originalConfig = scalaJSLinkerConfig.value + val licenseText = headerLicense.value + // ScalaJS requires \n at the end + .map(license => s"/*${license.text}*/\n") + .getOrElse(sys.error("Unable to auto detect project license")) + originalConfig.withModuleKind(moduleKind).withJSHeader(licenseText) + } From b7ca9d96f3692031c05de7b4fda763b01513049b Mon Sep 17 00:00:00 2001 From: InversionSpaces Date: Fri, 21 Jun 2024 14:26:49 +0000 Subject: [PATCH 4/5] Rework build.sbt --- build.sbt | 58 +++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 37 insertions(+), 21 deletions(-) diff --git a/build.sbt b/build.sbt index 9fcd32da5..5fb6b63e6 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, @@ -43,11 +63,7 @@ val commons = Seq( ) }, // Needed to resolve snapshot versions - resolvers ++= Resolver.sonatypeOssRepos("snapshots"), - // License related settings - organizationName := "Fluence DAO", - licenses += ("AGPL-3.0-only", new URI("https://www.gnu.org/licenses/agpl-3.0.txt").toURL()), - startYear := Some(2024) + resolvers ++= Resolver.sonatypeOssRepos("snapshots") ) lazy val `aqua-run` = crossProject(JSPlatform, JVMPlatform) @@ -72,8 +88,12 @@ lazy val io = crossProject(JVMPlatform, JSPlatform) .enablePlugins(AutomateHeaderPlugin) lazy val ioJS = io.js + .settings(licenseSettings) .settings( - scalaJSLinkerConfig := updatedScalaJSLinkerConfig(ModuleKind.CommonJSModule).value + scalaJSLinkerConfig ~= ( + _.withModuleKind(ModuleKind.CommonJSModule) + .withJSHeader(s"/*${license.text}*/\n") + ) ) .dependsOn(`js-imports`) .enablePlugins(AutomateHeaderPlugin) @@ -93,8 +113,12 @@ lazy val `language-server-api` = crossProject(JSPlatform, JVMPlatform) .enablePlugins(AutomateHeaderPlugin) lazy val `language-server-apiJS` = `language-server-api`.js + .settings(licenseSettings) .settings( - scalaJSLinkerConfig := updatedScalaJSLinkerConfig(ModuleKind.CommonJSModule).value, + scalaJSLinkerConfig ~= ( + _.withModuleKind(ModuleKind.CommonJSModule) + .withJSHeader(s"/*${license.text}*/\n") + ), scalaJSUseMainModuleInitializer := false ) .settings(addBundleJS("../../language-server-npm/aqua-lsp-api.js")) @@ -124,8 +148,12 @@ lazy val `aqua-api` = crossProject(JSPlatform, JVMPlatform) .enablePlugins(AutomateHeaderPlugin) lazy val `aqua-apiJS` = `aqua-api`.js + .settings(licenseSettings) .settings( - scalaJSLinkerConfig := updatedScalaJSLinkerConfig(ModuleKind.ESModule).value, + scalaJSLinkerConfig ~= ( + _.withModuleKind(ModuleKind.ESModule) + .withJSHeader(s"/*${license.text}*/\n") + ), scalaJSUseMainModuleInitializer := true, Test / test := {} ) @@ -354,15 +382,3 @@ lazy val `backend-ts` = crossProject(JVMPlatform, JSPlatform) ) .dependsOn(`backend-air`, definitions) .enablePlugins(AutomateHeaderPlugin) - -def updatedScalaJSLinkerConfig( - moduleKind: org.scalajs.linker.interface.ModuleKind -): Def.Initialize[org.scalajs.linker.interface.StandardConfig] = - Def.setting { - val originalConfig = scalaJSLinkerConfig.value - val licenseText = headerLicense.value - // ScalaJS requires \n at the end - .map(license => s"/*${license.text}*/\n") - .getOrElse(sys.error("Unable to auto detect project license")) - originalConfig.withModuleKind(moduleKind).withJSHeader(licenseText) - } From 93e75fa9c41801aa32bc04eef7ae0116010b369e Mon Sep 17 00:00:00 2001 From: DieMyst Date: Mon, 24 Jun 2024 18:45:27 +0700 Subject: [PATCH 5/5] chenge licenses in .js/.ts files and in package.json files --- api/api-example/index.js | 16 ++++++++++++++++ api/api-example/package.json | 2 +- api/api-npm/index.d.ts | 16 ++++++++++++++++ api/api-npm/index.js | 16 ++++++++++++++++ api/api-npm/meta-utils.js | 16 ++++++++++++++++ api/api-npm/package.json | 2 +- integration-tests/src/__test__/examples.spec.ts | 16 ++++++++++++++++ integration-tests/src/__test__/lsp-types.spec.ts | 16 ++++++++++++++++ integration-tests/src/compile.ts | 16 ++++++++++++++++ integration-tests/src/config.ts | 16 ++++++++++++++++ integration-tests/src/examples/abilityCall.ts | 16 ++++++++++++++++ .../src/examples/abilityClosureCall.ts | 16 ++++++++++++++++ .../src/examples/abilityClosureRenameCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/assignment.ts | 16 ++++++++++++++++ integration-tests/src/examples/boolAlgebra.ts | 16 ++++++++++++++++ integration-tests/src/examples/callArrowCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/canonCall.ts | 16 ++++++++++++++++ .../src/examples/closureArrowCapture.ts | 16 ++++++++++++++++ .../src/examples/closureReturnRename.ts | 16 ++++++++++++++++ .../src/examples/closureStreamScopesCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/closures.ts | 16 ++++++++++++++++ integration-tests/src/examples/coCall.ts | 16 ++++++++++++++++ .../src/examples/collectionSugarCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/complex.ts | 16 ++++++++++++++++ integration-tests/src/examples/constantsCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/dataAliasCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/declareCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/errorClear.ts | 16 ++++++++++++++++ integration-tests/src/examples/foldCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/foldJoinCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/funcCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/funcsCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/functorsCall.ts | 16 ++++++++++++++++ .../src/examples/handleResultError.ts | 16 ++++++++++++++++ integration-tests/src/examples/helloWorldCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/ifCall.ts | 16 ++++++++++++++++ .../src/examples/ifPropagateErrors.ts | 16 ++++++++++++++++ integration-tests/src/examples/import2Call.ts | 16 ++++++++++++++++ integration-tests/src/examples/joinCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/mathCall.ts | 16 ++++++++++++++++ .../src/examples/multiReturnCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/nestedDataCall.ts | 16 ++++++++++++++++ .../src/examples/nestedFuncsCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/objectCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/onCall.ts | 16 ++++++++++++++++ .../src/examples/onErrorPropagation.ts | 16 ++++++++++++++++ integration-tests/src/examples/optionsCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/parCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/parSeqCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/passArgsCall.ts | 16 ++++++++++++++++ .../src/examples/pushToStreamCall.ts | 16 ++++++++++++++++ .../recursiveStreams/multiRecStreamCall.ts | 16 ++++++++++++++++ .../src/examples/recursiveStreams/nestedCall.ts | 16 ++++++++++++++++ .../examples/recursiveStreams/pipelineCall.ts | 16 ++++++++++++++++ .../src/examples/recursiveStreams/rangeCall.ts | 16 ++++++++++++++++ .../examples/recursiveStreams/remoteRecCall.ts | 16 ++++++++++++++++ .../examples/recursiveStreams/yesNoStreamCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/renameVars.ts | 16 ++++++++++++++++ .../src/examples/returnArrowCall.ts | 16 ++++++++++++++++ .../src/examples/returnLiteralCall.ts | 16 ++++++++++++++++ .../src/examples/servicesAsAbilities.ts | 16 ++++++++++++++++ integration-tests/src/examples/streamArgsCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/streamCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/streamCallback.ts | 16 ++++++++++++++++ integration-tests/src/examples/streamCanCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/streamCapture.ts | 16 ++++++++++++++++ .../src/examples/streamMapAbilitiesCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/streamMapCall.ts | 16 ++++++++++++++++ .../src/examples/streamMapCapture.ts | 16 ++++++++++++++++ .../src/examples/streamMapRestrictionsCall.ts | 16 ++++++++++++++++ .../src/examples/streamRestrictionsCall.ts | 16 ++++++++++++++++ .../src/examples/streamResultsCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/streamReturn.ts | 16 ++++++++++++++++ integration-tests/src/examples/streamScopes.ts | 16 ++++++++++++++++ .../src/examples/structuralTypingCall.ts | 16 ++++++++++++++++ .../src/examples/subImportUsageCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/topologyCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/tryCatchCall.ts | 16 ++++++++++++++++ .../src/examples/tryOtherwiseCall.ts | 16 ++++++++++++++++ .../src/examples/useOptionalCall.ts | 16 ++++++++++++++++ integration-tests/src/examples/viaCall.ts | 16 ++++++++++++++++ integration-tests/src/index.ts | 16 ++++++++++++++++ integration-tests/src/local-nodes.ts | 16 ++++++++++++++++ .../language-server-npm/aqua-lsp-api.d.ts | 16 ++++++++++++++++ language-server/language-server-npm/package.json | 2 +- 85 files changed, 1315 insertions(+), 3 deletions(-) diff --git a/api/api-example/index.js b/api/api-example/index.js index f2cbe1378..b4b242f27 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 b832c3cf2..4d6d71dae 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 2aa63e9a6..ceadc66c0 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 b1581c1a9..0573689ce 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 d293c99d9..2849d06b4 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 d607730b8..a52e9e1a1 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/integration-tests/src/__test__/examples.spec.ts b/integration-tests/src/__test__/examples.spec.ts index 52f2eae74..6d7de7a74 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 be7b1bd84..5d1d30b5c 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 dab03c7a0..793b036a8 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 756477fb6..09745de65 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 735668221..acb9c83ec 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 cc06b9993..2bdd1b51f 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 e5769e424..6c1444be5 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 41556fc32..f435680d2 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 5c49638e5..036dd6459 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 6ab6c1140..7a364a92c 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 ed33851a9..557b3c793 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 fac69e8be..bf4afd79a 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 12ede7628..8316b3f4d 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 6b53e0cdd..771f80ce6 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 70c329166..4bb5422e5 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 e0e59840c..dfd8c0aca 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 1c56c342b..440ef7fee 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 4c37efc71..d1d7fe73e 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 aa92ad31d..42346fb15 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 8299ea982..afce26d10 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 f6dbadd90..4d19f7fb9 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 c063fa29f..0cc354838 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 105aeab82..640d8b0cb 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 54d15a305..7d43e8842 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 119af4213..67388af7e 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 90121e002..c74e7e138 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 773839dda..fe8eac0ec 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 c1af4fc35..2edccfa92 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 3713a50d6..0f787ed8a 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 67241d5c8..f4404ea7b 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 6a3d79b02..619947307 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 847f466a7..816b60842 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 8d82a8ab7..030f158c9 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 99f2af1d4..c89fc69ea 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 b5319ca84..775b59afa 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 7ccd3df8d..ec974d555 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 76a34d46e..75db7ad73 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 4571f3bd6..b5e65a09b 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 945285254..e2fc27a15 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 f6c9eb960..d65e3e4e9 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 9c5d55c6a..a77c04bb7 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 6294a4603..e7239c6af 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 9a1dba13a..f31f1052a 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 2776f742a..3c4bc077f 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 fdf093e27..e3f2b93de 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 8c2881be2..ab0353515 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 0c3325eec..a7676bfc1 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 fbe9f6d00..0826b60af 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 45d5221ab..2f89738db 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 81f300065..a95000029 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 8eef91f50..e36bbadf4 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 d8514b9f5..7eaf500d6 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 99775cb8a..a79d2ecfc 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 182216d80..a36d3203c 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 9b40502ae..d27652057 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 1c5624937..f7305915c 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 1a3815987..2b18612de 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 b68fbd09b..51b015de3 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 7ad9af7e3..cf0e94129 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 8bac91625..f82216224 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 77498af03..d1537c7de 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 81c6c8d42..672ec4bb8 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 7e507a6e6..2f70e6547 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 0aa9dada9..5c973862f 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 8ec71d7d2..0ed99570d 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 7ef9fd20f..c9a3388b3 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 52d02e75f..addd7e5fe 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 b7cb86f46..592b3ad32 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 93a8224c9..bfb9342bf 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 ab04163ec..a198be244 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 f61657fec..60742bd79 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 573442347..4be893a81 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 25537f26a..8903ee060 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 c5369b28e..88c3bffb6 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 b6c85dc0f..b666c6534 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 3f97b3a9c..cb84b1bb5 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 da5758708..6566771f2 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/language-server/language-server-npm/aqua-lsp-api.d.ts b/language-server/language-server-npm/aqua-lsp-api.d.ts index 02ec0e30e..18b475569 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 b04557c73..ab970f073 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" },