├── .circleci ├── config.pkl ├── config.yml └── jobs │ ├── BuildNativeJob.pkl │ ├── DeployJob.pkl │ ├── GradleCheckJob.pkl │ ├── GradleJob.pkl │ └── SimpleGradleJob.pkl ├── .editorconfig ├── .git-blame-ignore-revs ├── .gitattributes ├── .githooks └── pre-commit ├── .gitignore ├── .idea ├── codeStyles │ ├── Project.xml │ └── codeStyleConfig.xml ├── icon.svg ├── inspectionProfiles │ └── Project_Default.xml ├── scopes │ ├── AllExceptTruffleAst.xml │ └── AllProjects.xml └── vcs.xml ├── .java-version ├── .mailmap ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.adoc ├── DEVELOPMENT.adoc ├── LICENSE.txt ├── MAINTAINERS.adoc ├── NOTICE.txt ├── README.adoc ├── SECURITY.md ├── THIRD-PARTY-NOTICES.txt ├── bench ├── bench.gradle.kts ├── gradle.lockfile └── src │ └── jmh │ ├── java │ └── org │ │ └── pkl │ │ └── core │ │ ├── Fibonacci.java │ │ ├── ListSort.java │ │ └── parser │ │ └── ParserBenchmark.java │ └── resources │ └── org │ └── pkl │ └── core │ ├── fib_class.pkl │ ├── fib_class_constrained1.pkl │ ├── fib_class_constrained2.pkl │ ├── fib_class_explicitThis.pkl │ ├── fib_class_typed.pkl │ ├── fib_lambda.pkl │ ├── fib_module.pkl │ └── fib_module_explicitThis.pkl ├── build.gradle.kts ├── buildSrc ├── build.gradle.kts ├── settings.gradle.kts └── src │ └── main │ ├── kotlin │ ├── BuildInfo.kt │ ├── ExecutableJar.kt │ ├── ExecutableSpec.kt │ ├── GradlePluginTests.kt │ ├── GradleVersionInfo.kt │ ├── HtmlValidator.kt │ ├── InstallGraalVm.kt │ ├── JavaVersionRange.kt │ ├── MergeSourcesJars.kt │ ├── NativeImageBuild.kt │ ├── ResolveSourcesJars.kt │ ├── pklAllProjects.gradle.kts │ ├── pklFatJar.gradle.kts │ ├── pklGraalVm.gradle.kts │ ├── pklGradlePluginTest.gradle.kts │ ├── pklHtmlValidator.gradle.kts │ ├── pklJavaExecutable.gradle.kts │ ├── pklJavaLibrary.gradle.kts │ ├── pklKotlinLibrary.gradle.kts │ ├── pklKotlinTest.gradle.kts │ ├── pklNativeExecutable.gradle.kts │ ├── pklNativeLifecycle.gradle.kts │ └── pklPublishLibrary.gradle.kts │ └── resources │ ├── license-header.line-comment.txt │ └── license-header.star-block.txt ├── docs ├── antora.yml ├── docs.gradle.kts ├── gradle.lockfile ├── modules │ ├── ROOT │ │ ├── pages │ │ │ ├── community.adoc │ │ │ ├── evolution-and-roadmap.adoc │ │ │ ├── examples.adoc │ │ │ ├── index.adoc │ │ │ ├── integrations.adoc │ │ │ ├── language-bindings.adoc │ │ │ ├── language.adoc │ │ │ ├── resources.adoc │ │ │ ├── standard-library.adoc │ │ │ └── tools.adoc │ │ └── partials │ │ │ └── component-attributes.adoc │ ├── bindings-specification │ │ ├── pages │ │ │ ├── binary-encoding.adoc │ │ │ ├── index.adoc │ │ │ └── message-passing-api.adoc │ │ └── partials │ │ │ └── component-attributes.adoc │ ├── introduction │ │ └── pages │ │ │ ├── comparison.adoc │ │ │ ├── concepts.adoc │ │ │ ├── index.adoc │ │ │ └── use-cases.adoc │ ├── java-binding │ │ ├── examples │ │ │ └── JavaConfigExample.java │ │ ├── pages │ │ │ ├── codegen.adoc │ │ │ ├── index.adoc │ │ │ └── pkl-config-java.adoc │ │ └── partials │ │ │ └── cli-codegen-options.adoc │ ├── kotlin-binding │ │ ├── examples │ │ │ └── KotlinConfigExample.kt │ │ └── pages │ │ │ ├── codegen.adoc │ │ │ ├── index.adoc │ │ │ └── pkl-config-kotlin.adoc │ ├── language-reference │ │ └── pages │ │ │ └── index.adoc │ ├── language-tutorial │ │ └── pages │ │ │ ├── 01_basic_config.adoc │ │ │ ├── 02_filling_out_a_template.adoc │ │ │ ├── 03_writing_a_template.adoc │ │ │ └── index.adoc │ ├── pkl-cli │ │ ├── pages │ │ │ └── index.adoc │ │ └── partials │ │ │ ├── cli-common-options.adoc │ │ │ └── cli-project-options.adoc │ ├── pkl-core │ │ ├── examples │ │ │ └── CoreEvaluatorExample.java │ │ └── pages │ │ │ └── index.adoc │ ├── pkl-doc │ │ ├── assets │ │ │ └── images │ │ │ │ └── pkldoc-search.gif │ │ └── pages │ │ │ └── index.adoc │ ├── pkl-gradle │ │ ├── pages │ │ │ └── index.adoc │ │ └── partials │ │ │ ├── gradle-codegen-properties.adoc │ │ │ ├── gradle-common-properties.adoc │ │ │ └── gradle-modules-properties.adoc │ ├── release-notes │ │ ├── images │ │ │ ├── error_sample.png │ │ │ ├── pkl-cli-help-new.png │ │ │ └── test_sample.png │ │ ├── pages │ │ │ ├── 0.25.adoc │ │ │ ├── 0.26.adoc │ │ │ ├── 0.27.adoc │ │ │ ├── 0.28.adoc │ │ │ ├── 0.29.adoc │ │ │ ├── changelog.adoc │ │ │ └── index.adoc │ │ └── template.adoc │ └── style-guide │ │ └── pages │ │ └── index.adoc ├── nav.adoc └── src │ └── test │ ├── kotlin │ └── DocSnippetTests.kt │ └── resources │ └── META-INF │ └── services │ └── org.junit.platform.engine.TestEngine ├── gradle.properties ├── gradle ├── libs.versions.toml └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── jbang-catalog.json ├── pkl-cli ├── README.adoc ├── gradle.lockfile ├── pkl-cli.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── org │ │ └── pkl │ │ └── cli │ │ ├── CliEvaluator.kt │ │ ├── CliEvaluatorOptions.kt │ │ ├── CliImportAnalyzer.kt │ │ ├── CliImportAnalyzerOptions.kt │ │ ├── CliPackageDownloader.kt │ │ ├── CliProjectCommand.kt │ │ ├── CliProjectPackager.kt │ │ ├── CliProjectResolver.kt │ │ ├── CliRepl.kt │ │ ├── CliServer.kt │ │ ├── CliTestRunner.kt │ │ ├── Main.kt │ │ ├── commands │ │ ├── AnalyzeCommand.kt │ │ ├── DownloadPackageCommand.kt │ │ ├── EvalCommand.kt │ │ ├── ProjectCommand.kt │ │ ├── ReplCommand.kt │ │ ├── RootCommand.kt │ │ ├── ServerCommand.kt │ │ └── TestCommand.kt │ │ └── repl │ │ ├── Repl.kt │ │ ├── ReplCommands.kt │ │ ├── ReplCompleters.kt │ │ ├── ReplMessages.kt │ │ └── package-info.java │ └── test │ ├── files │ └── projects │ │ └── project1 │ │ └── PklProject │ └── kotlin │ └── org │ └── pkl │ └── cli │ ├── CliEvaluatorTest.kt │ ├── CliImportAnalyzerTest.kt │ ├── CliMainTest.kt │ ├── CliPackageDownloaderTest.kt │ ├── CliProjectPackagerTest.kt │ ├── CliProjectResolverTest.kt │ ├── CliShellCompletionTest.kt │ ├── CliTestRunnerTest.kt │ ├── repl │ └── ReplMessagesTest.kt │ └── testExtensions.kt ├── pkl-codegen-java ├── gradle.lockfile ├── pkl-codegen-java.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── org │ │ └── pkl │ │ └── codegen │ │ └── java │ │ ├── CliJavaCodeGenerator.kt │ │ ├── CliJavaCodeGeneratorOptions.kt │ │ ├── JavaCodeGenerator.kt │ │ └── Main.kt │ └── test │ ├── kotlin │ └── org │ │ └── pkl │ │ └── codegen │ │ └── java │ │ ├── CliJavaCodeGeneratorTest.kt │ │ ├── InMemoryJavaCompiler.kt │ │ ├── JavaCodeGeneratorTest.kt │ │ └── PklModule.kt │ └── resources │ └── org │ └── pkl │ └── codegen │ └── java │ ├── GenerateGetters.jva │ ├── Inheritance.jva │ ├── Javadoc.jva │ └── PropertyTypes.jva ├── pkl-codegen-kotlin ├── gradle.lockfile ├── pkl-codegen-kotlin.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── org │ │ └── pkl │ │ └── codegen │ │ └── kotlin │ │ ├── CliKotlinCodeGenerator.kt │ │ ├── CliKotlinCodeGeneratorOptions.kt │ │ ├── KotlinCodeGenerator.kt │ │ └── Main.kt │ └── test │ ├── kotlin │ └── org │ │ └── pkl │ │ └── codegen │ │ └── kotlin │ │ ├── CliKotlinCodeGeneratorTest.kt │ │ ├── InMemoryKotlinCompiler.kt │ │ ├── KotlinCodeGeneratorTest.kt │ │ └── PklModule.kt │ └── resources │ └── org │ └── pkl │ └── codegen │ └── kotlin │ ├── Inheritance.kotlin │ ├── Kdoc.kotlin │ └── PropertyTypes.kotlin ├── pkl-commons-cli ├── gradle.lockfile ├── pkl-commons-cli.gradle.kts └── src │ ├── main │ ├── kotlin │ │ └── org │ │ │ └── pkl │ │ │ └── commons │ │ │ └── cli │ │ │ ├── CliBaseOptions.kt │ │ │ ├── CliCommand.kt │ │ │ ├── CliException.kt │ │ │ ├── CliMain.kt │ │ │ ├── CliTestException.kt │ │ │ ├── CliTestOptions.kt │ │ │ └── commands │ │ │ ├── BaseCommand.kt │ │ │ ├── BaseOptions.kt │ │ │ ├── ModulesCommand.kt │ │ │ ├── OptionExtensions.kt │ │ │ ├── ProjectOptions.kt │ │ │ ├── TestOptions.kt │ │ │ └── extensions.kt │ └── resources │ │ └── org │ │ └── pkl │ │ └── commons │ │ └── cli │ │ └── PklCARoots.pem │ ├── svm │ └── java │ │ └── org │ │ └── pkl │ │ └── commons │ │ └── cli │ │ └── svm │ │ ├── InitFeature.java │ │ ├── MessagePackRecomputations.java │ │ ├── PolyglotContextImplTarget.java │ │ ├── PolyglotThreadInfoTarget.java │ │ ├── ThreadLocalHandshakeTarget.java │ │ └── WeakAssumedValueTarget.java │ └── test │ └── kotlin │ └── org │ └── pkl │ └── commons │ └── cli │ ├── BaseCommandTest.kt │ └── CliCommandTest.kt ├── pkl-commons-test ├── gradle.lockfile ├── pkl-commons-test.gradle.kts └── src │ └── main │ ├── files │ └── packages │ │ ├── badChecksum@1.0.0 │ │ ├── badChecksum@1.0.0.json │ │ └── package │ │ │ └── Bug.pkl │ │ ├── badImportsWithinPackage@1.0.0 │ │ ├── badImportsWithinPackage@1.0.0.json │ │ └── package │ │ │ ├── invalidPath.pkl │ │ │ ├── invalidPathRead.pkl │ │ │ ├── unknownDependency.pkl │ │ │ └── unknownDependencyRead.pkl │ │ ├── badMetadataJson@1.0.0 │ │ ├── badMetadataJson@1.0.0.json │ │ └── package │ │ │ └── Bug.pkl │ │ ├── badPackageZipUrl@1.0.0 │ │ ├── badPackageZipUrl@1.0.0.json │ │ └── package │ │ │ └── Bug.pkl │ │ ├── birds@0.5.0 │ │ ├── birds@0.5.0.json │ │ └── package │ │ │ ├── Bird.pkl │ │ │ ├── allFruit.pkl │ │ │ ├── catalog.pkl │ │ │ ├── catalog │ │ │ ├── Ostrich.pkl │ │ │ └── Swallow.pkl │ │ │ └── some │ │ │ └── dir │ │ │ └── Bird.pkl │ │ ├── deprecated@1.0.0 │ │ ├── deprecated@1.0.0.json │ │ └── package │ │ │ └── deprecated.pkl │ │ ├── fruit@1.0.5 │ │ ├── fruit@1.0.5.json │ │ └── package │ │ │ ├── Fruit.pkl │ │ │ └── catalog │ │ │ └── apple.pkl │ │ ├── fruit@1.1.0 │ │ ├── fruit@1.1.0.json │ │ └── package │ │ │ ├── Fruit.pkl │ │ │ └── catalog │ │ │ ├── apple.pkl │ │ │ └── pineapple.pkl │ │ ├── packageContainingWildcardCharacters@1.0.0 │ │ ├── package │ │ │ └── name with [wildcard]! characters~~.pkl │ │ └── packageContainingWildcardCharacters@1.0.0.json │ │ └── unlisted@1.0.0 │ │ ├── package │ │ └── unlisted.pkl │ │ └── unlisted@1.0.0.json │ └── kotlin │ └── org │ └── pkl │ └── commons │ └── test │ ├── FakeHttpResponse.kt │ ├── FileTestUtils.kt │ ├── FilteringClassLoader.kt │ ├── InputOutputTestEngine.kt │ ├── PackageServer.kt │ ├── PklAssertionFailedError.kt │ ├── PklExecutablePaths.kt │ └── ReflectionUtils.kt ├── pkl-commons ├── gradle.lockfile ├── pkl-commons.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── org │ │ └── pkl │ │ └── commons │ │ ├── NameMapper.kt │ │ ├── Paths.kt │ │ ├── Strings.kt │ │ ├── Throwables.kt │ │ └── Uris.kt │ └── test │ └── kotlin │ └── org │ └── pkl │ └── commons │ ├── NameMapperTest.kt │ └── ShlexTest.kt ├── pkl-config-java ├── gradle.lockfile ├── pkl-config-java.gradle.kts └── src │ ├── main │ └── java │ │ └── org │ │ └── pkl │ │ └── config │ │ └── java │ │ ├── AbstractConfig.java │ │ ├── CompositeConfig.java │ │ ├── Config.java │ │ ├── ConfigEvaluator.java │ │ ├── ConfigEvaluatorBuilder.java │ │ ├── ConfigEvaluatorImpl.java │ │ ├── InvalidMappingException.java │ │ ├── JavaType.java │ │ ├── LeafConfig.java │ │ ├── MapConfig.java │ │ ├── NoSuchChildException.java │ │ ├── mapper │ │ ├── ClassRegistry.java │ │ ├── Conversion.java │ │ ├── ConversionException.java │ │ ├── Conversions.java │ │ ├── Converter.java │ │ ├── ConverterFactories.java │ │ ├── ConverterFactory.java │ │ ├── Named.java │ │ ├── NonNull.java │ │ ├── PAnyToOptional.java │ │ ├── PCollectionToArray.java │ │ ├── PCollectionToCollection.java │ │ ├── PMapToMap.java │ │ ├── PNullToAny.java │ │ ├── PObjectToDataObject.java │ │ ├── PObjectToMap.java │ │ ├── PObjectToPObject.java │ │ ├── PPairToPair.java │ │ ├── PStringToEnum.java │ │ ├── Reflection.java │ │ ├── Tuple2.java │ │ ├── TypeMapping.java │ │ ├── TypeMappings.java │ │ ├── Types.java │ │ ├── ValueMapper.java │ │ ├── ValueMapperBuilder.java │ │ ├── ValueMapperImpl.java │ │ └── package-info.java │ │ └── package-info.java │ └── test │ ├── java │ └── org │ │ └── pkl │ │ └── config │ │ └── java │ │ ├── ConfigEvaluatorBuilderTest.java │ │ ├── ConfigTest.java │ │ ├── JavaTypeTest.java │ │ └── mapper │ │ ├── ConversionsTest.java │ │ ├── PAnyToOptionalTest.java │ │ ├── PCollectionToArrayTest.java │ │ ├── PCollectionToCollectionTest.java │ │ ├── PMapToMapTest.java │ │ ├── PModuleToDataObjectTest.java │ │ ├── PNullToAnyTest.java │ │ ├── PObjectToDataObjectJavaxInjectTest.java │ │ ├── PObjectToDataObjectOverriddenPropertyTest.java │ │ ├── PObjectToDataObjectTest.java │ │ ├── PObjectToInnerClassTest.java │ │ ├── PObjectToPObjectTest.java │ │ ├── PPairToPairTest.java │ │ ├── PStringToEnumTest.java │ │ ├── PStringToVersionTest.java │ │ ├── PVersionToStringTest.java │ │ ├── PVersionToVersionTest.java │ │ ├── Person.java │ │ ├── PolymorphicTest.kt │ │ ├── ReflectionTest.java │ │ └── TypesTest.java │ └── resources │ ├── codegenPkl │ ├── OverriddenProperty.pkl │ ├── PolymorphicLib.pkl │ └── PolymorphicModuleTest.pkl │ └── org │ └── pkl │ └── config │ └── java │ └── mapper │ ├── PAnyToOptionalTest.pkl │ ├── PCollectionToArrayTest.pkl │ ├── PCollectionToCollectionTest.pkl │ ├── PMapToMapTest.pkl │ ├── PModuleToDataObjectTest.pkl │ ├── PObjectToDataObjectPolymorphismTest.pkl │ ├── PObjectToDataObjectTest.pkl │ ├── PObjectToPObjectTest.pkl │ ├── PPairToPairTest.pkl │ ├── PStringToEnumTest.pkl │ ├── PStringToVersionTest.pkl │ └── PVersionToVersionTest.pkl ├── pkl-config-kotlin ├── gradle.lockfile ├── pkl-config-kotlin.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── org │ │ └── pkl │ │ └── config │ │ └── kotlin │ │ ├── ConfigExtensions.kt │ │ └── mapper │ │ ├── KotlinConversions.kt │ │ ├── KotlinConverterFactories.kt │ │ └── PPairToKotlinPair.kt │ └── test │ ├── java │ └── org │ │ └── pkl │ │ └── config │ │ └── kotlin │ │ └── JavaPerson.java │ ├── kotlin │ └── org │ │ └── pkl │ │ └── config │ │ └── kotlin │ │ ├── ConfigExtensionsTest.kt │ │ ├── KotlinObjectMappingTest.kt │ │ └── mapper │ │ ├── KotlinConversionsTest.kt │ │ ├── OverriddenPropertyTest.kt │ │ ├── PPairToKotlinPairTest.kt │ │ └── PolymorphicTest.kt │ └── resources │ ├── codegenPkl │ ├── OverriddenProperty.pkl │ ├── PolymorphicLib.pkl │ └── PolymorphicModuleTest.pkl │ └── org │ └── pkl │ └── config │ └── kotlin │ └── mapper │ └── PPairToKotlinPairTest.pkl ├── pkl-core ├── README.adoc ├── gradle.lockfile ├── pkl-core.gradle.kts └── src │ ├── generator │ ├── kotlin │ │ └── org │ │ │ └── pkl │ │ │ └── core │ │ │ └── generator │ │ │ └── MemberRegistryGenerator.kt │ └── resources │ │ └── META-INF │ │ ├── gradle │ │ └── incremental.annotation.processors │ │ └── services │ │ └── javax.annotation.processing.Processor │ ├── main │ ├── java │ │ └── org │ │ │ └── pkl │ │ │ └── core │ │ │ ├── Analyzer.java │ │ │ ├── BufferedLogger.java │ │ │ ├── Closeables.java │ │ │ ├── Composite.java │ │ │ ├── DataSize.java │ │ │ ├── DataSizeUnit.java │ │ │ ├── Duration.java │ │ │ ├── DurationUnit.java │ │ │ ├── Evaluator.java │ │ │ ├── EvaluatorBuilder.java │ │ │ ├── EvaluatorImpl.java │ │ │ ├── FileOutput.java │ │ │ ├── FileOutputImpl.java │ │ │ ├── ImportGraph.java │ │ │ ├── JsonRenderer.java │ │ │ ├── Logger.java │ │ │ ├── Loggers.java │ │ │ ├── Member.java │ │ │ ├── Modifier.java │ │ │ ├── ModuleSchema.java │ │ │ ├── ModuleSource.java │ │ │ ├── NoSuchPropertyException.java │ │ │ ├── OutputFormat.java │ │ │ ├── PClass.java │ │ │ ├── PClassInfo.java │ │ │ ├── PListRenderer.java │ │ │ ├── PModule.java │ │ │ ├── PNull.java │ │ │ ├── PObject.java │ │ │ ├── PType.java │ │ │ ├── Pair.java │ │ │ ├── PcfRenderer.java │ │ │ ├── PklBugException.java │ │ │ ├── PklException.java │ │ │ ├── PklInfo.java │ │ │ ├── Platform.java │ │ │ ├── PropertiesRenderer.java │ │ │ ├── Release.java │ │ │ ├── RendererException.java │ │ │ ├── SecurityManager.java │ │ │ ├── SecurityManagerBuilder.java │ │ │ ├── SecurityManagerException.java │ │ │ ├── SecurityManagers.java │ │ │ ├── StackFrame.java │ │ │ ├── StackFrameTransformer.java │ │ │ ├── StackFrameTransformers.java │ │ │ ├── TestResults.java │ │ │ ├── TypeAlias.java │ │ │ ├── TypeParameter.java │ │ │ ├── Value.java │ │ │ ├── ValueConverter.java │ │ │ ├── ValueFormatter.java │ │ │ ├── ValueRenderer.java │ │ │ ├── ValueRenderers.java │ │ │ ├── ValueVisitor.java │ │ │ ├── Version.java │ │ │ ├── YamlRenderer.java │ │ │ ├── ast │ │ │ ├── ConstantNode.java │ │ │ ├── ConstantValueNode.java │ │ │ ├── ExpressionNode.java │ │ │ ├── MemberLookupMode.java │ │ │ ├── MemberNode.java │ │ │ ├── PklNode.java │ │ │ ├── PklRootNode.java │ │ │ ├── SimpleRootNode.java │ │ │ ├── VmModifier.java │ │ │ ├── builder │ │ │ │ ├── AbstractAstBuilder.java │ │ │ │ ├── AstBuilder.java │ │ │ │ ├── CannotInvokeAbstractFunctionNode.java │ │ │ │ ├── CannotInvokeAbstractPropertyNode.java │ │ │ │ ├── ConstLevel.java │ │ │ │ ├── ImportsAndReadsParser.java │ │ │ │ ├── SymbolTable.java │ │ │ │ └── package-info.java │ │ │ ├── expression │ │ │ │ ├── binary │ │ │ │ │ ├── AdditionNode.java │ │ │ │ │ ├── BinaryExpressionNode.java │ │ │ │ │ ├── ComparatorNode.java │ │ │ │ │ ├── DivisionNode.java │ │ │ │ │ ├── EqualNode.java │ │ │ │ │ ├── ExponentiationNode.java │ │ │ │ │ ├── GreaterThanNode.java │ │ │ │ │ ├── GreaterThanOrEqualNode.java │ │ │ │ │ ├── LessThanNode.java │ │ │ │ │ ├── LessThanOrEqualNode.java │ │ │ │ │ ├── LetExprNode.java │ │ │ │ │ ├── LogicalAndNode.java │ │ │ │ │ ├── LogicalOrNode.java │ │ │ │ │ ├── MultiplicationNode.java │ │ │ │ │ ├── NotEqualNode.java │ │ │ │ │ ├── NullCoalescingNode.java │ │ │ │ │ ├── PipeNode.java │ │ │ │ │ ├── RemainderNode.java │ │ │ │ │ ├── ShortCircuitingExpressionNode.java │ │ │ │ │ ├── SubscriptNode.java │ │ │ │ │ ├── SubtractionNode.java │ │ │ │ │ ├── TruncatingDivisionNode.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── generator │ │ │ │ │ ├── GeneratorElementNode.java │ │ │ │ │ ├── GeneratorEntryNode.java │ │ │ │ │ ├── GeneratorForNode.java │ │ │ │ │ ├── GeneratorMemberNode.java │ │ │ │ │ ├── GeneratorObjectLiteralNode.java │ │ │ │ │ ├── GeneratorPredicateMemberNode.java │ │ │ │ │ ├── GeneratorPropertyNode.java │ │ │ │ │ ├── GeneratorSpreadNode.java │ │ │ │ │ ├── GeneratorWhenNode.java │ │ │ │ │ ├── ObjectData.java │ │ │ │ │ ├── RestoreForBindingsNode.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── literal │ │ │ │ │ ├── AmendFunctionNode.java │ │ │ │ │ ├── AmendModuleNode.java │ │ │ │ │ ├── CheckIsAnnotationClassNode.java │ │ │ │ │ ├── ConstantEntriesLiteralNode.java │ │ │ │ │ ├── ElementsEntriesLiteralNode.java │ │ │ │ │ ├── ElementsLiteralNode.java │ │ │ │ │ ├── EmptyObjectLiteralNode.java │ │ │ │ │ ├── EntriesLiteralNode.java │ │ │ │ │ ├── FalseLiteralNode.java │ │ │ │ │ ├── FloatLiteralNode.java │ │ │ │ │ ├── FunctionLiteralNode.java │ │ │ │ │ ├── IntLiteralNode.java │ │ │ │ │ ├── InterpolatedStringLiteralNode.java │ │ │ │ │ ├── ListLiteralNode.java │ │ │ │ │ ├── MapLiteralNode.java │ │ │ │ │ ├── ObjectLiteralNode.java │ │ │ │ │ ├── PropertiesLiteralNode.java │ │ │ │ │ ├── SetLiteralNode.java │ │ │ │ │ ├── SpecializedObjectLiteralNode.java │ │ │ │ │ ├── TrueLiteralNode.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── member │ │ │ │ │ ├── InferParentWithinMethodNode.java │ │ │ │ │ ├── InferParentWithinObjectMethodNode.java │ │ │ │ │ ├── InferParentWithinPropertyNode.java │ │ │ │ │ ├── InvokeMethodDirectNode.java │ │ │ │ │ ├── InvokeMethodLexicalNode.java │ │ │ │ │ ├── InvokeMethodVirtualNode.java │ │ │ │ │ ├── InvokeSuperMethodNode.java │ │ │ │ │ ├── ReadLocalPropertyNode.java │ │ │ │ │ ├── ReadPropertyNode.java │ │ │ │ │ ├── ReadSuperEntryNode.java │ │ │ │ │ ├── ReadSuperPropertyNode.java │ │ │ │ │ ├── ResolveMethodNode.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── package-info.java │ │ │ │ ├── primary │ │ │ │ │ ├── CustomThisNode.java │ │ │ │ │ ├── GetEnclosingOwnerNode.java │ │ │ │ │ ├── GetEnclosingReceiverNode.java │ │ │ │ │ ├── GetMemberKeyNode.java │ │ │ │ │ ├── GetModuleNode.java │ │ │ │ │ ├── GetOwnerNode.java │ │ │ │ │ ├── GetReceiverNode.java │ │ │ │ │ ├── OuterNode.java │ │ │ │ │ ├── ResolveVariableNode.java │ │ │ │ │ ├── ThisNode.java │ │ │ │ │ └── package-info.java │ │ │ │ ├── ternary │ │ │ │ │ ├── IfElseNode.java │ │ │ │ │ └── package-info.java │ │ │ │ └── unary │ │ │ │ │ ├── AbstractImportNode.java │ │ │ │ │ ├── AbstractReadNode.java │ │ │ │ │ ├── ImportGlobMemberBodyNode.java │ │ │ │ │ ├── ImportGlobNode.java │ │ │ │ │ ├── ImportNode.java │ │ │ │ │ ├── LogicalNotNode.java │ │ │ │ │ ├── NonNullNode.java │ │ │ │ │ ├── NullPropagatingOperationNode.java │ │ │ │ │ ├── PropagateNullReceiverNode.java │ │ │ │ │ ├── ReadGlobMemberBodyNode.java │ │ │ │ │ ├── ReadGlobNode.java │ │ │ │ │ ├── ReadNode.java │ │ │ │ │ ├── ReadOrNullNode.java │ │ │ │ │ ├── ReadOrNullStdLibNode.java │ │ │ │ │ ├── ThrowNode.java │ │ │ │ │ ├── TraceNode.java │ │ │ │ │ ├── UnaryExpressionNode.java │ │ │ │ │ ├── UnaryMinusNode.java │ │ │ │ │ └── package-info.java │ │ │ ├── frame │ │ │ │ ├── ReadEnclosingFrameSlotNode.java │ │ │ │ ├── ReadFrameSlotNode.java │ │ │ │ ├── WriteFrameSlotNode.java │ │ │ │ └── package-info.java │ │ │ ├── internal │ │ │ │ ├── BlackholeNode.java │ │ │ │ ├── GetBaseModuleClassNode.java │ │ │ │ ├── GetClassNode.java │ │ │ │ ├── IsInstanceOfNode.java │ │ │ │ ├── ToStringNode.java │ │ │ │ └── package-info.java │ │ │ ├── lambda │ │ │ │ ├── ApplyVmFunction0Node.java │ │ │ │ ├── ApplyVmFunction1Node.java │ │ │ │ ├── ApplyVmFunction2Node.java │ │ │ │ ├── ApplyVmFunction3Node.java │ │ │ │ ├── ApplyVmFunction4Node.java │ │ │ │ ├── ApplyVmFunction5Node.java │ │ │ │ └── package-info.java │ │ │ ├── member │ │ │ │ ├── ClassMember.java │ │ │ │ ├── ClassMethod.java │ │ │ │ ├── ClassNode.java │ │ │ │ ├── ClassProperty.java │ │ │ │ ├── DefaultPropertyBodyNode.java │ │ │ │ ├── DelegateToExtraStorageMapOrParentNode.java │ │ │ │ ├── DelegateToExtraStorageObjNode.java │ │ │ │ ├── DelegateToExtraStorageObjOrParentNode.java │ │ │ │ ├── ElementOrEntryNode.java │ │ │ │ ├── FunctionNode.java │ │ │ │ ├── Lambda.java │ │ │ │ ├── ListingOrMappingTypeCastNode.java │ │ │ │ ├── LocalTypedPropertyNode.java │ │ │ │ ├── Member.java │ │ │ │ ├── ModuleNode.java │ │ │ │ ├── ObjectMember.java │ │ │ │ ├── ObjectMethodNode.java │ │ │ │ ├── PropertyTypeNode.java │ │ │ │ ├── RegularMemberNode.java │ │ │ │ ├── SharedMemberNode.java │ │ │ │ ├── TypeAliasNode.java │ │ │ │ ├── TypeCheckedPropertyNode.java │ │ │ │ ├── TypedPropertyNode.java │ │ │ │ ├── UnresolvedClassMemberNode.java │ │ │ │ ├── UnresolvedFunctionNode.java │ │ │ │ ├── UnresolvedMethodNode.java │ │ │ │ ├── UnresolvedPropertyNode.java │ │ │ │ ├── UntypedObjectMemberNode.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── repl │ │ │ │ ├── ResolveClassMemberNode.java │ │ │ │ └── package-info.java │ │ │ └── type │ │ │ │ ├── GetParentForTypeNode.java │ │ │ │ ├── IdentityMixinNode.java │ │ │ │ ├── ResolveDeclaredTypeNode.java │ │ │ │ ├── ResolveQualifiedDeclaredTypeNode.java │ │ │ │ ├── ResolveSimpleDeclaredTypeNode.java │ │ │ │ ├── TypeCastNode.java │ │ │ │ ├── TypeConstraintNode.java │ │ │ │ ├── TypeNode.java │ │ │ │ ├── TypeTestNode.java │ │ │ │ ├── UnresolvedTypeNode.java │ │ │ │ ├── VmTypeMismatchException.java │ │ │ │ └── package-info.java │ │ │ ├── evaluatorSettings │ │ │ ├── Color.java │ │ │ ├── PklEvaluatorSettings.java │ │ │ └── package-info.java │ │ │ ├── externalreader │ │ │ ├── ExternalModuleResolver.java │ │ │ ├── ExternalModuleResolverImpl.java │ │ │ ├── ExternalReaderMessagePackDecoder.java │ │ │ ├── ExternalReaderMessagePackEncoder.java │ │ │ ├── ExternalReaderMessages.java │ │ │ ├── ExternalReaderProcess.java │ │ │ ├── ExternalReaderProcessException.java │ │ │ ├── ExternalReaderProcessImpl.java │ │ │ ├── ExternalResourceResolver.java │ │ │ ├── ExternalResourceResolverImpl.java │ │ │ ├── ModuleReaderSpec.java │ │ │ ├── ResourceReaderSpec.java │ │ │ └── package-info.java │ │ │ ├── http │ │ │ ├── DummyHttpClient.java │ │ │ ├── HttpClient.java │ │ │ ├── HttpClientBuilder.java │ │ │ ├── HttpClientInitException.java │ │ │ ├── JdkHttpClient.java │ │ │ ├── LazyHttpClient.java │ │ │ ├── NoProxyRule.java │ │ │ ├── ProxySelector.java │ │ │ ├── RequestRewritingClient.java │ │ │ └── package-info.java │ │ │ ├── messaging │ │ │ ├── AbstractMessagePackDecoder.java │ │ │ ├── AbstractMessagePackEncoder.java │ │ │ ├── BaseMessagePackDecoder.java │ │ │ ├── BaseMessagePackEncoder.java │ │ │ ├── DecodeException.java │ │ │ ├── Message.java │ │ │ ├── MessageDecoder.java │ │ │ ├── MessageEncoder.java │ │ │ ├── MessageTransport.java │ │ │ ├── MessageTransports.java │ │ │ ├── Messages.java │ │ │ ├── ProtocolException.java │ │ │ └── package-info.java │ │ │ ├── module │ │ │ ├── FileResolver.java │ │ │ ├── ModuleKey.java │ │ │ ├── ModuleKeyFactories.java │ │ │ ├── ModuleKeyFactory.java │ │ │ ├── ModuleKeys.java │ │ │ ├── ModulePathResolver.java │ │ │ ├── PathElement.java │ │ │ ├── ProjectDependenciesManager.java │ │ │ ├── ResolvedModuleKey.java │ │ │ ├── ResolvedModuleKeys.java │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── packages │ │ │ ├── Checksums.java │ │ │ ├── Dependency.java │ │ │ ├── DependencyMetadata.java │ │ │ ├── PackageAssetUri.java │ │ │ ├── PackageLoadError.java │ │ │ ├── PackageResolver.java │ │ │ ├── PackageResolvers.java │ │ │ ├── PackageUri.java │ │ │ ├── PackageUtils.java │ │ │ └── package-info.java │ │ │ ├── project │ │ │ ├── CanonicalPackageUri.java │ │ │ ├── DeclaredDependencies.java │ │ │ ├── Package.java │ │ │ ├── Project.java │ │ │ ├── ProjectDependenciesResolver.java │ │ │ ├── ProjectDeps.java │ │ │ ├── ProjectPackager.java │ │ │ └── package-info.java │ │ │ ├── repl │ │ │ ├── ReplRequest.java │ │ │ ├── ReplResponse.java │ │ │ ├── ReplServer.java │ │ │ └── package-info.java │ │ │ ├── resource │ │ │ ├── Resource.java │ │ │ ├── ResourceReader.java │ │ │ ├── ResourceReaders.java │ │ │ └── package-info.java │ │ │ ├── runtime │ │ │ ├── AnalyzeModule.java │ │ │ ├── BaseModule.java │ │ │ ├── BenchmarkModule.java │ │ │ ├── FileSystemManager.java │ │ │ ├── Identifier.java │ │ │ ├── Iterators.java │ │ │ ├── JsonnetModule.java │ │ │ ├── KeyLookupSuggestions.java │ │ │ ├── LoggerImpl.java │ │ │ ├── MathModule.java │ │ │ ├── MemberLookupSuggestions.java │ │ │ ├── MinPklVersionChecker.java │ │ │ ├── MirrorFactories.java │ │ │ ├── ModuleCache.java │ │ │ ├── ModuleInfo.java │ │ │ ├── ModuleResolver.java │ │ │ ├── NullReceiverException.java │ │ │ ├── PlatformModule.java │ │ │ ├── ProjectModule.java │ │ │ ├── ReaderBase.java │ │ │ ├── ReflectModule.java │ │ │ ├── ReleaseModule.java │ │ │ ├── ResourceManager.java │ │ │ ├── SemVerModule.java │ │ │ ├── SettingsModule.java │ │ │ ├── StackTraceGenerator.java │ │ │ ├── StackTraceRenderer.java │ │ │ ├── StdLibModule.java │ │ │ ├── TestModule.java │ │ │ ├── TestRunner.java │ │ │ ├── VmBugException.java │ │ │ ├── VmClass.java │ │ │ ├── VmCollection.java │ │ │ ├── VmContext.java │ │ │ ├── VmDataSize.java │ │ │ ├── VmDuration.java │ │ │ ├── VmDynamic.java │ │ │ ├── VmEvalException.java │ │ │ ├── VmException.java │ │ │ ├── VmExceptionBuilder.java │ │ │ ├── VmExceptionRenderer.java │ │ │ ├── VmFileDetector.java │ │ │ ├── VmFunction.java │ │ │ ├── VmImportAnalyzer.java │ │ │ ├── VmIntSeq.java │ │ │ ├── VmLanguage.java │ │ │ ├── VmList.java │ │ │ ├── VmListing.java │ │ │ ├── VmListingOrMapping.java │ │ │ ├── VmLocalContext.java │ │ │ ├── VmMap.java │ │ │ ├── VmMapping.java │ │ │ ├── VmNull.java │ │ │ ├── VmObject.java │ │ │ ├── VmObjectBuilder.java │ │ │ ├── VmObjectLike.java │ │ │ ├── VmPair.java │ │ │ ├── VmRegex.java │ │ │ ├── VmSafeMath.java │ │ │ ├── VmSet.java │ │ │ ├── VmStackOverflowException.java │ │ │ ├── VmTypeAlias.java │ │ │ ├── VmTyped.java │ │ │ ├── VmTypes.java │ │ │ ├── VmUndefinedValueException.java │ │ │ ├── VmUtils.java │ │ │ ├── VmValue.java │ │ │ ├── VmValueConverter.java │ │ │ ├── VmValueRenderer.java │ │ │ ├── VmValueVisitor.java │ │ │ ├── VmWrappedEvalException.java │ │ │ ├── XmlModule.java │ │ │ └── package-info.java │ │ │ ├── service │ │ │ └── ExecutorSpiImpl.java │ │ │ ├── settings │ │ │ ├── PklSettings.java │ │ │ └── package-info.java │ │ │ ├── stdlib │ │ │ ├── AbstractRenderer.java │ │ │ ├── ExternalMemberNode.java │ │ │ ├── ExternalMethod0Node.java │ │ │ ├── ExternalMethod1Node.java │ │ │ ├── ExternalMethod2Node.java │ │ │ ├── ExternalMethod3Node.java │ │ │ ├── ExternalMethod4Node.java │ │ │ ├── ExternalMethod5Node.java │ │ │ ├── ExternalMethodNode.java │ │ │ ├── ExternalPropertyNode.java │ │ │ ├── LanguageAwareNode.java │ │ │ ├── PathConverterSupport.java │ │ │ ├── PathSpecParser.java │ │ │ ├── PklConverter.java │ │ │ ├── PklName.java │ │ │ ├── VmObjectFactories.java │ │ │ ├── VmObjectFactory.java │ │ │ ├── analyze │ │ │ │ ├── AnalyzeNodes.java │ │ │ │ └── package-info.java │ │ │ ├── base │ │ │ │ ├── AnyNodes.java │ │ │ │ ├── BaseNodes.java │ │ │ │ ├── BooleanNodes.java │ │ │ │ ├── ClassNodes.java │ │ │ │ ├── CollectionNodes.java │ │ │ │ ├── DataSizeNodes.java │ │ │ │ ├── DurationNodes.java │ │ │ │ ├── DynamicNodes.java │ │ │ │ ├── FloatNodes.java │ │ │ │ ├── Function0Nodes.java │ │ │ │ ├── Function1Nodes.java │ │ │ │ ├── Function2Nodes.java │ │ │ │ ├── Function3Nodes.java │ │ │ │ ├── Function4Nodes.java │ │ │ │ ├── Function5Nodes.java │ │ │ │ ├── FunctionNodes.java │ │ │ │ ├── IntNodes.java │ │ │ │ ├── IntSeqNodes.java │ │ │ │ ├── JsonRendererNodes.java │ │ │ │ ├── ListNodes.java │ │ │ │ ├── ListingNodes.java │ │ │ │ ├── MapNodes.java │ │ │ │ ├── MappingNodes.java │ │ │ │ ├── MergeSort.java │ │ │ │ ├── ModuleClassNodes.java │ │ │ │ ├── PListRendererNodes.java │ │ │ │ ├── PairNodes.java │ │ │ │ ├── PcfRenderer.java │ │ │ │ ├── PcfRendererNodes.java │ │ │ │ ├── PropertiesRendererNodes.java │ │ │ │ ├── RegexMatchFactory.java │ │ │ │ ├── RegexNodes.java │ │ │ │ ├── ResourceNodes.java │ │ │ │ ├── SetNodes.java │ │ │ │ ├── StringNodes.java │ │ │ │ ├── TypedNodes.java │ │ │ │ ├── YamlRendererNodes.java │ │ │ │ └── package-info.java │ │ │ ├── benchmark │ │ │ │ ├── BenchmarkUtils.java │ │ │ │ ├── MicrobenchmarkNodes.java │ │ │ │ ├── OutputBenchmarkNodes.java │ │ │ │ ├── ParserBenchmarkNodes.java │ │ │ │ └── package-info.java │ │ │ ├── json │ │ │ │ ├── ParserNodes.java │ │ │ │ └── package-info.java │ │ │ ├── jsonnet │ │ │ │ ├── RendererNodes.java │ │ │ │ └── package-info.java │ │ │ ├── math │ │ │ │ ├── MathNodes.java │ │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── platform │ │ │ │ ├── PlatformNodes.java │ │ │ │ └── package-info.java │ │ │ ├── protobuf │ │ │ │ ├── RendererNodes.java │ │ │ │ └── package-info.java │ │ │ ├── reflect │ │ │ │ ├── ClassNodes.java │ │ │ │ ├── DeclaredTypeNodes.java │ │ │ │ ├── ReflectNodes.java │ │ │ │ ├── TypeNodes.java │ │ │ │ └── package-info.java │ │ │ ├── registry │ │ │ │ ├── EmptyMemberRegistry.java │ │ │ │ ├── ExternalMemberRegistry.java │ │ │ │ └── package-info.java │ │ │ ├── release │ │ │ │ ├── ReleaseNodes.java │ │ │ │ └── package-info.java │ │ │ ├── test │ │ │ │ ├── TestNodes.java │ │ │ │ ├── package-info.java │ │ │ │ └── report │ │ │ │ │ ├── JUnitReport.java │ │ │ │ │ ├── SimpleReport.java │ │ │ │ │ └── TestReport.java │ │ │ ├── xml │ │ │ │ ├── RendererNodes.java │ │ │ │ └── package-info.java │ │ │ └── yaml │ │ │ │ ├── ParserNodes.java │ │ │ │ └── package-info.java │ │ │ └── util │ │ │ ├── AbstractCharEscaper.java │ │ │ ├── AnsiStringBuilder.java │ │ │ ├── AnsiTheme.java │ │ │ ├── ArrayCharEscaper.java │ │ │ ├── ByteArrayUtils.java │ │ │ ├── CodeGeneratorUtils.java │ │ │ ├── CollectionUtils.java │ │ │ ├── DurationUtils.java │ │ │ ├── EconomicMaps.java │ │ │ ├── EconomicSets.java │ │ │ ├── ErrorMessages.java │ │ │ ├── Exceptions.java │ │ │ ├── GlobResolver.java │ │ │ ├── HttpUtils.java │ │ │ ├── ImportGraphUtils.java │ │ │ ├── IoUtils.java │ │ │ ├── LateInit.java │ │ │ ├── MathUtils.java │ │ │ ├── MutableBoolean.java │ │ │ ├── MutableLong.java │ │ │ ├── MutableReference.java │ │ │ ├── Nonnull.java │ │ │ ├── NonnullByDefault.java │ │ │ ├── Nullable.java │ │ │ ├── Pair.java │ │ │ ├── StringBuilderWriter.java │ │ │ ├── StringSimilarity.java │ │ │ ├── StringUtils.java │ │ │ ├── json │ │ │ ├── Json.java │ │ │ ├── JsonEscaper.java │ │ │ ├── JsonHandler.java │ │ │ ├── JsonParser.java │ │ │ ├── JsonWriter.java │ │ │ ├── Location.java │ │ │ ├── ParseException.java │ │ │ └── package-info.java │ │ │ ├── package-info.java │ │ │ ├── properties │ │ │ └── PropertiesUtils.java │ │ │ ├── xml │ │ │ ├── Xml10Validator.java │ │ │ ├── Xml11Validator.java │ │ │ ├── XmlValidator.java │ │ │ └── package-info.java │ │ │ └── yaml │ │ │ ├── Yaml11Emitter.java │ │ │ ├── Yaml12Emitter.java │ │ │ ├── YamlCompatEmitter.java │ │ │ ├── YamlEmitter.java │ │ │ ├── YamlEscaper.java │ │ │ ├── package-info.java │ │ │ └── snake │ │ │ ├── Yaml11Resolver.java │ │ │ ├── Yaml12Resolver.java │ │ │ ├── YamlCompatEmitterResolver.java │ │ │ ├── YamlCompatParserResolver.java │ │ │ ├── YamlResolver.java │ │ │ ├── YamlUtils.java │ │ │ └── package-info.java │ └── resources │ │ ├── META-INF │ │ └── services │ │ │ ├── java.nio.file.spi.FileTypeDetector │ │ │ └── org.pkl.executor.spi.v1.ExecutorSpi │ │ └── org │ │ └── pkl │ │ └── core │ │ ├── Release.properties │ │ └── errorMessages.properties │ └── test │ ├── files │ └── LanguageSnippetTests │ │ ├── input-helper │ │ ├── analyze │ │ │ ├── a.pkl │ │ │ ├── b.pkl │ │ │ ├── cannotFindModule.pkl │ │ │ ├── cyclicalA.pkl │ │ │ ├── cyclicalB.pkl │ │ │ ├── globImport.pkl │ │ │ └── invalidGlob.pkl │ │ ├── api │ │ │ ├── benchmark │ │ │ │ └── moduleToBenchmark.pkl │ │ │ └── reflect │ │ │ │ ├── BaseModule.pkl │ │ │ │ ├── ExtendingModule.pkl │ │ │ │ ├── amendingModule.pkl │ │ │ │ └── testHelpers.pkl │ │ ├── basic │ │ │ └── read │ │ │ │ ├── child │ │ │ │ ├── module2.pkl │ │ │ │ └── resource.txt │ │ │ │ ├── module1.pkl │ │ │ │ └── resource.txt │ │ ├── classes │ │ │ ├── MyClass.pkl │ │ │ └── myClass1.pkl │ │ ├── globtest │ │ │ ├── child │ │ │ │ └── moduleC.pkl │ │ │ ├── childlinked │ │ │ ├── module with [weird] ~!characters.pkl │ │ │ ├── moduleA.pkl │ │ │ └── moduleB.pkl │ │ ├── listings │ │ │ └── cacheStealingTypeCheck.pkl │ │ ├── modules │ │ │ ├── Birds.pkl │ │ │ └── Birds2.pkl │ │ └── types │ │ │ └── typeAliasConstraint2.pkl │ │ ├── input │ │ ├── annotation │ │ │ ├── annotation1.pkl │ │ │ ├── annotation2.pkl │ │ │ ├── annotation3.pkl │ │ │ ├── annotation4.pkl │ │ │ ├── annotation5.pkl │ │ │ ├── annotation6.pkl │ │ │ ├── annotationIsNotExpression.pkl │ │ │ ├── annotationIsNotExpression2.pkl │ │ │ ├── deprecated1.pkl │ │ │ ├── deprecated2.pkl │ │ │ ├── deprecated3.pkl │ │ │ ├── deprecatedNoRepeatedWarnings.pkl │ │ │ ├── deprecatedWithMessage1.pkl │ │ │ ├── deprecatedWithMessage2.pkl │ │ │ ├── deprecatedWithMessage3.pkl │ │ │ └── deprecationSuperMethod.pkl │ │ ├── api │ │ │ ├── Resource.pkl │ │ │ ├── analyze1.pkl │ │ │ ├── any.pkl │ │ │ ├── anyConverter.pkl │ │ │ ├── baseModule.pkl │ │ │ ├── benchmarkModule.pkl │ │ │ ├── dataSize.pkl │ │ │ ├── dir1 │ │ │ │ └── dir2 │ │ │ │ │ └── relativePathTo.pkl │ │ │ ├── duration.pkl │ │ │ ├── dynamic.pkl │ │ │ ├── empty.txt │ │ │ ├── float.pkl │ │ │ ├── fox.txt │ │ │ ├── int.pkl │ │ │ ├── intseq.pkl │ │ │ ├── jsonParser1.pkl │ │ │ ├── jsonParser2.pkl │ │ │ ├── jsonParser3.pkl │ │ │ ├── jsonParser4.pkl │ │ │ ├── jsonParser5.pkl │ │ │ ├── jsonRenderer1.json.pkl │ │ │ ├── jsonRenderer2.json.pkl │ │ │ ├── jsonRenderer2b.pkl │ │ │ ├── jsonRenderer3.json.pkl │ │ │ ├── jsonRenderer4.pkl │ │ │ ├── jsonRenderer5.pkl │ │ │ ├── jsonRenderer6.json.pkl │ │ │ ├── jsonRenderer7.pkl │ │ │ ├── jsonRenderer8.pkl │ │ │ ├── jsonRendererEmptyComposites.pkl │ │ │ ├── jsonnetRenderer1.jsonnet.pkl │ │ │ ├── jsonnetRenderer2.jsonnet.pkl │ │ │ ├── jsonnetRenderer3.jsonnet.pkl │ │ │ ├── jsonnetRenderer4.pkl │ │ │ ├── jsonnetRenderer5.pkl │ │ │ ├── jsonnetRenderer6.jsonnet.pkl │ │ │ ├── jsonnetRenderer7.pkl │ │ │ ├── list.pkl │ │ │ ├── listNullable.pkl │ │ │ ├── listing.pkl │ │ │ ├── map.pkl │ │ │ ├── mapping.pkl │ │ │ ├── mathModule.pkl │ │ │ ├── module.pkl │ │ │ ├── moduleOutput.pkl │ │ │ ├── moduleOutput2.pkl │ │ │ ├── pListRenderer1.plist.pkl │ │ │ ├── pListRenderer2.plist.pkl │ │ │ ├── pListRenderer3.plist.pkl │ │ │ ├── pListRenderer4.pkl │ │ │ ├── pListRenderer5.pkl │ │ │ ├── pListRenderer6.plist.pkl │ │ │ ├── pListRenderer7.pkl │ │ │ ├── pair.pkl │ │ │ ├── pcfRenderer1.pkl │ │ │ ├── pcfRenderer2.pkl │ │ │ ├── pcfRenderer2b.pkl │ │ │ ├── pcfRenderer3.pkl │ │ │ ├── pcfRenderer4.pkl │ │ │ ├── pcfRenderer5.pkl │ │ │ ├── pcfRenderer6.pkl │ │ │ ├── pcfRenderer7.pkl │ │ │ ├── pcfRenderer8.pkl │ │ │ ├── platformModule.pkl │ │ │ ├── plistRenderer2b.pkl │ │ │ ├── propertiesRenderer1.properties.pkl │ │ │ ├── propertiesRenderer10.properties.pkl │ │ │ ├── propertiesRenderer11.pkl │ │ │ ├── propertiesRenderer2.properties.pkl │ │ │ ├── propertiesRenderer2b.pkl │ │ │ ├── propertiesRenderer3.properties.pkl │ │ │ ├── propertiesRenderer4.pkl │ │ │ ├── propertiesRenderer5.pkl │ │ │ ├── propertiesRenderer6.properties.pkl │ │ │ ├── propertiesRenderer7.properties.pkl │ │ │ ├── propertiesRenderer8.properties.pkl │ │ │ ├── propertiesRenderer9.properties.pkl │ │ │ ├── propertiesRendererBug66849708.properties.pkl │ │ │ ├── protobuf.pkl │ │ │ ├── protobuf2.pkl │ │ │ ├── reflect1.pkl │ │ │ ├── reflect2.pkl │ │ │ ├── reflect3.pkl │ │ │ ├── reflectedDeclaration.pkl │ │ │ ├── regex.pkl │ │ │ ├── releaseModule.pkl │ │ │ ├── renderDirective.pkl │ │ │ ├── renderDirective2.pkl │ │ │ ├── resource.txt │ │ │ ├── semverModule.pkl │ │ │ ├── set.pkl │ │ │ ├── setNullable.pkl │ │ │ ├── shellModule.pkl │ │ │ ├── string.pkl │ │ │ ├── stringUnicode.pkl │ │ │ ├── typeAliases.pkl │ │ │ ├── typeConverters.pkl │ │ │ ├── typed.pkl │ │ │ ├── xmlRenderer1.xml.pkl │ │ │ ├── xmlRenderer2.xml.pkl │ │ │ ├── xmlRenderer2b.pkl │ │ │ ├── xmlRenderer3.xml.pkl │ │ │ ├── xmlRenderer4.pkl │ │ │ ├── xmlRenderer5.pkl │ │ │ ├── xmlRenderer6.xml.pkl │ │ │ ├── xmlRenderer8.pkl │ │ │ ├── xmlRendererCData.xml.pkl │ │ │ ├── xmlRendererElement.xml.pkl │ │ │ ├── xmlRendererHtml.xml.pkl │ │ │ ├── xmlRendererInline.xml.pkl │ │ │ ├── xmlRendererInline2.xml.pkl │ │ │ ├── xmlRendererInline3.xml.pkl │ │ │ ├── xmlRendererValidation10.pkl │ │ │ ├── xmlRendererValidation11.pkl │ │ │ ├── yamlParser1Compat.pkl │ │ │ ├── yamlParser1Yaml11.pkl │ │ │ ├── yamlParser1Yaml12.pkl │ │ │ ├── yamlParser2.pkl │ │ │ ├── yamlParser3.pkl │ │ │ ├── yamlParser4.pkl │ │ │ ├── yamlParser5.pkl │ │ │ ├── yamlParser6.pkl │ │ │ ├── yamlRenderer1.yml.pkl │ │ │ ├── yamlRenderer2.yml.pkl │ │ │ ├── yamlRenderer2b.pkl │ │ │ ├── yamlRenderer3.yml.pkl │ │ │ ├── yamlRenderer4.pkl │ │ │ ├── yamlRenderer5.pkl │ │ │ ├── yamlRenderer6.yml.pkl │ │ │ ├── yamlRenderer7.pkl │ │ │ ├── yamlRenderer8.yml.pkl │ │ │ ├── yamlRendererBug66849708.yml.pkl │ │ │ ├── yamlRendererEmpty.yml.pkl │ │ │ ├── yamlRendererIndentationWidth2.yml.pkl │ │ │ ├── yamlRendererIndentationWidth4.yml.pkl │ │ │ ├── yamlRendererIndentationWidth5.yml.pkl │ │ │ ├── yamlRendererKeys.yml.pkl │ │ │ ├── yamlRendererStream1.pkl │ │ │ ├── yamlRendererStream2.pkl │ │ │ ├── yamlRendererStrings.yml.pkl │ │ │ ├── yamlRendererStringsCompat.pkl │ │ │ ├── yamlRendererStringsYaml11.pkl │ │ │ └── yamlRendererStringsYaml12.pkl │ │ ├── basic │ │ │ ├── amendsChains.pkl │ │ │ ├── as.pkl │ │ │ ├── as2.pkl │ │ │ ├── as3.pkl │ │ │ ├── baseModule.pkl │ │ │ ├── boolean.pkl │ │ │ ├── comments.pkl │ │ │ ├── constModifier.pkl │ │ │ ├── constModifier2.pkl │ │ │ ├── constModifier3.pkl │ │ │ ├── constModifier4.pkl │ │ │ ├── constModifier5.pkl │ │ │ ├── dataSize.pkl │ │ │ ├── duration.pkl │ │ │ ├── exceptions.pkl │ │ │ ├── fixedProperty1.pkl │ │ │ ├── fixedProperty2.pkl │ │ │ ├── fixedProperty3.pkl │ │ │ ├── fixedProperty4.pkl │ │ │ ├── fixedProperty5.pkl │ │ │ ├── fixedProperty6.pkl │ │ │ ├── float.pkl │ │ │ ├── globtest │ │ │ │ ├── file1.txt │ │ │ │ └── file2.txt │ │ │ ├── identifier.pkl │ │ │ ├── if.pkl │ │ │ ├── import1.pkl │ │ │ ├── import1b.pkl │ │ │ ├── import2.pkl │ │ │ ├── import3.pkl │ │ │ ├── importGlob.pkl │ │ │ ├── imported.pkl │ │ │ ├── indexExpressions.pkl │ │ │ ├── int.pkl │ │ │ ├── intseq.pkl │ │ │ ├── is.pkl │ │ │ ├── is2.pkl │ │ │ ├── let.pkl │ │ │ ├── letTyped.pkl │ │ │ ├── list.pkl │ │ │ ├── localMethodDynamicBinding.pkl │ │ │ ├── localMethodInAmendingModule.pkl │ │ │ ├── localMethodOverride1.pkl │ │ │ ├── localMethodOverride2.pkl │ │ │ ├── localMethodTyped.pkl │ │ │ ├── localMethodTyped2.pkl │ │ │ ├── localMethodTyped3.pkl │ │ │ ├── localMethodTyped4.pkl │ │ │ ├── localMethodTyped5.pkl │ │ │ ├── localMethodTyped6.pkl │ │ │ ├── localMethodUntyped.pkl │ │ │ ├── localModuleMemberOverride1.pkl │ │ │ ├── localModuleMemberOverride2.pkl │ │ │ ├── localProperty1.pkl │ │ │ ├── localProperty2.pkl │ │ │ ├── localPropertyAmendInAmendingModule.pkl │ │ │ ├── localPropertyInAmendingModule.pkl │ │ │ ├── localPropertyOverride1.pkl │ │ │ ├── localPropertyOverride2.pkl │ │ │ ├── localPropertyOverride3.pkl │ │ │ ├── localTypedClassMember.pkl │ │ │ ├── localTypedModuleMember.pkl │ │ │ ├── localTypedObjectMember.pkl │ │ │ ├── map.pkl │ │ │ ├── minPklVersion.pkl │ │ │ ├── moduleRef1.pkl │ │ │ ├── moduleRef2.pkl │ │ │ ├── moduleRef3.pkl │ │ │ ├── moduleRefLibrary.pkl │ │ │ ├── new.pkl │ │ │ ├── newInAmendingModuleMethod.pkl │ │ │ ├── newInsideIf.pkl │ │ │ ├── newInsideLet.pkl │ │ │ ├── newType.pkl │ │ │ ├── nonNull.pkl │ │ │ ├── nullable.pkl │ │ │ ├── objectMember.pkl │ │ │ ├── objectMemberInvalid.pkl │ │ │ ├── objectMemberInvalid2.pkl │ │ │ ├── objectMemberInvalid3.pkl │ │ │ ├── parens.pkl │ │ │ ├── propertyDefaults.pkl │ │ │ ├── rawString.pkl │ │ │ ├── read.pkl │ │ │ ├── readGlob.pkl │ │ │ ├── semicolon.pkl │ │ │ ├── set.pkl │ │ │ ├── string.pkl │ │ │ ├── stringError1.pkl │ │ │ ├── stringMultiline.pkl │ │ │ ├── stringUnicode.pkl │ │ │ ├── trace.pkl │ │ │ ├── typeResolution1.pkl │ │ │ ├── typeResolution2.pkl │ │ │ ├── typeResolution3.pkl │ │ │ ├── typeResolution4.pkl │ │ │ └── underscore.pkl │ │ ├── classes │ │ │ ├── class1.pkl │ │ │ ├── class2.pkl │ │ │ ├── class2a.pkl │ │ │ ├── class3.pkl │ │ │ ├── class4.pkl │ │ │ ├── constraints1.pkl │ │ │ ├── constraints10.pkl │ │ │ ├── constraints11.pkl │ │ │ ├── constraints12.pkl │ │ │ ├── constraints13.pkl │ │ │ ├── constraints14.pkl │ │ │ ├── constraints2.pkl │ │ │ ├── constraints3.pkl │ │ │ ├── constraints4.pkl │ │ │ ├── constraints5.pkl │ │ │ ├── constraints6.pkl │ │ │ ├── constraints7.pkl │ │ │ ├── constraints8.pkl │ │ │ ├── constraints9.pkl │ │ │ ├── constraintsLambdaThis.pkl │ │ │ ├── duplicateFunction.pkl │ │ │ ├── duplicateProperty.pkl │ │ │ ├── equality.pkl │ │ │ ├── externalClass.pkl │ │ │ ├── externalFunction.pkl │ │ │ ├── externalProperty.pkl │ │ │ ├── functions1.pkl │ │ │ ├── functions2.pkl │ │ │ ├── functions3.pkl │ │ │ ├── functions4.pkl │ │ │ ├── inheritance1.pkl │ │ │ ├── inheritance2.pkl │ │ │ ├── inheritanceError1.pkl │ │ │ ├── invalidInstantiation1.pkl │ │ │ ├── invalidInstantiation2.pkl │ │ │ ├── lambdaConstraints1.pkl │ │ │ ├── listConstraints1.pkl │ │ │ ├── mapConstraints1.pkl │ │ │ ├── nullableTypes.pkl │ │ │ ├── setConstraints1.pkl │ │ │ ├── supercalls.pkl │ │ │ ├── unionTypes.pkl │ │ │ ├── unionTypesErrorAlias.pkl │ │ │ ├── unionTypesErrorDifferent1.pkl │ │ │ ├── unionTypesErrorDifferent2.pkl │ │ │ ├── unionTypesErrorMultipleAliases.pkl │ │ │ ├── unionTypesErrorNested.pkl │ │ │ ├── unionTypesErrorSimple.pkl │ │ │ ├── unionTypesErrorString1.pkl │ │ │ ├── unionTypesErrorString2.pkl │ │ │ ├── wrongType1.pkl │ │ │ ├── wrongType2.pkl │ │ │ ├── wrongType3.pkl │ │ │ ├── wrongType4.pkl │ │ │ ├── wrongType5.pkl │ │ │ └── wrongType6.pkl │ │ ├── errors │ │ │ ├── abstractOpenMember.pkl │ │ │ ├── analyzeImportsCannotFindModule.pkl │ │ │ ├── analyzeImportsInvalidGlob.pkl │ │ │ ├── analyzeInvalidHttpModule.pkl │ │ │ ├── analyzeInvalidModuleUri.pkl │ │ │ ├── analyzeRelativeModuleUri.pkl │ │ │ ├── anyConverterError.pkl │ │ │ ├── baseModule.pkl │ │ │ ├── cannotAmendFixedProperty1.pkl │ │ │ ├── cannotAmendFixedProperty2.pkl │ │ │ ├── cannotAssignFixedProperty1.pkl │ │ │ ├── cannotAssignFixedProperty2.pkl │ │ │ ├── cannotAssignFixedProperty3.pkl │ │ │ ├── cannotAssignToNothing.pkl │ │ │ ├── cannotChangeFixed1.pkl │ │ │ ├── cannotChangeFixed2.pkl │ │ │ ├── cannotFindMapKey.pkl │ │ │ ├── cannotFindStdLibModule.pkl │ │ │ ├── cannotInferParent2.pkl │ │ │ ├── cannotInferParent3.pkl │ │ │ ├── cannotInstantiateAbstractModule.pkl │ │ │ ├── cannotRenderMixin.pkl │ │ │ ├── classExtendsSelf.pkl │ │ │ ├── const │ │ │ │ ├── constAmend.pkl │ │ │ │ ├── constAnnotation.pkl │ │ │ │ ├── constAnnotation2.pkl │ │ │ │ ├── constAnnotation3.pkl │ │ │ │ ├── constAssign.pkl │ │ │ │ ├── constClassBody.pkl │ │ │ │ ├── constExplicitThis.pkl │ │ │ │ ├── constExplicitThisMethod.pkl │ │ │ │ ├── constFunctionCallingNonConst.pkl │ │ │ │ ├── constImplicitThis.pkl │ │ │ │ ├── constImplicitThisMethod.pkl │ │ │ │ ├── constLexicalScope.pkl │ │ │ │ ├── constLocalAmendModule.pkl │ │ │ │ ├── constLocalMethod.pkl │ │ │ │ ├── constLocalProperty.pkl │ │ │ │ ├── constMethod.pkl │ │ │ │ ├── constMethod2.pkl │ │ │ │ ├── constModule.pkl │ │ │ │ ├── constModule2.pkl │ │ │ │ ├── constModule3.pkl │ │ │ │ ├── constObjectMember.pkl │ │ │ │ ├── constOuter.pkl │ │ │ │ ├── constOuter2.pkl │ │ │ │ ├── constOuter3.pkl │ │ │ │ ├── constQualified.pkl │ │ │ │ ├── constSubclass.pkl │ │ │ │ ├── constSubclass2.pkl │ │ │ │ ├── constSuper.pkl │ │ │ │ ├── constSuperMethod.pkl │ │ │ │ ├── constThis.pkl │ │ │ │ └── constTypeAliasConstraint.pkl │ │ │ ├── constraintDetails1.pkl │ │ │ ├── constraintDetails2.pkl │ │ │ ├── constraintDetails3.pkl │ │ │ ├── delimiters │ │ │ │ ├── missingClassDelimiter.pkl │ │ │ │ ├── missingConstrainedTypeSeparator.pkl │ │ │ │ ├── missingContainerAmendDefDelimiter.pkl │ │ │ │ ├── missingContainerAmendExprDelimiter.pkl │ │ │ │ ├── missingEmptyMultiLineStringDelimiter.pkl │ │ │ │ ├── missingEmptyMultiLineStringDelimiterAtEof.pkl │ │ │ │ ├── missingEmptyStringDelimiter.pkl │ │ │ │ ├── missingEmptyStringDelimiterAtEof.pkl │ │ │ │ ├── missingFunction0ParameterListDelimiter.pkl │ │ │ │ ├── missingFunction1ParameterListDelimiter.pkl │ │ │ │ ├── missingFunctionAmendParameterListSeparator.pkl │ │ │ │ ├── missingFunctionNParameterListDelimiter.pkl │ │ │ │ ├── missingFunctionParameterListSeparator.pkl │ │ │ │ ├── missingFunctionType0ParameterListDelimiter.pkl │ │ │ │ ├── missingFunctionType1ParameterListDelimiter.pkl │ │ │ │ ├── missingFunctionTypeNParameterListDelimiter.pkl │ │ │ │ ├── missingFunctionTypeParameterListSeparator.pkl │ │ │ │ ├── missingIfExprDelimiter.pkl │ │ │ │ ├── missingListDelimiter.pkl │ │ │ │ ├── missingListSeparator.pkl │ │ │ │ ├── missingMapDelimiter.pkl │ │ │ │ ├── missingMapSeparator.pkl │ │ │ │ ├── missingMethodArgumentListDelimiter.pkl │ │ │ │ ├── missingMethodArgumentListSeparator.pkl │ │ │ │ ├── missingMethodParameterListDelimiter.pkl │ │ │ │ ├── missingMethodParameterListSeparator.pkl │ │ │ │ ├── missingMultiLineStringDelimiter.pkl │ │ │ │ ├── missingObjectAmendDefDelimiter.pkl │ │ │ │ ├── missingObjectAmendDefDelimiter2.pkl │ │ │ │ ├── missingObjectAmendDefDelimiter3.pkl │ │ │ │ ├── missingObjectAmendExprDelimiter.pkl │ │ │ │ ├── missingObjectDelimiter.pkl │ │ │ │ ├── missingParenthesizedExprDelimiter.pkl │ │ │ │ ├── missingParenthesizedTypeDelimiter.pkl │ │ │ │ ├── missingRawMultiLineStringDelimiter.pkl │ │ │ │ ├── missingRawStringDelimiter.pkl │ │ │ │ ├── missingSetSeparator.pkl │ │ │ │ ├── missingStringDelimiter.pkl │ │ │ │ ├── missingSubscriptDelimiter.pkl │ │ │ │ ├── missingTypeConstraintListDelimiter.pkl │ │ │ │ ├── missingTypedMethodParameterListDelimiter.pkl │ │ │ │ ├── missingTypedMethodParameterListSeparator.pkl │ │ │ │ ├── unbalancedEntryBrackets1.pkl │ │ │ │ ├── unbalancedEntryBrackets2.pkl │ │ │ │ ├── unbalancedEntryBrackets3.pkl │ │ │ │ └── unbalancedEntryBrackets4.pkl │ │ │ ├── duplicateTypeParameter.pkl │ │ │ ├── extendExternalClass.pkl │ │ │ ├── extendTypeAlias.pkl │ │ │ ├── forGeneratorCannotGenerateMethods.pkl │ │ │ ├── forGeneratorCannotGenerateProperties.pkl │ │ │ ├── forGeneratorCannotIterateOverThisValue.pkl │ │ │ ├── forGeneratorCannotIterateOverTyped.pkl │ │ │ ├── forGeneratorDuplicateParams1.pkl │ │ │ ├── forGeneratorWrongVariableName.pkl │ │ │ ├── fullStackTraces.pkl │ │ │ ├── fullStackTraces2.pkl │ │ │ ├── functionNotFoundInClass.pkl │ │ │ ├── functionNotFoundInModule.pkl │ │ │ ├── functionNotFoundInScope.pkl │ │ │ ├── functionNotFoundMaybeLambda.pkl │ │ │ ├── functionNotFoundMaybeProperty.pkl │ │ │ ├── intrinsifiedTypeAlias1.pkl │ │ │ ├── intrinsifiedTypeAlias2.pkl │ │ │ ├── intrinsifiedTypeAlias3.pkl │ │ │ ├── intrinsifiedTypeAlias4.pkl │ │ │ ├── invalidCharacterEscape.pkl │ │ │ ├── invalidClassMethodModifier.pkl │ │ │ ├── invalidClassModifier.pkl │ │ │ ├── invalidClassModifier2.pkl │ │ │ ├── invalidClassPropertyModifier.pkl │ │ │ ├── invalidFileUri1.pkl │ │ │ ├── invalidFileUri2.pkl │ │ │ ├── invalidFileUri3.pkl │ │ │ ├── invalidFileUri4.pkl │ │ │ ├── invalidGlobImport1.pkl │ │ │ ├── invalidGlobImport2.pkl │ │ │ ├── invalidGlobImport3.pkl │ │ │ ├── invalidGlobImport4.pkl │ │ │ ├── invalidGlobImport5.pkl │ │ │ ├── invalidGlobImport6.pkl │ │ │ ├── invalidGlobImport7.pkl │ │ │ ├── invalidGlobImport8.pkl │ │ │ ├── invalidGlobRead1.pkl │ │ │ ├── invalidGlobRead2.pkl │ │ │ ├── invalidGlobRead3.pkl │ │ │ ├── invalidImportBackslashSep.pkl │ │ │ ├── invalidImportUri.pkl │ │ │ ├── invalidMethodModifier.pkl │ │ │ ├── invalidModuleModifier.pkl │ │ │ ├── invalidObjectPropertyModifier.pkl │ │ │ ├── invalidOutput1.pkl │ │ │ ├── invalidOutput2.pkl │ │ │ ├── invalidOutput3.pkl │ │ │ ├── invalidPropertyModifier.pkl │ │ │ ├── invalidTripleDotSyntax1.pkl │ │ │ ├── invalidTripleDotSyntax2.pkl │ │ │ ├── invalidTypeAliasModifier.pkl │ │ │ ├── invalidTypeName1.pkl │ │ │ ├── invalidTypeName2.pkl │ │ │ ├── invalidTypeName3.pkl │ │ │ ├── invalidTypeName4.pkl │ │ │ ├── invalidUnicodeEscape.pkl │ │ │ ├── keywordNotAllowedHere1.pkl │ │ │ ├── keywordNotAllowedHere2.pkl │ │ │ ├── keywordNotAllowedHere3.pkl │ │ │ ├── keywordNotAllowedHere4.pkl │ │ │ ├── letExpressionError1.pkl │ │ │ ├── letExpressionError2.pkl │ │ │ ├── letExpressionErrorTyped.pkl │ │ │ ├── listingTypeCheckError1.pkl │ │ │ ├── listingTypeCheckError2.pkl │ │ │ ├── listingTypeCheckError3.pkl │ │ │ ├── listingTypeCheckError4.pkl │ │ │ ├── listingTypeCheckError5.pkl │ │ │ ├── listingTypeCheckError6.pkl │ │ │ ├── listingTypeCheckError7.pkl │ │ │ ├── listingTypeCheckError8.pkl │ │ │ ├── listingTypeCheckError9.pkl │ │ │ ├── localFixedMember.pkl │ │ │ ├── localFunctionWithTypeParameter.pkl │ │ │ ├── localHiddenMember.pkl │ │ │ ├── mappingTypeCheckError1.pkl │ │ │ ├── mappingTypeCheckError10.pkl │ │ │ ├── mappingTypeCheckError11.pkl │ │ │ ├── mappingTypeCheckError2.pkl │ │ │ ├── mappingTypeCheckError3.pkl │ │ │ ├── mappingTypeCheckError4.pkl │ │ │ ├── mappingTypeCheckError5.pkl │ │ │ ├── mappingTypeCheckError6.pkl │ │ │ ├── mappingTypeCheckError7.pkl │ │ │ ├── mappingTypeCheckError8.pkl │ │ │ ├── mappingTypeCheckError9.pkl │ │ │ ├── missingLocalPropertyValue1.pkl │ │ │ ├── missingLocalPropertyValue2.pkl │ │ │ ├── moduleAmendsSelf.pkl │ │ │ ├── moduleAmendsVersionCheck.pkl │ │ │ ├── moduleAmendsVersionCheck2.pkl │ │ │ ├── moduleExpected.pkl │ │ │ ├── moduleExtendsSelf.pkl │ │ │ ├── moduleExtendsVersionCheck.pkl │ │ │ ├── moduleExtendsVersionCheck2.pkl │ │ │ ├── moduleImportVersionCheck.pkl │ │ │ ├── moduleWithHighMinPklVersion.pkl │ │ │ ├── moduleWithHighMinPklVersionAndParseErrors.pkl │ │ │ ├── multipleDefaults.pkl │ │ │ ├── nested1.pkl │ │ │ ├── noDefault.pkl │ │ │ ├── noDefault2.pkl │ │ │ ├── notAUnionDefault.pkl │ │ │ ├── objectCannotHaveElement.pkl │ │ │ ├── objectCannotHaveElement2.pkl │ │ │ ├── objectCannotHavePredicateMember.pkl │ │ │ ├── outOfRange1.pkl │ │ │ ├── outOfRange2.pkl │ │ │ ├── outOfRange3.pkl │ │ │ ├── parser1.pkl │ │ │ ├── parser10.pkl │ │ │ ├── parser11.pkl │ │ │ ├── parser12.pkl │ │ │ ├── parser14.pkl │ │ │ ├── parser15.pkl │ │ │ ├── parser16.pkl │ │ │ ├── parser17.pkl │ │ │ ├── parser18.pkl │ │ │ ├── parser2.pkl │ │ │ ├── parser3.pkl │ │ │ ├── parser4.pkl │ │ │ ├── parser5.pkl │ │ │ ├── parser6.pkl │ │ │ ├── parser7.pkl │ │ │ ├── parser8.pkl │ │ │ ├── parser9.pkl │ │ │ ├── propertyNotFound1.pkl │ │ │ ├── propertyNotFound2.pkl │ │ │ ├── refusingToLoadModule.pkl │ │ │ ├── spreadSyntaxCannotHaveElement.pkl │ │ │ ├── spreadSyntaxCannotHaveEntry.pkl │ │ │ ├── spreadSyntaxCannotHaveProperty.pkl │ │ │ ├── spreadSyntaxCannotIterateOverTyped.pkl │ │ │ ├── spreadSyntaxCannotSpreadListIntoMapping.pkl │ │ │ ├── spreadSyntaxDuplicateEntry1.pkl │ │ │ ├── spreadSyntaxDuplicateEntry2.pkl │ │ │ ├── spreadSyntaxDuplicateProperty1.pkl │ │ │ ├── spreadSyntaxDuplicateProperty2.pkl │ │ │ ├── spreadSyntaxNullValue.pkl │ │ │ ├── spreadSyntaxUnknownTypedProperty.pkl │ │ │ ├── stackTraceWithQuotedMemberName.pkl │ │ │ ├── supercalls.pkl │ │ │ ├── typeMismatchHelper.pkl │ │ │ ├── typeMismatchWithSameQualifiedClassName.pkl │ │ │ ├── typeMismatchWithSameQualifiedModuleName.pkl │ │ │ ├── undefinedOp1.pkl │ │ │ ├── undefinedOp2.pkl │ │ │ ├── undefinedOp3.pkl │ │ │ ├── undefinedProperty1.pkl │ │ │ ├── undefinedProperty2.pkl │ │ │ ├── undefinedProperty3.pkl │ │ │ ├── undefinedProperty4.pkl │ │ │ ├── undefinedProperty5.pkl │ │ │ ├── undefinedProperty6.pkl │ │ │ ├── undefinedProperty7.pkl │ │ │ ├── undefinedProperty8.pkl │ │ │ ├── underscore.pkl │ │ │ ├── underscoreLambda.pkl │ │ │ ├── underscoreLet.pkl │ │ │ ├── unterminatedUnicodeEscape.pkl │ │ │ ├── userDefinedTypeParameter1.pkl │ │ │ ├── userDefinedTypeParameter2.pkl │ │ │ ├── wrongForGeneratorType1.pkl │ │ │ ├── wrongForGeneratorType2.pkl │ │ │ └── wrongNumberOfMapArguments.pkl │ │ ├── generators │ │ │ ├── duplicateDefinition1.pkl │ │ │ ├── duplicateDefinition2.pkl │ │ │ ├── duplicateDefinition3.pkl │ │ │ ├── elementGenerators.pkl │ │ │ ├── elementGeneratorsTyped.pkl │ │ │ ├── entryGenerators.pkl │ │ │ ├── entryGeneratorsTyped.pkl │ │ │ ├── forGeneratorInFunctionBody.pkl │ │ │ ├── forGeneratorInMixins.pkl │ │ │ ├── forGeneratorLexicalScope.pkl │ │ │ ├── forGeneratorNestedReference.pkl │ │ │ ├── forGeneratorNestedReference2.pkl │ │ │ ├── forGeneratorVariableShadowing.pkl │ │ │ ├── generatorNoMembers.pkl │ │ │ ├── predicateMembersDynamicListing.pkl │ │ │ ├── predicateMembersDynamicMapping.pkl │ │ │ ├── predicateMembersListing.pkl │ │ │ ├── predicateMembersMapping.pkl │ │ │ ├── predicateMembersThis.pkl │ │ │ ├── propertyGenerators.pkl │ │ │ ├── spreadSyntaxDynamic.pkl │ │ │ ├── spreadSyntaxListing.pkl │ │ │ ├── spreadSyntaxMapping.pkl │ │ │ ├── spreadSyntaxNoSpace.pkl │ │ │ ├── spreadSyntaxNullable.pkl │ │ │ └── spreadSyntaxTyped.pkl │ │ ├── implementation │ │ │ ├── equality.pkl │ │ │ └── inequality.pkl │ │ ├── internal │ │ │ └── polymorphicCallSite.pkl │ │ ├── lambdas │ │ │ ├── amendLambdaDef.pkl │ │ │ ├── amendLambdaExpr.pkl │ │ │ ├── amendLambdaExternalClassError.pkl │ │ │ ├── amendLambdaParameters.pkl │ │ │ ├── amendLambdaParametersTyped.pkl │ │ │ ├── amendLambdaThatReturnsAnotherLambda.pkl │ │ │ ├── amendLambdaTooFewArgsError.pkl │ │ │ ├── amendLambdaTooManyArgsError.pkl │ │ │ ├── equality.pkl │ │ │ ├── inequality.pkl │ │ │ ├── lambda1.pkl │ │ │ ├── lambda2.pkl │ │ │ ├── lambda3.pkl │ │ │ ├── lambda4.pkl │ │ │ ├── lambda5.pkl │ │ │ ├── lambdaStackTrace1.pkl │ │ │ ├── lambdaStackTrace2.pkl │ │ │ ├── lambdaStackTrace3.pkl │ │ │ ├── pipeOperator.pkl │ │ │ ├── tooManyLambdaParams.pkl │ │ │ ├── typedLambdas.pkl │ │ │ └── wrongArgumentListLength.pkl │ │ ├── listings │ │ │ ├── cacheStealing.pkl │ │ │ ├── cacheStealingTypeCheck.pkl │ │ │ ├── default.pkl │ │ │ ├── equality.pkl │ │ │ ├── hashCode.pkl │ │ │ ├── inequality.pkl │ │ │ ├── listing1.pkl │ │ │ ├── listing2.pkl │ │ │ ├── listing3.pkl │ │ │ ├── listing4.pkl │ │ │ ├── listing5.pkl │ │ │ ├── listing6.pkl │ │ │ ├── listing7.pkl │ │ │ ├── numberLiterals.pkl │ │ │ ├── typeCheck.pkl │ │ │ ├── wrongIndex.pkl │ │ │ └── wrongParent.pkl │ │ ├── listings2 │ │ │ ├── default.pkl │ │ │ ├── equality.pkl │ │ │ ├── inequality.pkl │ │ │ ├── listing1.pkl │ │ │ ├── listing2.pkl │ │ │ ├── listing3.pkl │ │ │ ├── numberLiterals.pkl │ │ │ ├── typeCheck.pkl │ │ │ ├── wrongIndex.pkl │ │ │ └── wrongParent.pkl │ │ ├── mappings │ │ │ ├── default.pkl │ │ │ ├── duplicateComputedKey.pkl │ │ │ ├── duplicateConstantKey.pkl │ │ │ ├── equality.pkl │ │ │ ├── hashCode.pkl │ │ │ ├── inequality.pkl │ │ │ ├── mapping1.pkl │ │ │ ├── mapping2.pkl │ │ │ ├── stringKeyNotFound.pkl │ │ │ ├── typeCheck.pkl │ │ │ └── wrongParent.pkl │ │ ├── mappings2 │ │ │ ├── default.pkl │ │ │ ├── duplicateComputedKey.pkl │ │ │ ├── duplicateConstantKey.pkl │ │ │ ├── equality.pkl │ │ │ ├── inequality.pkl │ │ │ ├── mapping1.pkl │ │ │ ├── mapping2.pkl │ │ │ ├── stringKeyNotFound.pkl │ │ │ ├── typeCheck.pkl │ │ │ └── wrongParent.pkl │ │ ├── methods │ │ │ ├── methodParameterConstraints1.pkl │ │ │ ├── methodParameterConstraints2.pkl │ │ │ ├── methodParameterTypes1.pkl │ │ │ ├── methodParameterTypes2.pkl │ │ │ └── methodParameterTypes3.pkl │ │ ├── modules │ │ │ ├── amendModule1.pkl │ │ │ ├── amendModule2.pkl │ │ │ ├── amendModule3.pkl │ │ │ ├── amendModule4.pkl │ │ │ ├── amendModule5.pkl │ │ │ ├── amendModule6.pkl │ │ │ ├── duplicateFunction.pkl │ │ │ ├── duplicateProperty1.pkl │ │ │ ├── duplicateProperty2.pkl │ │ │ ├── duplicateProperty3.pkl │ │ │ ├── equality.pkl │ │ │ ├── extendModule1.pkl │ │ │ ├── externalFunction.pkl │ │ │ ├── externalProperty.pkl │ │ │ ├── filename with spaces 2.pkl │ │ │ ├── filename with spaces.pkl │ │ │ ├── functions.pkl │ │ │ ├── invalidAmend1.pkl │ │ │ ├── invalidAmend2.pkl │ │ │ ├── invalidAmend3.pkl │ │ │ ├── invalidAmend4.pkl │ │ │ ├── invalidAmend5.pkl │ │ │ ├── invalidAmend6.pkl │ │ │ ├── invalidExtend1.pkl │ │ │ ├── invalidExtend2.pkl │ │ │ ├── invalidExtend3.pkl │ │ │ ├── library.pkl │ │ │ ├── lists.pkl │ │ │ ├── objects.pkl │ │ │ ├── recursiveModule1.pkl │ │ │ ├── recursiveModule2.pkl │ │ │ ├── supercalls1.pkl │ │ │ ├── supercalls2.pkl │ │ │ ├── supercalls3.pkl │ │ │ ├── typedModuleMethods1.pkl │ │ │ ├── typedModuleProperties1.pkl │ │ │ ├── typedModuleProperties2.pkl │ │ │ ├── typedModuleProperties3.pkl │ │ │ ├── 日本語.pkl │ │ │ └── 日本語_error.pkl │ │ ├── objects │ │ │ ├── closure.pkl │ │ │ ├── configureObjectAssign.pkl │ │ │ ├── duplicateProperty.pkl │ │ │ ├── equality.pkl │ │ │ ├── hashCode.pkl │ │ │ ├── implicitReceiver1.pkl │ │ │ ├── implicitReceiver2.pkl │ │ │ ├── implicitReceiver3.pkl │ │ │ ├── implicitReceiver4.pkl │ │ │ ├── inequality.pkl │ │ │ ├── lateBinding1.pkl │ │ │ ├── lateBinding2.pkl │ │ │ ├── lateBinding3.pkl │ │ │ ├── lateBinding4.pkl │ │ │ ├── outer.pkl │ │ │ ├── outer2.pkl │ │ │ ├── super1.pkl │ │ │ ├── super2.pkl │ │ │ ├── super3.pkl │ │ │ ├── super4.pkl │ │ │ ├── super5.pkl │ │ │ ├── this1.pkl │ │ │ └── this2.pkl │ │ ├── packages │ │ │ ├── badImport1.error.pkl │ │ │ ├── badImport10.error.pkl │ │ │ ├── badImport11.error.pkl │ │ │ ├── badImport2.error.pkl │ │ │ ├── badImport3.error.pkl │ │ │ ├── badImport4.error.pkl │ │ │ ├── badImport6.error.pkl │ │ │ ├── badImport7.error.pkl │ │ │ ├── badImport8.error.pkl │ │ │ ├── badImport9.error.pkl │ │ │ ├── badRead1.error.pkl │ │ │ ├── badRead2.error.pkl │ │ │ ├── badRead3.error.pkl │ │ │ ├── badRead4.error.pkl │ │ │ ├── badRead8.error.pkl │ │ │ ├── badRead9.error.pkl │ │ │ ├── packages1.pkl │ │ │ ├── packages2.pkl │ │ │ └── redirects.pkl │ │ ├── parser │ │ │ ├── amendsRequiresParens.pkl │ │ │ ├── constantStringInterpolation.pkl │ │ │ ├── invalidCharacter.pkl │ │ │ ├── lineCommentBetween.pkl │ │ │ ├── newline.pkl │ │ │ ├── spacesBetweenDocComments.pkl │ │ │ ├── typeAnnotationInAmends.pkl │ │ │ └── wrongDocComment.pkl │ │ ├── projects │ │ │ ├── badLocalProject │ │ │ │ ├── PklProject │ │ │ │ └── dog.pkl │ │ │ ├── badPklProject1 │ │ │ │ ├── PklProject │ │ │ │ └── bug.pkl │ │ │ ├── badPklProject2 │ │ │ │ ├── PklProject │ │ │ │ └── bug.pkl │ │ │ ├── badPklProject3 │ │ │ │ ├── PklProject │ │ │ │ └── bug.pkl │ │ │ ├── badProjectDeps1 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── bug.pkl │ │ │ ├── badProjectDeps2 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── bug.pkl │ │ │ ├── badProjectDeps3 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── bug.pkl │ │ │ ├── badProjectDeps4 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── bug.pkl │ │ │ ├── badProjectDeps5 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── bug.pkl │ │ │ ├── badProjectDeps6 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── bug.pkl │ │ │ ├── evaluatorSettings │ │ │ │ ├── PklProject │ │ │ │ └── basic.pkl │ │ │ ├── missingProjectDeps │ │ │ │ ├── PklProject │ │ │ │ └── bug.pkl │ │ │ ├── notAProject │ │ │ │ ├── @child │ │ │ │ │ └── theChild.pkl │ │ │ │ ├── badImport.error.pkl │ │ │ │ └── goodImport.pkl │ │ │ ├── project1 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ ├── badImport1.error.pkl │ │ │ │ ├── badImport2.error.pkl │ │ │ │ ├── badImport3.error.pkl │ │ │ │ ├── badRead1.error.pkl │ │ │ │ ├── basic.pkl │ │ │ │ ├── directPackageImport.error.pkl │ │ │ │ ├── globbing.pkl │ │ │ │ ├── localProject.pkl │ │ │ │ └── localProjectRead.pkl │ │ │ ├── project2 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── penguin.pkl │ │ │ ├── project3 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── basic.pkl │ │ │ ├── project4 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── main.pkl │ │ │ ├── project5 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ └── main.pkl │ │ │ └── project6 │ │ │ │ ├── PklProject │ │ │ │ ├── PklProject.deps.json │ │ │ │ ├── children.pkl │ │ │ │ └── children │ │ │ │ ├── a.pkl │ │ │ │ ├── b.pkl │ │ │ │ └── c.pkl │ │ ├── snippetTest.pkl │ │ └── types │ │ │ ├── ThisInTypeConstraint.pkl │ │ │ ├── currentModuleType1.pkl │ │ │ ├── currentModuleType2.pkl │ │ │ ├── currentModuleType3.pkl │ │ │ ├── cyclicTypeAlias1.pkl │ │ │ ├── cyclicTypeAlias2.pkl │ │ │ ├── helpers │ │ │ ├── originalTypealias.pkl │ │ │ └── someModule.pkl │ │ │ ├── modifiersForTypes.pkl │ │ │ ├── moduleType.pkl │ │ │ ├── nothingType.pkl │ │ │ ├── nothingWithUnions.pkl │ │ │ ├── typeAlias1.pkl │ │ │ ├── typeAlias2.pkl │ │ │ ├── typeAliasConstraint1.pkl │ │ │ ├── typeAliasConstraint2.pkl │ │ │ ├── typeAliasContext.pkl │ │ │ └── typeAliasUnion.pkl │ │ └── output │ │ ├── annotation │ │ ├── annotation1.pcf │ │ ├── annotation2.err │ │ ├── annotation3.err │ │ ├── annotation4.err │ │ ├── annotation5.err │ │ ├── annotation6.err │ │ ├── annotationIsNotExpression.err │ │ ├── annotationIsNotExpression2.err │ │ ├── deprecated1.err │ │ ├── deprecated2.err │ │ ├── deprecated3.err │ │ ├── deprecatedNoRepeatedWarnings.err │ │ ├── deprecatedWithMessage1.err │ │ ├── deprecatedWithMessage2.err │ │ ├── deprecatedWithMessage3.err │ │ └── deprecationSuperMethod.err │ │ ├── api │ │ ├── Resource.pcf │ │ ├── analyze1.pcf │ │ ├── any.pcf │ │ ├── anyConverter.pcf │ │ ├── baseModule.pcf │ │ ├── benchmarkModule.pcf │ │ ├── dataSize.pcf │ │ ├── dir1 │ │ │ └── dir2 │ │ │ │ └── relativePathTo.pcf │ │ ├── duration.pcf │ │ ├── dynamic.pcf │ │ ├── float.pcf │ │ ├── int.pcf │ │ ├── intseq.pcf │ │ ├── jsonParser1.pcf │ │ ├── jsonParser2.pcf │ │ ├── jsonParser3.pcf │ │ ├── jsonParser4.pcf │ │ ├── jsonParser5.pcf │ │ ├── jsonRenderer1.json │ │ ├── jsonRenderer2.json │ │ ├── jsonRenderer2b.pcf │ │ ├── jsonRenderer3.json │ │ ├── jsonRenderer4.pcf │ │ ├── jsonRenderer5.pcf │ │ ├── jsonRenderer6.json │ │ ├── jsonRenderer7.pcf │ │ ├── jsonRenderer8.err │ │ ├── jsonRendererEmptyComposites.pcf │ │ ├── jsonnetRenderer1.jsonnet │ │ ├── jsonnetRenderer2.jsonnet │ │ ├── jsonnetRenderer3.jsonnet │ │ ├── jsonnetRenderer4.pcf │ │ ├── jsonnetRenderer5.pcf │ │ ├── jsonnetRenderer6.jsonnet │ │ ├── jsonnetRenderer7.err │ │ ├── list.pcf │ │ ├── listNullable.pcf │ │ ├── listing.pcf │ │ ├── map.pcf │ │ ├── mapping.pcf │ │ ├── mathModule.pcf │ │ ├── module.pcf │ │ ├── moduleOutput.pcf │ │ ├── moduleOutput2.pcf │ │ ├── pListRenderer1.plist │ │ ├── pListRenderer2.plist │ │ ├── pListRenderer3.plist │ │ ├── pListRenderer4.pcf │ │ ├── pListRenderer5.pcf │ │ ├── pListRenderer6.plist │ │ ├── pListRenderer7.err │ │ ├── pair.pcf │ │ ├── pcfRenderer1.pcf │ │ ├── pcfRenderer2.pcf │ │ ├── pcfRenderer2b.pcf │ │ ├── pcfRenderer3.pcf │ │ ├── pcfRenderer4.pcf │ │ ├── pcfRenderer5.pcf │ │ ├── pcfRenderer6.pcf │ │ ├── pcfRenderer7.pcf │ │ ├── pcfRenderer8.err │ │ ├── platformModule.pcf │ │ ├── plistRenderer2b.pcf │ │ ├── propertiesRenderer1.properties │ │ ├── propertiesRenderer10.err │ │ ├── propertiesRenderer11.err │ │ ├── propertiesRenderer2.properties │ │ ├── propertiesRenderer2b.pcf │ │ ├── propertiesRenderer3.properties │ │ ├── propertiesRenderer4.pcf │ │ ├── propertiesRenderer5.pcf │ │ ├── propertiesRenderer6.properties │ │ ├── propertiesRenderer7.properties │ │ ├── propertiesRenderer8.properties │ │ ├── propertiesRenderer9.properties │ │ ├── propertiesRendererBug66849708.properties │ │ ├── protobuf.pcf │ │ ├── protobuf2.pcf │ │ ├── reflect1.pcf │ │ ├── reflect2.pcf │ │ ├── reflect3.pcf │ │ ├── reflectedDeclaration.pcf │ │ ├── regex.pcf │ │ ├── releaseModule.pcf │ │ ├── renderDirective.pcf │ │ ├── renderDirective2.pcf │ │ ├── semverModule.pcf │ │ ├── set.pcf │ │ ├── setNullable.pcf │ │ ├── shellModule.pcf │ │ ├── string.pcf │ │ ├── stringUnicode.pcf │ │ ├── typeAliases.pcf │ │ ├── typeConverters.pcf │ │ ├── typed.pcf │ │ ├── xmlRenderer1.xml │ │ ├── xmlRenderer2.xml │ │ ├── xmlRenderer2b.pcf │ │ ├── xmlRenderer3.xml │ │ ├── xmlRenderer4.pcf │ │ ├── xmlRenderer5.pcf │ │ ├── xmlRenderer6.xml │ │ ├── xmlRenderer8.err │ │ ├── xmlRendererCData.xml │ │ ├── xmlRendererElement.xml │ │ ├── xmlRendererHtml.xml │ │ ├── xmlRendererInline.xml │ │ ├── xmlRendererInline2.xml │ │ ├── xmlRendererInline3.xml │ │ ├── xmlRendererValidation10.pcf │ │ ├── xmlRendererValidation11.pcf │ │ ├── yamlParser1Compat.pcf │ │ ├── yamlParser1Yaml11.pcf │ │ ├── yamlParser1Yaml12.pcf │ │ ├── yamlParser2.pcf │ │ ├── yamlParser3.pcf │ │ ├── yamlParser4.pcf │ │ ├── yamlParser5.pcf │ │ ├── yamlParser6.pcf │ │ ├── yamlRenderer1.yml │ │ ├── yamlRenderer2.yml │ │ ├── yamlRenderer2b.pcf │ │ ├── yamlRenderer3.yml │ │ ├── yamlRenderer4.pcf │ │ ├── yamlRenderer5.pcf │ │ ├── yamlRenderer6.yml │ │ ├── yamlRenderer7.err │ │ ├── yamlRenderer8.yml │ │ ├── yamlRendererBug66849708.yml │ │ ├── yamlRendererEmpty.yml │ │ ├── yamlRendererIndentationWidth2.yml │ │ ├── yamlRendererIndentationWidth4.yml │ │ ├── yamlRendererIndentationWidth5.yml │ │ ├── yamlRendererKeys.yml │ │ ├── yamlRendererStream1.pcf │ │ ├── yamlRendererStream2.pcf │ │ ├── yamlRendererStrings.yml │ │ ├── yamlRendererStringsCompat.pcf │ │ ├── yamlRendererStringsYaml11.pcf │ │ └── yamlRendererStringsYaml12.pcf │ │ ├── basic │ │ ├── amendsChains.pcf │ │ ├── as.pcf │ │ ├── as2.pcf │ │ ├── as3.pcf │ │ ├── baseModule.pcf │ │ ├── boolean.pcf │ │ ├── comments.pcf │ │ ├── constModifier.pcf │ │ ├── constModifier2.pcf │ │ ├── constModifier3.pcf │ │ ├── constModifier4.pcf │ │ ├── constModifier5.err │ │ ├── dataSize.pcf │ │ ├── duration.pcf │ │ ├── exceptions.err │ │ ├── fixedProperty1.pcf │ │ ├── fixedProperty2.pcf │ │ ├── fixedProperty3.pcf │ │ ├── fixedProperty4.err │ │ ├── fixedProperty5.err │ │ ├── fixedProperty6.err │ │ ├── float.pcf │ │ ├── identifier.pcf │ │ ├── if.pcf │ │ ├── import1.pcf │ │ ├── import1b.pcf │ │ ├── import2.pcf │ │ ├── import3.pcf │ │ ├── importGlob.pcf │ │ ├── imported.pcf │ │ ├── indexExpressions.pcf │ │ ├── int.pcf │ │ ├── intseq.pcf │ │ ├── is.pcf │ │ ├── is2.pcf │ │ ├── let.pcf │ │ ├── letTyped.pcf │ │ ├── list.pcf │ │ ├── localMethodDynamicBinding.pcf │ │ ├── localMethodInAmendingModule.pcf │ │ ├── localMethodOverride1.pcf │ │ ├── localMethodOverride2.pcf │ │ ├── localMethodTyped.pcf │ │ ├── localMethodTyped2.pcf │ │ ├── localMethodTyped3.pcf │ │ ├── localMethodTyped4.pcf │ │ ├── localMethodTyped5.pcf │ │ ├── localMethodTyped6.pcf │ │ ├── localMethodUntyped.pcf │ │ ├── localModuleMemberOverride1.pcf │ │ ├── localModuleMemberOverride2.pcf │ │ ├── localProperty1.pcf │ │ ├── localProperty2.pcf │ │ ├── localPropertyAmendInAmendingModule.err │ │ ├── localPropertyInAmendingModule.pcf │ │ ├── localPropertyOverride1.pcf │ │ ├── localPropertyOverride2.pcf │ │ ├── localPropertyOverride3.pcf │ │ ├── localTypedClassMember.pcf │ │ ├── localTypedModuleMember.pcf │ │ ├── localTypedObjectMember.pcf │ │ ├── map.pcf │ │ ├── minPklVersion.pcf │ │ ├── moduleRef1.pcf │ │ ├── moduleRef2.pcf │ │ ├── moduleRef3.pcf │ │ ├── moduleRefLibrary.pcf │ │ ├── new.pcf │ │ ├── newInAmendingModuleMethod.pcf │ │ ├── newInsideIf.pcf │ │ ├── newInsideLet.pcf │ │ ├── newType.pcf │ │ ├── nonNull.pcf │ │ ├── nullable.pcf │ │ ├── objectMember.pcf │ │ ├── objectMemberInvalid.err │ │ ├── objectMemberInvalid2.err │ │ ├── objectMemberInvalid3.err │ │ ├── parens.pcf │ │ ├── propertyDefaults.pcf │ │ ├── rawString.pcf │ │ ├── read.pcf │ │ ├── readGlob.pcf │ │ ├── semicolon.pcf │ │ ├── set.pcf │ │ ├── string.pcf │ │ ├── stringError1.err │ │ ├── stringMultiline.pcf │ │ ├── stringUnicode.pcf │ │ ├── trace.err │ │ ├── typeResolution1.pcf │ │ ├── typeResolution2.pcf │ │ ├── typeResolution3.pcf │ │ ├── typeResolution4.pcf │ │ └── underscore.pcf │ │ ├── classes │ │ ├── class1.pcf │ │ ├── class2.pcf │ │ ├── class2a.pcf │ │ ├── class3.err │ │ ├── class4.pcf │ │ ├── constraints1.pcf │ │ ├── constraints10.pcf │ │ ├── constraints11.pcf │ │ ├── constraints12.pcf │ │ ├── constraints13.pcf │ │ ├── constraints14.pcf │ │ ├── constraints2.pcf │ │ ├── constraints3.pcf │ │ ├── constraints4.pcf │ │ ├── constraints5.err │ │ ├── constraints6.pcf │ │ ├── constraints7.pcf │ │ ├── constraints8.pcf │ │ ├── constraints9.pcf │ │ ├── constraintsLambdaThis.pcf │ │ ├── duplicateFunction.err │ │ ├── duplicateProperty.err │ │ ├── equality.pcf │ │ ├── externalClass.err │ │ ├── externalFunction.err │ │ ├── externalProperty.err │ │ ├── functions1.pcf │ │ ├── functions2.pcf │ │ ├── functions3.pcf │ │ ├── functions4.pcf │ │ ├── inheritance1.pcf │ │ ├── inheritance2.pcf │ │ ├── inheritanceError1.err │ │ ├── invalidInstantiation1.err │ │ ├── invalidInstantiation2.err │ │ ├── lambdaConstraints1.pcf │ │ ├── listConstraints1.pcf │ │ ├── mapConstraints1.pcf │ │ ├── nullableTypes.pcf │ │ ├── setConstraints1.pcf │ │ ├── supercalls.pcf │ │ ├── unionTypes.pcf │ │ ├── unionTypesErrorAlias.err │ │ ├── unionTypesErrorDifferent1.err │ │ ├── unionTypesErrorDifferent2.err │ │ ├── unionTypesErrorMultipleAliases.err │ │ ├── unionTypesErrorNested.err │ │ ├── unionTypesErrorSimple.err │ │ ├── unionTypesErrorString1.err │ │ ├── unionTypesErrorString2.err │ │ ├── wrongType1.err │ │ ├── wrongType2.err │ │ ├── wrongType3.err │ │ ├── wrongType4.err │ │ ├── wrongType5.pcf │ │ └── wrongType6.err │ │ ├── errors │ │ ├── abstractOpenMember.err │ │ ├── analyzeImportsCannotFindModule.err │ │ ├── analyzeImportsInvalidGlob.err │ │ ├── analyzeInvalidHttpModule.err │ │ ├── analyzeInvalidModuleUri.err │ │ ├── analyzeRelativeModuleUri.err │ │ ├── anyConverterError.err │ │ ├── baseModule.pcf │ │ ├── cannotAmendFixedProperty1.err │ │ ├── cannotAmendFixedProperty2.err │ │ ├── cannotAssignFixedProperty1.err │ │ ├── cannotAssignFixedProperty2.err │ │ ├── cannotAssignFixedProperty3.err │ │ ├── cannotAssignToNothing.err │ │ ├── cannotChangeFixed1.err │ │ ├── cannotChangeFixed2.err │ │ ├── cannotFindMapKey.err │ │ ├── cannotFindStdLibModule.err │ │ ├── cannotInferParent2.err │ │ ├── cannotInferParent3.err │ │ ├── cannotInstantiateAbstractModule.err │ │ ├── cannotRenderMixin.err │ │ ├── classExtendsSelf.err │ │ ├── const │ │ │ ├── constAmend.err │ │ │ ├── constAnnotation.err │ │ │ ├── constAnnotation2.err │ │ │ ├── constAnnotation3.err │ │ │ ├── constAssign.err │ │ │ ├── constClassBody.err │ │ │ ├── constExplicitThis.err │ │ │ ├── constExplicitThisMethod.err │ │ │ ├── constFunctionCallingNonConst.err │ │ │ ├── constImplicitThis.err │ │ │ ├── constImplicitThisMethod.err │ │ │ ├── constLexicalScope.err │ │ │ ├── constLocalAmendModule.pcf │ │ │ ├── constLocalMethod.err │ │ │ ├── constLocalProperty.err │ │ │ ├── constMethod.err │ │ │ ├── constMethod2.err │ │ │ ├── constModule.err │ │ │ ├── constModule2.err │ │ │ ├── constModule3.err │ │ │ ├── constObjectMember.err │ │ │ ├── constOuter.err │ │ │ ├── constOuter2.err │ │ │ ├── constOuter3.err │ │ │ ├── constQualified.err │ │ │ ├── constSubclass.err │ │ │ ├── constSubclass2.err │ │ │ ├── constSuper.err │ │ │ ├── constSuperMethod.err │ │ │ ├── constThis.err │ │ │ └── constTypeAliasConstraint.err │ │ ├── constraintDetails1.err │ │ ├── constraintDetails2.err │ │ ├── constraintDetails3.err │ │ ├── delimiters │ │ │ ├── missingClassDelimiter.err │ │ │ ├── missingConstrainedTypeSeparator.err │ │ │ ├── missingContainerAmendDefDelimiter.err │ │ │ ├── missingContainerAmendExprDelimiter.err │ │ │ ├── missingEmptyMultiLineStringDelimiter.err │ │ │ ├── missingEmptyMultiLineStringDelimiterAtEof.err │ │ │ ├── missingEmptyStringDelimiter.err │ │ │ ├── missingEmptyStringDelimiterAtEof.err │ │ │ ├── missingFunction0ParameterListDelimiter.err │ │ │ ├── missingFunction1ParameterListDelimiter.err │ │ │ ├── missingFunctionAmendParameterListSeparator.err │ │ │ ├── missingFunctionNParameterListDelimiter.err │ │ │ ├── missingFunctionParameterListSeparator.err │ │ │ ├── missingFunctionType0ParameterListDelimiter.err │ │ │ ├── missingFunctionType1ParameterListDelimiter.err │ │ │ ├── missingFunctionTypeNParameterListDelimiter.err │ │ │ ├── missingFunctionTypeParameterListSeparator.err │ │ │ ├── missingIfExprDelimiter.err │ │ │ ├── missingListDelimiter.err │ │ │ ├── missingListSeparator.err │ │ │ ├── missingMapDelimiter.err │ │ │ ├── missingMapSeparator.err │ │ │ ├── missingMethodArgumentListDelimiter.err │ │ │ ├── missingMethodArgumentListSeparator.err │ │ │ ├── missingMethodParameterListDelimiter.err │ │ │ ├── missingMethodParameterListSeparator.err │ │ │ ├── missingMultiLineStringDelimiter.err │ │ │ ├── missingObjectAmendDefDelimiter.err │ │ │ ├── missingObjectAmendDefDelimiter2.err │ │ │ ├── missingObjectAmendDefDelimiter3.err │ │ │ ├── missingObjectAmendExprDelimiter.err │ │ │ ├── missingObjectDelimiter.err │ │ │ ├── missingParenthesizedExprDelimiter.err │ │ │ ├── missingParenthesizedTypeDelimiter.err │ │ │ ├── missingRawMultiLineStringDelimiter.err │ │ │ ├── missingRawStringDelimiter.err │ │ │ ├── missingSetSeparator.err │ │ │ ├── missingStringDelimiter.err │ │ │ ├── missingSubscriptDelimiter.err │ │ │ ├── missingTypeConstraintListDelimiter.err │ │ │ ├── missingTypedMethodParameterListDelimiter.err │ │ │ ├── missingTypedMethodParameterListSeparator.err │ │ │ ├── unbalancedEntryBrackets1.err │ │ │ ├── unbalancedEntryBrackets2.err │ │ │ ├── unbalancedEntryBrackets3.err │ │ │ └── unbalancedEntryBrackets4.err │ │ ├── duplicateTypeParameter.err │ │ ├── extendExternalClass.err │ │ ├── extendTypeAlias.err │ │ ├── forGeneratorCannotGenerateMethods.err │ │ ├── forGeneratorCannotGenerateProperties.err │ │ ├── forGeneratorCannotIterateOverThisValue.err │ │ ├── forGeneratorCannotIterateOverTyped.err │ │ ├── forGeneratorDuplicateParams1.err │ │ ├── forGeneratorWrongVariableName.err │ │ ├── fullStackTraces.err │ │ ├── fullStackTraces2.err │ │ ├── functionNotFoundInClass.err │ │ ├── functionNotFoundInModule.err │ │ ├── functionNotFoundInScope.err │ │ ├── functionNotFoundMaybeLambda.err │ │ ├── functionNotFoundMaybeProperty.err │ │ ├── intrinsifiedTypeAlias1.err │ │ ├── intrinsifiedTypeAlias2.err │ │ ├── intrinsifiedTypeAlias3.err │ │ ├── intrinsifiedTypeAlias4.err │ │ ├── invalidCharacterEscape.err │ │ ├── invalidClassMethodModifier.err │ │ ├── invalidClassModifier.err │ │ ├── invalidClassModifier2.err │ │ ├── invalidClassPropertyModifier.err │ │ ├── invalidFileUri1.err │ │ ├── invalidFileUri2.err │ │ ├── invalidFileUri3.err │ │ ├── invalidFileUri4.err │ │ ├── invalidGlobImport1.err │ │ ├── invalidGlobImport2.err │ │ ├── invalidGlobImport3.err │ │ ├── invalidGlobImport4.err │ │ ├── invalidGlobImport5.err │ │ ├── invalidGlobImport6.err │ │ ├── invalidGlobImport7.err │ │ ├── invalidGlobImport8.err │ │ ├── invalidGlobRead1.err │ │ ├── invalidGlobRead2.err │ │ ├── invalidGlobRead3.err │ │ ├── invalidImportBackslashSep.err │ │ ├── invalidImportUri.err │ │ ├── invalidMethodModifier.err │ │ ├── invalidModuleModifier.err │ │ ├── invalidObjectPropertyModifier.err │ │ ├── invalidOutput1.err │ │ ├── invalidOutput2.err │ │ ├── invalidOutput3.err │ │ ├── invalidPropertyModifier.err │ │ ├── invalidTripleDotSyntax1.err │ │ ├── invalidTripleDotSyntax2.err │ │ ├── invalidTypeAliasModifier.err │ │ ├── invalidTypeName1.err │ │ ├── invalidTypeName2.err │ │ ├── invalidTypeName3.err │ │ ├── invalidTypeName4.err │ │ ├── invalidUnicodeEscape.err │ │ ├── keywordNotAllowedHere1.err │ │ ├── keywordNotAllowedHere2.err │ │ ├── keywordNotAllowedHere3.err │ │ ├── keywordNotAllowedHere4.err │ │ ├── letExpressionError1.err │ │ ├── letExpressionError2.err │ │ ├── letExpressionErrorTyped.err │ │ ├── listingTypeCheckError1.err │ │ ├── listingTypeCheckError2.err │ │ ├── listingTypeCheckError3.err │ │ ├── listingTypeCheckError4.err │ │ ├── listingTypeCheckError5.err │ │ ├── listingTypeCheckError6.err │ │ ├── listingTypeCheckError7.err │ │ ├── listingTypeCheckError8.err │ │ ├── listingTypeCheckError9.err │ │ ├── localFixedMember.err │ │ ├── localFunctionWithTypeParameter.err │ │ ├── localHiddenMember.err │ │ ├── mappingTypeCheckError1.err │ │ ├── mappingTypeCheckError10.err │ │ ├── mappingTypeCheckError11.err │ │ ├── mappingTypeCheckError2.err │ │ ├── mappingTypeCheckError3.err │ │ ├── mappingTypeCheckError4.err │ │ ├── mappingTypeCheckError5.err │ │ ├── mappingTypeCheckError6.err │ │ ├── mappingTypeCheckError7.err │ │ ├── mappingTypeCheckError8.err │ │ ├── mappingTypeCheckError9.err │ │ ├── missingLocalPropertyValue1.err │ │ ├── missingLocalPropertyValue2.err │ │ ├── moduleAmendsSelf.err │ │ ├── moduleAmendsVersionCheck.err │ │ ├── moduleAmendsVersionCheck2.err │ │ ├── moduleExpected.err │ │ ├── moduleExtendsSelf.err │ │ ├── moduleExtendsVersionCheck.err │ │ ├── moduleExtendsVersionCheck2.err │ │ ├── moduleImportVersionCheck.err │ │ ├── moduleWithHighMinPklVersion.err │ │ ├── moduleWithHighMinPklVersionAndParseErrors.err │ │ ├── multipleDefaults.err │ │ ├── nested1.err │ │ ├── noDefault.err │ │ ├── noDefault2.err │ │ ├── notAUnionDefault.err │ │ ├── objectCannotHaveElement.err │ │ ├── objectCannotHaveElement2.err │ │ ├── objectCannotHavePredicateMember.err │ │ ├── outOfRange1.err │ │ ├── outOfRange2.err │ │ ├── outOfRange3.err │ │ ├── parser1.err │ │ ├── parser10.err │ │ ├── parser11.err │ │ ├── parser12.err │ │ ├── parser14.err │ │ ├── parser15.err │ │ ├── parser16.err │ │ ├── parser17.err │ │ ├── parser18.err │ │ ├── parser2.err │ │ ├── parser3.err │ │ ├── parser4.err │ │ ├── parser5.err │ │ ├── parser6.err │ │ ├── parser7.err │ │ ├── parser8.err │ │ ├── parser9.err │ │ ├── propertyNotFound1.err │ │ ├── propertyNotFound2.err │ │ ├── refusingToLoadModule.err │ │ ├── spreadSyntaxCannotHaveElement.err │ │ ├── spreadSyntaxCannotHaveEntry.err │ │ ├── spreadSyntaxCannotHaveProperty.err │ │ ├── spreadSyntaxCannotIterateOverTyped.err │ │ ├── spreadSyntaxCannotSpreadListIntoMapping.err │ │ ├── spreadSyntaxDuplicateEntry1.err │ │ ├── spreadSyntaxDuplicateEntry2.err │ │ ├── spreadSyntaxDuplicateProperty1.err │ │ ├── spreadSyntaxDuplicateProperty2.err │ │ ├── spreadSyntaxNullValue.err │ │ ├── spreadSyntaxUnknownTypedProperty.err │ │ ├── stackTraceWithQuotedMemberName.err │ │ ├── supercalls.err │ │ ├── typeMismatchWithSameQualifiedClassName.err │ │ ├── typeMismatchWithSameQualifiedModuleName.err │ │ ├── undefinedOp1.err │ │ ├── undefinedOp2.err │ │ ├── undefinedOp3.err │ │ ├── undefinedProperty1.err │ │ ├── undefinedProperty2.err │ │ ├── undefinedProperty3.err │ │ ├── undefinedProperty4.err │ │ ├── undefinedProperty5.err │ │ ├── undefinedProperty6.err │ │ ├── undefinedProperty7.err │ │ ├── undefinedProperty8.err │ │ ├── underscore.err │ │ ├── underscoreLambda.err │ │ ├── underscoreLet.err │ │ ├── unterminatedUnicodeEscape.err │ │ ├── userDefinedTypeParameter1.err │ │ ├── userDefinedTypeParameter2.err │ │ ├── wrongForGeneratorType1.err │ │ ├── wrongForGeneratorType2.err │ │ └── wrongNumberOfMapArguments.err │ │ ├── generators │ │ ├── duplicateDefinition1.err │ │ ├── duplicateDefinition2.err │ │ ├── duplicateDefinition3.err │ │ ├── elementGenerators.pcf │ │ ├── elementGeneratorsTyped.pcf │ │ ├── entryGenerators.pcf │ │ ├── entryGeneratorsTyped.pcf │ │ ├── forGeneratorInFunctionBody.pcf │ │ ├── forGeneratorInMixins.pcf │ │ ├── forGeneratorLexicalScope.pcf │ │ ├── forGeneratorNestedReference.pcf │ │ ├── forGeneratorNestedReference2.pcf │ │ ├── forGeneratorVariableShadowing.pcf │ │ ├── generatorNoMembers.err │ │ ├── predicateMembersDynamicListing.pcf │ │ ├── predicateMembersDynamicMapping.pcf │ │ ├── predicateMembersListing.pcf │ │ ├── predicateMembersMapping.pcf │ │ ├── predicateMembersThis.pcf │ │ ├── propertyGenerators.pcf │ │ ├── spreadSyntaxDynamic.pcf │ │ ├── spreadSyntaxListing.pcf │ │ ├── spreadSyntaxMapping.pcf │ │ ├── spreadSyntaxNoSpace.err │ │ ├── spreadSyntaxNullable.pcf │ │ └── spreadSyntaxTyped.pcf │ │ ├── implementation │ │ ├── equality.pcf │ │ └── inequality.pcf │ │ ├── internal │ │ └── polymorphicCallSite.pcf │ │ ├── lambdas │ │ ├── amendLambdaDef.pcf │ │ ├── amendLambdaExpr.pcf │ │ ├── amendLambdaExternalClassError.err │ │ ├── amendLambdaParameters.pcf │ │ ├── amendLambdaParametersTyped.pcf │ │ ├── amendLambdaThatReturnsAnotherLambda.pcf │ │ ├── amendLambdaTooFewArgsError.err │ │ ├── amendLambdaTooManyArgsError.err │ │ ├── equality.pcf │ │ ├── inequality.pcf │ │ ├── lambda1.pcf │ │ ├── lambda2.pcf │ │ ├── lambda3.pcf │ │ ├── lambda4.pcf │ │ ├── lambda5.pcf │ │ ├── lambdaStackTrace1.err │ │ ├── lambdaStackTrace2.err │ │ ├── lambdaStackTrace3.err │ │ ├── pipeOperator.pcf │ │ ├── tooManyLambdaParams.err │ │ ├── typedLambdas.pcf │ │ └── wrongArgumentListLength.err │ │ ├── listings │ │ ├── cacheStealing.pcf │ │ ├── cacheStealingTypeCheck.pcf │ │ ├── default.pcf │ │ ├── equality.pcf │ │ ├── hashCode.pcf │ │ ├── inequality.pcf │ │ ├── listing1.pcf │ │ ├── listing2.pcf │ │ ├── listing3.pcf │ │ ├── listing4.pcf │ │ ├── listing5.pcf │ │ ├── listing6.pcf │ │ ├── listing7.err │ │ ├── numberLiterals.pcf │ │ ├── typeCheck.pcf │ │ ├── wrongIndex.pcf │ │ └── wrongParent.pcf │ │ ├── listings2 │ │ ├── default.pcf │ │ ├── equality.pcf │ │ ├── inequality.pcf │ │ ├── listing1.pcf │ │ ├── listing2.pcf │ │ ├── listing3.pcf │ │ ├── numberLiterals.pcf │ │ ├── typeCheck.pcf │ │ ├── wrongIndex.pcf │ │ └── wrongParent.pcf │ │ ├── mappings │ │ ├── default.pcf │ │ ├── duplicateComputedKey.pcf │ │ ├── duplicateConstantKey.err │ │ ├── equality.pcf │ │ ├── hashCode.pcf │ │ ├── inequality.pcf │ │ ├── mapping1.pcf │ │ ├── mapping2.pcf │ │ ├── stringKeyNotFound.err │ │ ├── typeCheck.pcf │ │ └── wrongParent.pcf │ │ ├── mappings2 │ │ ├── default.pcf │ │ ├── duplicateComputedKey.pcf │ │ ├── duplicateConstantKey.err │ │ ├── equality.pcf │ │ ├── inequality.pcf │ │ ├── mapping1.pcf │ │ ├── mapping2.pcf │ │ ├── stringKeyNotFound.err │ │ ├── typeCheck.pcf │ │ └── wrongParent.pcf │ │ ├── methods │ │ ├── methodParameterConstraints1.pcf │ │ ├── methodParameterConstraints2.pcf │ │ ├── methodParameterTypes1.pcf │ │ ├── methodParameterTypes2.pcf │ │ └── methodParameterTypes3.pcf │ │ ├── modules │ │ ├── amendModule1.pcf │ │ ├── amendModule2.pcf │ │ ├── amendModule3.pcf │ │ ├── amendModule4.pcf │ │ ├── amendModule5.pcf │ │ ├── amendModule6.pcf │ │ ├── duplicateFunction.err │ │ ├── duplicateProperty1.err │ │ ├── duplicateProperty2.err │ │ ├── duplicateProperty3.err │ │ ├── equality.pcf │ │ ├── extendModule1.pcf │ │ ├── externalFunction.err │ │ ├── externalProperty.err │ │ ├── filename with spaces 2.pcf │ │ ├── filename with spaces.pcf │ │ ├── functions.pcf │ │ ├── invalidAmend1.err │ │ ├── invalidAmend2.err │ │ ├── invalidAmend3.err │ │ ├── invalidAmend4.err │ │ ├── invalidAmend5.err │ │ ├── invalidAmend6.err │ │ ├── invalidExtend1.err │ │ ├── invalidExtend2.err │ │ ├── invalidExtend3.err │ │ ├── library.pcf │ │ ├── lists.pcf │ │ ├── objects.pcf │ │ ├── recursiveModule1.pcf │ │ ├── supercalls1.pcf │ │ ├── supercalls2.pcf │ │ ├── supercalls3.pcf │ │ ├── typedModuleMethods1.pcf │ │ ├── typedModuleProperties1.pcf │ │ ├── typedModuleProperties2.err │ │ ├── typedModuleProperties3.err │ │ ├── 日本語.pcf │ │ └── 日本語_error.err │ │ ├── objects │ │ ├── closure.pcf │ │ ├── configureObjectAssign.pcf │ │ ├── duplicateProperty.err │ │ ├── equality.pcf │ │ ├── hashCode.pcf │ │ ├── implicitReceiver1.pcf │ │ ├── implicitReceiver2.pcf │ │ ├── implicitReceiver3.pcf │ │ ├── implicitReceiver4.err │ │ ├── inequality.pcf │ │ ├── lateBinding1.pcf │ │ ├── lateBinding2.pcf │ │ ├── lateBinding3.pcf │ │ ├── lateBinding4.pcf │ │ ├── outer.pcf │ │ ├── outer2.err │ │ ├── super1.pcf │ │ ├── super2.pcf │ │ ├── super3.pcf │ │ ├── super4.pcf │ │ ├── super5.pcf │ │ ├── this1.pcf │ │ └── this2.pcf │ │ ├── packages │ │ ├── badImport1.err │ │ ├── badImport10.err │ │ ├── badImport11.err │ │ ├── badImport2.err │ │ ├── badImport3.err │ │ ├── badImport4.err │ │ ├── badImport6.err │ │ ├── badImport7.err │ │ ├── badImport8.err │ │ ├── badImport9.err │ │ ├── badRead1.err │ │ ├── badRead2.err │ │ ├── badRead3.err │ │ ├── badRead4.err │ │ ├── badRead8.err │ │ ├── badRead9.err │ │ ├── packages1.pcf │ │ ├── packages2.pcf │ │ └── redirects.pcf │ │ ├── parser │ │ ├── amendsRequiresParens.err │ │ ├── constantStringInterpolation.err │ │ ├── invalidCharacter.err │ │ ├── lineCommentBetween.pcf │ │ ├── newline.pcf │ │ ├── spacesBetweenDocComments.err │ │ ├── typeAnnotationInAmends.err │ │ └── wrongDocComment.err │ │ ├── projects │ │ ├── badLocalProject │ │ │ └── dog.pcf │ │ ├── badPklProject1 │ │ │ └── bug.err │ │ ├── badPklProject2 │ │ │ └── bug.err │ │ ├── badPklProject3 │ │ │ └── bug.err │ │ ├── badProjectDeps1 │ │ │ └── bug.err │ │ ├── badProjectDeps2 │ │ │ └── bug.err │ │ ├── badProjectDeps3 │ │ │ └── bug.err │ │ ├── badProjectDeps4 │ │ │ └── bug.err │ │ ├── badProjectDeps5 │ │ │ └── bug.err │ │ ├── badProjectDeps6 │ │ │ └── bug.err │ │ ├── evaluatorSettings │ │ │ └── basic.pcf │ │ ├── missingProjectDeps │ │ │ └── bug.err │ │ ├── notAProject │ │ │ ├── @child │ │ │ │ └── theChild.pcf │ │ │ ├── badImport.err │ │ │ └── goodImport.pcf │ │ ├── project1 │ │ │ ├── badImport1.err │ │ │ ├── badImport2.err │ │ │ ├── badImport3.err │ │ │ ├── badRead1.err │ │ │ ├── basic.pcf │ │ │ ├── directPackageImport.err │ │ │ ├── globbing.pcf │ │ │ ├── localProject.pcf │ │ │ └── localProjectRead.pcf │ │ ├── project2 │ │ │ └── penguin.pcf │ │ ├── project3 │ │ │ └── basic.pcf │ │ ├── project4 │ │ │ └── main.pcf │ │ ├── project5 │ │ │ └── main.pcf │ │ └── project6 │ │ │ ├── children.pcf │ │ │ └── children │ │ │ ├── a.pcf │ │ │ ├── b.pcf │ │ │ └── c.pcf │ │ └── types │ │ ├── ThisInTypeConstraint.pcf │ │ ├── currentModuleType1.pcf │ │ ├── currentModuleType2.pcf │ │ ├── currentModuleType3.pcf │ │ ├── cyclicTypeAlias1.err │ │ ├── cyclicTypeAlias2.err │ │ ├── helpers │ │ └── someModule.pcf │ │ ├── modifiersForTypes.pcf │ │ ├── moduleType.pcf │ │ ├── nothingType.err │ │ ├── nothingWithUnions.pcf │ │ ├── typeAlias1.pcf │ │ ├── typeAlias2.pcf │ │ ├── typeAliasConstraint1.pcf │ │ ├── typeAliasConstraint2.pcf │ │ ├── typeAliasContext.err │ │ └── typeAliasUnion.pcf │ ├── kotlin │ └── org │ │ └── pkl │ │ └── core │ │ ├── AnalyzerTest.kt │ │ ├── ClassInheritanceTest.kt │ │ ├── DataSizeTest.kt │ │ ├── DataSizeUnitTest.kt │ │ ├── DurationTest.kt │ │ ├── DurationUnitTest.kt │ │ ├── DynamicTest.kt │ │ ├── EvaluateExpressionTest.kt │ │ ├── EvaluateMultipleFileOutputTest.kt │ │ ├── EvaluateOutputTextTest.kt │ │ ├── EvaluateSchemaTest.kt │ │ ├── EvaluateTestsTest.kt │ │ ├── EvaluatorBuilderTest.kt │ │ ├── EvaluatorTest.kt │ │ ├── JsonRendererTest.kt │ │ ├── LanguageSnippetTests.kt │ │ ├── LanguageSnippetTestsEngine.kt │ │ ├── PClassInfoTest.kt │ │ ├── PListRendererTest.kt │ │ ├── PModuleTest.kt │ │ ├── PNullTest.kt │ │ ├── PObjectTest.kt │ │ ├── PairTest.kt │ │ ├── PcfRendererTest.kt │ │ ├── PklInfoTest.kt │ │ ├── PlatformTest.kt │ │ ├── PropertiesRendererTest.kt │ │ ├── ReleaseTest.kt │ │ ├── ReplServerTest.kt │ │ ├── RepositoryHygiene.kt │ │ ├── SecurityManagersTest.kt │ │ ├── StackFrameTransformersTest.kt │ │ ├── VersionTest.kt │ │ ├── YamlRendererTest.kt │ │ ├── ast │ │ └── builder │ │ │ └── ImportsAndReadsParserTest.kt │ │ ├── externalreader │ │ ├── ExternalModuleReader.kt │ │ ├── ExternalReaderBase.kt │ │ ├── ExternalReaderClient.kt │ │ ├── ExternalResourceReader.kt │ │ ├── MessagePackCodecTest.kt │ │ ├── TestExternalModuleReader.kt │ │ ├── TestExternalReaderProcess.kt │ │ └── TestExternalResourceReader.kt │ │ ├── http │ │ ├── DummyHttpClientTest.kt │ │ ├── HttpClientTest.kt │ │ ├── LazyHttpClientTest.kt │ │ ├── NoProxyRuleTest.kt │ │ ├── RequestCapturingClient.kt │ │ └── RequestRewritingClientTest.kt │ │ ├── messaging │ │ └── BaseMessagePackCodecTest.kt │ │ ├── module │ │ ├── ModuleKeyFactoriesTest.kt │ │ ├── ModuleKeysTest.kt │ │ ├── ModulePathResolverTest.kt │ │ ├── ResolvedModuleKeysTest.kt │ │ ├── ServiceProviderTest.kt │ │ └── TestModuleKeyFactory.kt │ │ ├── packages │ │ ├── DependencyMetadataTest.kt │ │ └── PackageResolversTest.kt │ │ ├── parser │ │ ├── MultiLineStringLiteralTest.kt │ │ └── ShebangTest.kt │ │ ├── project │ │ ├── ProjectDependenciesResolverTest.kt │ │ ├── ProjectDepsTest.kt │ │ └── ProjectTest.kt │ │ ├── resource │ │ ├── ResourceReadersEvaluatorTest.kt │ │ ├── ResourceReadersTest.kt │ │ └── TestResourceReader.kt │ │ ├── runtime │ │ ├── DefaultModuleResolverTest.kt │ │ ├── FileSystemManagerTest.kt │ │ ├── IteratorsTest.kt │ │ ├── ModuleKeyTest.kt │ │ ├── StackTraceRendererTest.kt │ │ ├── VmClassTest.kt │ │ ├── VmDataSizeTest.kt │ │ ├── VmDurationTest.kt │ │ ├── VmSafeMathTest.kt │ │ ├── VmUtilsTest.kt │ │ └── VmValueRendererTest.kt │ │ ├── settings │ │ └── PklSettingsTest.kt │ │ ├── stdlib │ │ ├── PathConverterSupportTest.kt │ │ ├── PathSpecParserTest.kt │ │ └── ReflectModuleTest.kt │ │ ├── truffle │ │ └── LongVsDoubleSpecializationTest.kt │ │ └── util │ │ ├── AnsiStringBuilderTest.kt │ │ ├── ArrayCharEscaperTest.kt │ │ ├── ExceptionsTest.kt │ │ ├── GlobResolverTest.kt │ │ ├── HttpUtilsTest.kt │ │ ├── ImportGraphUtilsTest.kt │ │ └── IoUtilsTest.kt │ └── resources │ ├── META-INF │ └── services │ │ ├── org.junit.platform.engine.TestEngine │ │ ├── org.pkl.core.module.ModuleKeyFactory │ │ └── org.pkl.core.resource.ResourceReader │ └── org │ └── pkl │ └── core │ ├── EvaluateSchemaTest.pkl │ ├── EvaluateSchemaTestBaseModule.pkl │ ├── EvaluatorTest.pkl │ ├── PropertyList-1.0.dtd │ ├── brokenModule1.pkl │ ├── brokenModule2.pkl │ ├── module │ ├── NamedModuleResolversTest.pkl │ ├── test.jar │ └── testFactoryTest.pkl │ ├── project │ ├── badProjectChecksum │ │ └── PklProject │ ├── badProjectChecksum2 │ │ ├── PklProject │ │ ├── PklProject.deps.json │ │ └── bug.pkl │ ├── project1 │ │ └── PklProject │ ├── project2 │ │ └── PklProject │ ├── project3 │ │ └── PklProject │ ├── project4 │ │ ├── PklProject │ │ ├── main.txt │ │ ├── module1.pkl │ │ └── module2.pkl │ ├── project5 │ │ ├── PklProject │ │ ├── PklProject.deps.json │ │ └── main.pkl │ ├── project6 │ │ ├── PklProject │ │ ├── PklProject.deps.json │ │ ├── globIntoDependency.pkl │ │ └── globWithinDependency.pkl │ ├── project7 │ │ ├── PklProject │ │ ├── main.pkl │ │ ├── moduleA.pkl │ │ └── moduleB.pkl │ ├── projectCycle1 │ │ └── PklProject │ ├── projectCycle2 │ │ └── PklProject │ ├── projectCycle3 │ │ └── PklProject │ └── projectCycle4 │ │ └── PklProject │ ├── propertiesRendererTest.pkl │ ├── propertiesRendererTest.properties │ ├── rendererTest.json │ ├── rendererTest.pcf │ ├── rendererTest.pkl │ ├── rendererTest.plist │ ├── rendererTest.yaml │ ├── resource │ ├── resource.txt │ ├── resource1.jar │ └── resource2.zip │ ├── snippets │ ├── imported.pkl │ └── name with [wierd]! chars~~.pkl │ └── stdlib │ └── protobufRendererTest.textproto ├── pkl-doc ├── gradle.lockfile ├── pkl-doc.gradle.kts └── src │ ├── main │ ├── kotlin │ │ └── org │ │ │ └── pkl │ │ │ └── doc │ │ │ ├── ClassPageGenerator.kt │ │ │ ├── CliDocGenerator.kt │ │ │ ├── CliDocGeneratorOptions.kt │ │ │ ├── Constants.kt │ │ │ ├── DocGenerator.kt │ │ │ ├── DocGeneratorException.kt │ │ │ ├── DocPackageInfo.kt │ │ │ ├── DocScope.kt │ │ │ ├── DocsiteInfo.kt │ │ │ ├── HtmlGenerator.kt │ │ │ ├── Main.kt │ │ │ ├── MainOrPackagePageGenerator.kt │ │ │ ├── MainPageGenerator.kt │ │ │ ├── Markdown.kt │ │ │ ├── ModuleOrClassPageGenerator.kt │ │ │ ├── ModulePageGenerator.kt │ │ │ ├── PackageDataGenerator.kt │ │ │ ├── PackagePageGenerator.kt │ │ │ ├── PageGenerator.kt │ │ │ ├── RuntimeDataGenerator.kt │ │ │ ├── SearchIndexGenerator.kt │ │ │ ├── Serializers.kt │ │ │ └── Util.kt │ └── resources │ │ └── org │ │ └── pkl │ │ └── doc │ │ ├── fonts │ │ ├── MaterialIcons-Regular.woff2 │ │ ├── lato-v14-latin_latin-ext-700.woff2 │ │ ├── lato-v14-latin_latin-ext-regular.woff2 │ │ ├── open-sans-v15-latin_latin-ext-700.woff2 │ │ ├── open-sans-v15-latin_latin-ext-700italic.woff2 │ │ ├── open-sans-v15-latin_latin-ext-italic.woff2 │ │ ├── open-sans-v15-latin_latin-ext-regular.woff2 │ │ ├── source-code-pro-v7-latin_latin-ext-700.woff2 │ │ └── source-code-pro-v7-latin_latin-ext-regular.woff2 │ │ ├── images │ │ ├── apple-touch-icon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ └── favicon.svg │ │ ├── scripts │ │ ├── pkldoc.js │ │ ├── scroll-into-view.min.js │ │ └── search-worker.js │ │ └── styles │ │ └── pkldoc.css │ └── test │ ├── files │ └── DocGeneratorTest │ │ ├── input │ │ ├── com.externalpackage │ │ │ ├── doc-package-info.pkl │ │ │ ├── external1.pkl │ │ │ └── external2.pkl │ │ ├── com.package1 │ │ │ ├── Module Containing Spaces.pkl │ │ │ ├── baseModule.pkl │ │ │ ├── classAnnotations.pkl │ │ │ ├── classComments.pkl │ │ │ ├── classInheritance.pkl │ │ │ ├── classMethodComments.pkl │ │ │ ├── classMethodModifiers.pkl │ │ │ ├── classMethodTypeAnnotations.pkl │ │ │ ├── classMethodTypeReferences.pkl │ │ │ ├── classPropertyAnnotations.pkl │ │ │ ├── classPropertyComments.pkl │ │ │ ├── classPropertyModifiers.pkl │ │ │ ├── classPropertyTypeAnnotations.pkl │ │ │ ├── classPropertyTypeReferences.pkl │ │ │ ├── classTypeConstraints.pkl │ │ │ ├── doc-package-info.pkl │ │ │ ├── docExample.pkl │ │ │ ├── docExample2.pkl │ │ │ ├── docExampleSubject1.pkl │ │ │ ├── docExampleSubject2.pkl │ │ │ ├── docLinks.pkl │ │ │ ├── methodAnnotations.pkl │ │ │ ├── moduleComments.pkl │ │ │ ├── moduleExtend.pkl │ │ │ ├── moduleInfoAnnotation.pkl │ │ │ ├── moduleMethodCommentInheritance.pkl │ │ │ ├── moduleMethodComments.pkl │ │ │ ├── moduleMethodModifiers.pkl │ │ │ ├── moduleMethodTypeAnnotations.pkl │ │ │ ├── moduleMethodTypeReferences.pkl │ │ │ ├── modulePropertyAnnotations.pkl │ │ │ ├── modulePropertyCommentInheritance.pkl │ │ │ ├── modulePropertyComments.pkl │ │ │ ├── modulePropertyModifiers.pkl │ │ │ ├── modulePropertyTypeAnnotations.pkl │ │ │ ├── modulePropertyTypeReferences.pkl │ │ │ ├── moduleTypes1.pkl │ │ │ ├── moduleTypes2.pkl │ │ │ ├── nested │ │ │ │ └── nested2 │ │ │ │ │ └── nestedModule.pkl │ │ │ ├── referenceToExternalPackage.pkl │ │ │ ├── shared.pkl │ │ │ ├── typeAliases.pkl │ │ │ ├── typeAliases2.pkl │ │ │ ├── typeAliasesInheritance.pkl │ │ │ ├── unionTypes.pkl │ │ │ ├── unlistedClass.pkl │ │ │ ├── unlistedMethod.pkl │ │ │ ├── unlistedModule.pkl │ │ │ └── unlistedProperty.pkl │ │ ├── com.package2 │ │ │ ├── Module3.pkl │ │ │ └── doc-package-info.pkl │ │ └── docsite-info.pkl │ │ └── output │ │ ├── com.package1 │ │ ├── 1.2.3 │ │ │ ├── Module Containing Spaces │ │ │ │ └── index.html │ │ │ ├── baseModule │ │ │ │ ├── BaseClass.html │ │ │ │ └── index.html │ │ │ ├── classAnnotations │ │ │ │ ├── AnnotatedClass.html │ │ │ │ ├── AnnotatedClss.html │ │ │ │ ├── AnnotatedClssWithExpandableComment.html │ │ │ │ └── index.html │ │ │ ├── classComments │ │ │ │ ├── Comments1.html │ │ │ │ ├── Comments2.html │ │ │ │ ├── Comments3.html │ │ │ │ ├── Comments4.html │ │ │ │ ├── Comments5.html │ │ │ │ ├── Comments6.html │ │ │ │ ├── Comments7.html │ │ │ │ ├── Comments8.html │ │ │ │ └── index.html │ │ │ ├── classInheritance │ │ │ │ ├── MyClass1.html │ │ │ │ ├── MyClass2.html │ │ │ │ ├── MyClass3.html │ │ │ │ ├── MyClass4.html │ │ │ │ └── index.html │ │ │ ├── classMethodComments │ │ │ │ ├── Comments.html │ │ │ │ └── index.html │ │ │ ├── classMethodModifiers │ │ │ │ ├── Modifiers.html │ │ │ │ └── index.html │ │ │ ├── classMethodTypeAnnotations │ │ │ │ ├── TypeAnnotations.html │ │ │ │ └── index.html │ │ │ ├── classMethodTypeReferences │ │ │ │ ├── MyClass.html │ │ │ │ ├── TypeReferences.html │ │ │ │ └── index.html │ │ │ ├── classPropertyAnnotations │ │ │ │ ├── ClassWithAnnotatedProperty.html │ │ │ │ ├── UserDefinedAnnotation.html │ │ │ │ └── index.html │ │ │ ├── classPropertyComments │ │ │ │ ├── Comments.html │ │ │ │ └── index.html │ │ │ ├── classPropertyModifiers │ │ │ │ ├── Modifiers.html │ │ │ │ └── index.html │ │ │ ├── classPropertyTypeAnnotations │ │ │ │ ├── TypeAnnotations.html │ │ │ │ └── index.html │ │ │ ├── classPropertyTypeReferences │ │ │ │ ├── MyClass.html │ │ │ │ ├── TypeReferences.html │ │ │ │ └── index.html │ │ │ ├── classTypeConstraints │ │ │ │ ├── Address.html │ │ │ │ ├── Person1.html │ │ │ │ ├── Person2.html │ │ │ │ ├── Project.html │ │ │ │ └── index.html │ │ │ ├── docExampleSubject1 │ │ │ │ └── index.html │ │ │ ├── docExampleSubject2 │ │ │ │ └── index.html │ │ │ ├── docLinks │ │ │ │ ├── Person.html │ │ │ │ └── index.html │ │ │ ├── index.html │ │ │ ├── methodAnnotations │ │ │ │ └── index.html │ │ │ ├── moduleComments │ │ │ │ └── index.html │ │ │ ├── moduleExtend │ │ │ │ ├── ExtendClass.html │ │ │ │ └── index.html │ │ │ ├── moduleInfoAnnotation │ │ │ │ └── index.html │ │ │ ├── moduleMethodCommentInheritance │ │ │ │ └── index.html │ │ │ ├── moduleMethodComments │ │ │ │ └── index.html │ │ │ ├── moduleMethodModifiers │ │ │ │ └── index.html │ │ │ ├── moduleMethodTypeAnnotations │ │ │ │ └── index.html │ │ │ ├── moduleMethodTypeReferences │ │ │ │ ├── MyClass.html │ │ │ │ └── index.html │ │ │ ├── modulePropertyAnnotations │ │ │ │ ├── UserDefinedAnnotation.html │ │ │ │ ├── UserDefinedAnnotation1.html │ │ │ │ ├── UserDefinedAnnotation2.html │ │ │ │ └── index.html │ │ │ ├── modulePropertyCommentInheritance │ │ │ │ └── index.html │ │ │ ├── modulePropertyComments │ │ │ │ └── index.html │ │ │ ├── modulePropertyModifiers │ │ │ │ └── index.html │ │ │ ├── modulePropertyTypeAnnotations │ │ │ │ └── index.html │ │ │ ├── modulePropertyTypeReferences │ │ │ │ ├── MyClass.html │ │ │ │ └── index.html │ │ │ ├── moduleTypes1 │ │ │ │ └── index.html │ │ │ ├── moduleTypes2 │ │ │ │ ├── Foo.html │ │ │ │ └── index.html │ │ │ ├── nested │ │ │ │ └── nested2 │ │ │ │ │ └── nestedModule │ │ │ │ │ ├── MyClass.html │ │ │ │ │ └── index.html │ │ │ ├── package-data.json │ │ │ ├── search-index.js │ │ │ ├── shared │ │ │ │ ├── MyClass.html │ │ │ │ └── index.html │ │ │ ├── ternalPackage │ │ │ │ └── index.html │ │ │ ├── typeAliasInheritance │ │ │ │ ├── Person2.html │ │ │ │ └── index.html │ │ │ ├── typealiases │ │ │ │ ├── Person.html │ │ │ │ └── index.html │ │ │ ├── typealiases2 │ │ │ │ ├── Foo.html │ │ │ │ ├── Person.html │ │ │ │ └── index.html │ │ │ ├── unionTypes │ │ │ │ └── index.html │ │ │ ├── unlistedClass │ │ │ │ └── index.html │ │ │ ├── unlistedMethod │ │ │ │ ├── MyClass.html │ │ │ │ └── index.html │ │ │ └── unlistedProperty │ │ │ │ ├── MyClass.html │ │ │ │ └── index.html │ │ └── current │ │ ├── com.package2 │ │ ├── 4.5.6 │ │ │ ├── Module3 │ │ │ │ ├── Class Two {}.html │ │ │ │ ├── Class3.html │ │ │ │ └── index.html │ │ │ ├── index.html │ │ │ ├── package-data.json │ │ │ └── search-index.js │ │ └── current │ │ ├── data │ │ ├── com.package1 │ │ │ └── 1.2.3 │ │ │ │ ├── Module Containing Spaces │ │ │ │ └── index.js │ │ │ │ ├── baseModule │ │ │ │ ├── BaseClass.js │ │ │ │ └── index.js │ │ │ │ ├── classAnnotations │ │ │ │ ├── AnnotatedClass.js │ │ │ │ ├── AnnotatedClss.js │ │ │ │ ├── AnnotatedClssWithExpandableComment.js │ │ │ │ └── index.js │ │ │ │ ├── classComments │ │ │ │ ├── Comments1.js │ │ │ │ ├── Comments2.js │ │ │ │ ├── Comments3.js │ │ │ │ ├── Comments4.js │ │ │ │ ├── Comments5.js │ │ │ │ ├── Comments6.js │ │ │ │ ├── Comments7.js │ │ │ │ ├── Comments8.js │ │ │ │ └── index.js │ │ │ │ ├── classInheritance │ │ │ │ ├── MyClass1.js │ │ │ │ ├── MyClass2.js │ │ │ │ ├── MyClass3.js │ │ │ │ ├── MyClass4.js │ │ │ │ └── index.js │ │ │ │ ├── classMethodComments │ │ │ │ ├── Comments.js │ │ │ │ └── index.js │ │ │ │ ├── classMethodModifiers │ │ │ │ ├── Modifiers.js │ │ │ │ └── index.js │ │ │ │ ├── classMethodTypeAnnotations │ │ │ │ ├── TypeAnnotations.js │ │ │ │ └── index.js │ │ │ │ ├── classMethodTypeReferences │ │ │ │ ├── MyClass.js │ │ │ │ ├── TypeReferences.js │ │ │ │ └── index.js │ │ │ │ ├── classPropertyAnnotations │ │ │ │ ├── ClassWithAnnotatedProperty.js │ │ │ │ ├── UserDefinedAnnotation.js │ │ │ │ └── index.js │ │ │ │ ├── classPropertyComments │ │ │ │ ├── Comments.js │ │ │ │ └── index.js │ │ │ │ ├── classPropertyModifiers │ │ │ │ ├── Modifiers.js │ │ │ │ └── index.js │ │ │ │ ├── classPropertyTypeAnnotations │ │ │ │ ├── TypeAnnotations.js │ │ │ │ └── index.js │ │ │ │ ├── classPropertyTypeReferences │ │ │ │ ├── MyClass.js │ │ │ │ ├── TypeReferences.js │ │ │ │ └── index.js │ │ │ │ ├── classTypeConstraints │ │ │ │ ├── Address.js │ │ │ │ ├── Person1.js │ │ │ │ ├── Person2.js │ │ │ │ ├── Project.js │ │ │ │ └── index.js │ │ │ │ ├── docExampleSubject1 │ │ │ │ └── index.js │ │ │ │ ├── docExampleSubject2 │ │ │ │ └── index.js │ │ │ │ ├── docLinks │ │ │ │ ├── Person.js │ │ │ │ └── index.js │ │ │ │ ├── index.js │ │ │ │ ├── methodAnnotations │ │ │ │ └── index.js │ │ │ │ ├── moduleComments │ │ │ │ └── index.js │ │ │ │ ├── moduleExtend │ │ │ │ ├── ExtendClass.js │ │ │ │ └── index.js │ │ │ │ ├── moduleInfoAnnotation │ │ │ │ └── index.js │ │ │ │ ├── moduleMethodCommentInheritance │ │ │ │ └── index.js │ │ │ │ ├── moduleMethodComments │ │ │ │ └── index.js │ │ │ │ ├── moduleMethodModifiers │ │ │ │ └── index.js │ │ │ │ ├── moduleMethodTypeAnnotations │ │ │ │ └── index.js │ │ │ │ ├── moduleMethodTypeReferences │ │ │ │ ├── MyClass.js │ │ │ │ └── index.js │ │ │ │ ├── modulePropertyAnnotations │ │ │ │ ├── UserDefinedAnnotation.js │ │ │ │ ├── UserDefinedAnnotation1.js │ │ │ │ ├── UserDefinedAnnotation2.js │ │ │ │ └── index.js │ │ │ │ ├── modulePropertyCommentInheritance │ │ │ │ └── index.js │ │ │ │ ├── modulePropertyComments │ │ │ │ └── index.js │ │ │ │ ├── modulePropertyModifiers │ │ │ │ └── index.js │ │ │ │ ├── modulePropertyTypeAnnotations │ │ │ │ └── index.js │ │ │ │ ├── modulePropertyTypeReferences │ │ │ │ ├── MyClass.js │ │ │ │ └── index.js │ │ │ │ ├── moduleTypes1 │ │ │ │ └── index.js │ │ │ │ ├── moduleTypes2 │ │ │ │ ├── Foo.js │ │ │ │ └── index.js │ │ │ │ ├── nested │ │ │ │ └── nested2 │ │ │ │ │ └── nestedModule │ │ │ │ │ ├── MyClass.js │ │ │ │ │ └── index.js │ │ │ │ ├── shared │ │ │ │ ├── MyClass.js │ │ │ │ └── index.js │ │ │ │ ├── ternalPackage │ │ │ │ └── index.js │ │ │ │ ├── typeAliasInheritance │ │ │ │ ├── Person2.js │ │ │ │ └── index.js │ │ │ │ ├── typealiases │ │ │ │ ├── Person.js │ │ │ │ └── index.js │ │ │ │ ├── typealiases2 │ │ │ │ ├── Foo.js │ │ │ │ ├── Person.js │ │ │ │ └── index.js │ │ │ │ ├── unionTypes │ │ │ │ └── index.js │ │ │ │ ├── unlistedClass │ │ │ │ └── index.js │ │ │ │ ├── unlistedMethod │ │ │ │ ├── MyClass.js │ │ │ │ └── index.js │ │ │ │ └── unlistedProperty │ │ │ │ ├── MyClass.js │ │ │ │ └── index.js │ │ ├── com.package2 │ │ │ └── 4.5.6 │ │ │ │ ├── Module3 │ │ │ │ ├── Class Two {}.js │ │ │ │ ├── Class3.js │ │ │ │ └── index.js │ │ │ │ └── index.js │ │ └── localhost(3a)0 │ │ │ ├── birds │ │ │ └── 0.5.0 │ │ │ │ ├── Bird │ │ │ │ └── index.js │ │ │ │ ├── allFruit │ │ │ │ └── index.js │ │ │ │ ├── catalog │ │ │ │ └── index.js │ │ │ │ └── index.js │ │ │ ├── deprecated │ │ │ └── 1.0.0 │ │ │ │ ├── deprecated │ │ │ │ └── index.js │ │ │ │ └── index.js │ │ │ └── fruit │ │ │ └── 1.1.0 │ │ │ ├── Fruit │ │ │ └── index.js │ │ │ └── index.js │ │ ├── fonts │ │ ├── MaterialIcons-Regular.woff2 │ │ ├── lato-v14-latin_latin-ext-700.woff2 │ │ ├── lato-v14-latin_latin-ext-regular.woff2 │ │ ├── open-sans-v15-latin_latin-ext-700.woff2 │ │ ├── open-sans-v15-latin_latin-ext-700italic.woff2 │ │ ├── open-sans-v15-latin_latin-ext-italic.woff2 │ │ ├── open-sans-v15-latin_latin-ext-regular.woff2 │ │ ├── source-code-pro-v7-latin_latin-ext-700.woff2 │ │ └── source-code-pro-v7-latin_latin-ext-regular.woff2 │ │ ├── images │ │ ├── apple-touch-icon.png │ │ ├── favicon-16x16.png │ │ ├── favicon-32x32.png │ │ └── favicon.svg │ │ ├── index.html │ │ ├── localhost(3a)0 │ │ ├── birds │ │ │ ├── 0.5.0 │ │ │ │ ├── Bird │ │ │ │ │ └── index.html │ │ │ │ ├── allFruit │ │ │ │ │ └── index.html │ │ │ │ ├── catalog │ │ │ │ │ └── index.html │ │ │ │ ├── index.html │ │ │ │ ├── package-data.json │ │ │ │ └── search-index.js │ │ │ └── current │ │ ├── deprecated │ │ │ ├── 1.0.0 │ │ │ │ ├── deprecated │ │ │ │ │ └── index.html │ │ │ │ ├── index.html │ │ │ │ ├── package-data.json │ │ │ │ └── search-index.js │ │ │ └── current │ │ └── fruit │ │ │ ├── 1.1.0 │ │ │ ├── Fruit │ │ │ │ └── index.html │ │ │ ├── index.html │ │ │ ├── package-data.json │ │ │ └── search-index.js │ │ │ └── current │ │ ├── scripts │ │ ├── pkldoc.js │ │ ├── scroll-into-view.min.js │ │ └── search-worker.js │ │ ├── search-index.js │ │ └── styles │ │ └── pkldoc.css │ └── kotlin │ └── org │ └── pkl │ └── doc │ ├── CliDocGeneratorTest.kt │ ├── CliMainTest.kt │ ├── DocScopeTest.kt │ └── SearchTest.kt ├── pkl-executor ├── gradle.lockfile ├── pkl-executor.gradle.kts └── src │ ├── main │ └── java │ │ └── org │ │ └── pkl │ │ └── executor │ │ ├── EmbeddedExecutor.java │ │ ├── Executor.java │ │ ├── ExecutorException.java │ │ ├── ExecutorOptions.java │ │ ├── Executors.java │ │ ├── Version.java │ │ └── spi │ │ ├── package-info.java │ │ └── v1 │ │ ├── ExecutorSpi.java │ │ ├── ExecutorSpiException.java │ │ ├── ExecutorSpiOptions.java │ │ └── ExecutorSpiOptions2.java │ └── test │ └── kotlin │ └── org │ └── pkl │ └── executor │ ├── EmbeddedExecutorTest.kt │ └── VersionTest.kt ├── pkl-gradle ├── gradle.lockfile ├── pkl-gradle.gradle.kts └── src │ ├── main │ └── java │ │ └── org │ │ └── pkl │ │ └── gradle │ │ ├── PklAnalyzerCommands.java │ │ ├── PklExtension.java │ │ ├── PklPlugin.java │ │ ├── PklProjectCommands.java │ │ ├── package-info.java │ │ ├── spec │ │ ├── AnalyzeImportsSpec.java │ │ ├── BasePklSpec.java │ │ ├── CodeGenSpec.java │ │ ├── EvalSpec.java │ │ ├── JavaCodeGenSpec.java │ │ ├── KotlinCodeGenSpec.java │ │ ├── ModulesSpec.java │ │ ├── PkldocSpec.java │ │ ├── ProjectPackageSpec.java │ │ ├── ProjectResolveSpec.java │ │ ├── TestSpec.java │ │ └── package-info.java │ │ ├── task │ │ ├── AnalyzeImportsTask.java │ │ ├── BasePklTask.java │ │ ├── CodeGenTask.java │ │ ├── EvalTask.java │ │ ├── JavaCodeGenTask.java │ │ ├── KotlinCodeGenTask.java │ │ ├── ModulesTask.java │ │ ├── PkldocTask.java │ │ ├── ProjectPackageTask.java │ │ ├── ProjectResolveTask.java │ │ ├── TestTask.java │ │ └── package-info.java │ │ └── utils │ │ ├── PluginUtils.java │ │ └── package-info.java │ └── test │ └── kotlin │ └── org │ └── pkl │ └── gradle │ ├── AbstractTest.kt │ ├── AnalyzeImportsTest.kt │ ├── EvaluatorsTest.kt │ ├── JavaCodeGeneratorsTest.kt │ ├── KotlinCodeGeneratorsTest.kt │ ├── PkldocGeneratorsTest.kt │ ├── ProjectPackageTest.kt │ ├── ProjectResolveTest.kt │ └── TestsTest.kt ├── pkl-parser ├── gradle.lockfile ├── pkl-parser.gradle.kts └── src │ ├── main │ ├── java │ │ └── org │ │ │ └── pkl │ │ │ └── parser │ │ │ ├── BaseParserVisitor.java │ │ │ ├── Lexer.java │ │ │ ├── Parser.java │ │ │ ├── ParserError.java │ │ │ ├── ParserVisitor.java │ │ │ ├── Span.java │ │ │ ├── Token.java │ │ │ ├── package-info.java │ │ │ ├── syntax │ │ │ ├── AbstractNode.java │ │ │ ├── Annotation.java │ │ │ ├── ArgumentList.java │ │ │ ├── Class.java │ │ │ ├── ClassBody.java │ │ │ ├── ClassMethod.java │ │ │ ├── ClassProperty.java │ │ │ ├── DocComment.java │ │ │ ├── Expr.java │ │ │ ├── ExtendsOrAmendsClause.java │ │ │ ├── Identifier.java │ │ │ ├── ImportClause.java │ │ │ ├── Keyword.java │ │ │ ├── Modifier.java │ │ │ ├── Module.java │ │ │ ├── ModuleDecl.java │ │ │ ├── Node.java │ │ │ ├── ObjectBody.java │ │ │ ├── ObjectMember.java │ │ │ ├── Operator.java │ │ │ ├── Parameter.java │ │ │ ├── ParameterList.java │ │ │ ├── QualifiedIdentifier.java │ │ │ ├── ReplInput.java │ │ │ ├── StringConstant.java │ │ │ ├── StringPart.java │ │ │ ├── Type.java │ │ │ ├── TypeAlias.java │ │ │ ├── TypeAnnotation.java │ │ │ ├── TypeArgumentList.java │ │ │ ├── TypeParameter.java │ │ │ ├── TypeParameterList.java │ │ │ └── package-info.java │ │ │ └── util │ │ │ ├── ErrorMessages.java │ │ │ ├── NonnullByDefault.java │ │ │ └── Nullable.java │ └── resources │ │ └── org │ │ └── pkl │ │ └── parser │ │ └── errorMessages.properties │ └── test │ ├── antlr │ ├── PklLexer.g4 │ └── PklParser.g4 │ └── kotlin │ └── org │ └── pkl │ └── parser │ ├── ANTLRSexpRenderer.kt │ ├── LexerTest.kt │ ├── ParserComparisonTest.kt │ ├── ParserComparisonTestInterface.kt │ ├── SexpRenderer.kt │ ├── SpanComparison.kt │ └── SpanTest.kt ├── pkl-server ├── gradle.lockfile ├── pkl-server.gradle.kts └── src │ ├── main │ └── kotlin │ │ └── org │ │ └── pkl │ │ └── server │ │ ├── BinaryEvaluator.kt │ │ ├── ClientLogger.kt │ │ ├── ClientModuleKeyFactory.kt │ │ ├── Server.kt │ │ ├── ServerMessagePackDecoder.kt │ │ ├── ServerMessagePackEncoder.kt │ │ ├── ServerMessages.kt │ │ └── Utils.kt │ └── test │ ├── files │ └── SnippetTests │ │ ├── input │ │ ├── basic.pkl │ │ ├── classes.pkl │ │ ├── datasize.pkl │ │ ├── duration.pkl │ │ ├── intseq.pkl │ │ ├── list.pkl │ │ ├── map.pkl │ │ ├── pair.pkl │ │ ├── regex.pkl │ │ └── set.pkl │ │ └── output │ │ ├── basic.yaml │ │ ├── classes.yaml │ │ ├── datasize.yaml │ │ ├── duration.yaml │ │ ├── intseq.yaml │ │ ├── list.yaml │ │ ├── map.yaml │ │ ├── pair.yaml │ │ ├── regex.yaml │ │ └── set.yaml │ ├── kotlin │ └── org │ │ └── pkl │ │ └── server │ │ ├── AbstractServerTest.kt │ │ ├── BinaryEvaluatorSnippetTests.kt │ │ ├── BinaryEvaluatorTest.kt │ │ ├── JvmServerTest.kt │ │ ├── MessagePackDebugRenderer.kt │ │ ├── NativeServerTest.kt │ │ ├── ServerMessagePackCodecTest.kt │ │ ├── TestTransport.kt │ │ └── TestUtils.kt │ └── resources │ ├── META-INF │ └── services │ │ └── org.junit.platform.engine.TestEngine │ └── org │ └── pkl │ └── server │ └── resource1.jar ├── pkl-tools ├── gradle.lockfile ├── pkl-tools.gradle.kts └── src │ └── dummy │ └── java │ └── org │ └── pkl │ └── tools │ └── Empty.java ├── settings-gradle.lockfile ├── settings.gradle.kts └── stdlib ├── Benchmark.pkl ├── DocPackageInfo.pkl ├── DocsiteInfo.pkl ├── EvaluatorSettings.pkl ├── Project.pkl ├── analyze.pkl ├── base.pkl ├── doc-package-info.pkl ├── gradle.lockfile ├── json.pkl ├── jsonnet.pkl ├── math.pkl ├── platform.pkl ├── protobuf.pkl ├── reflect.pkl ├── release.pkl ├── semver.pkl ├── settings.pkl ├── shell.pkl ├── stdlib.gradle.kts ├── test.pkl ├── xml.pkl └── yaml.pkl /.git-blame-ignore-revs: -------------------------------------------------------------------------------- 1 | # Auto-format Kotlin code 2 | 816cd483c8adf4c04e14236c173a1dc6bd2579ea 3 | -------------------------------------------------------------------------------- /.idea/codeStyles/codeStyleConfig.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 5 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.java-version: -------------------------------------------------------------------------------- 1 | 21 2 | -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- 1 | Jen Basch <421772+HT154@users.noreply.github.com> 2 | Jen Basch 3 | -------------------------------------------------------------------------------- /docs/antora.yml: -------------------------------------------------------------------------------- 1 | name: main 2 | title: Main Project 3 | version: 0.29.0-dev 4 | prerelease: true 5 | nav: 6 | - nav.adoc 7 | -------------------------------------------------------------------------------- /docs/modules/ROOT/pages/integrations.adoc: -------------------------------------------------------------------------------- 1 | = Framework Integrations 2 | 3 | * xref:spring:ROOT:index.adoc[Spring (Boot) Integration] 4 | -------------------------------------------------------------------------------- /docs/modules/ROOT/pages/language.adoc: -------------------------------------------------------------------------------- 1 | = Language 2 | 3 | * xref:language-tutorial:index.adoc[Tutorial] 4 | * xref:language-reference:index.adoc[Language Reference] 5 | * xref:standard-library.adoc[Standard Library] 6 | -------------------------------------------------------------------------------- /docs/modules/pkl-doc/assets/images/pkldoc-search.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/docs/modules/pkl-doc/assets/images/pkldoc-search.gif -------------------------------------------------------------------------------- /docs/modules/release-notes/images/error_sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/docs/modules/release-notes/images/error_sample.png -------------------------------------------------------------------------------- /docs/modules/release-notes/images/pkl-cli-help-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/docs/modules/release-notes/images/pkl-cli-help-new.png -------------------------------------------------------------------------------- /docs/modules/release-notes/images/test_sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/docs/modules/release-notes/images/test_sample.png -------------------------------------------------------------------------------- /docs/src/test/resources/META-INF/services/org.junit.platform.engine.TestEngine: -------------------------------------------------------------------------------- 1 | DocSnippetTestsEngine -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /pkl-cli/README.adoc: -------------------------------------------------------------------------------- 1 | Command-line interface for Pkl. 2 | 3 | The CLI provides the following tools: 4 | 5 | * Batch evaluator 6 | * REPL 7 | -------------------------------------------------------------------------------- /pkl-cli/src/test/files/projects/project1/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | dependencies { 4 | ["birds"] { 5 | uri = "package://localhost:0/birds@0.5.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badChecksum@1.0.0/package/Bug.pkl: -------------------------------------------------------------------------------- 1 | module bugs.Bug 2 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badImportsWithinPackage@1.0.0/package/invalidPath.pkl: -------------------------------------------------------------------------------- 1 | res = import("not/a/valid/path.pkl") 2 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badImportsWithinPackage@1.0.0/package/invalidPathRead.pkl: -------------------------------------------------------------------------------- 1 | res = read("not/a/valid/path.txt") 2 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badImportsWithinPackage@1.0.0/package/unknownDependency.pkl: -------------------------------------------------------------------------------- 1 | res = import("@fruits/Foo.pkl") 2 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badImportsWithinPackage@1.0.0/package/unknownDependencyRead.pkl: -------------------------------------------------------------------------------- 1 | res = read("@notapackage/Foo.txt") 2 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badMetadataJson@1.0.0/badMetadataJson@1.0.0.json: -------------------------------------------------------------------------------- 1 | this is not json 2 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badMetadataJson@1.0.0/package/Bug.pkl: -------------------------------------------------------------------------------- 1 | module bugs.Bug 2 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badPackageZipUrl@1.0.0/package/Bug.pkl: -------------------------------------------------------------------------------- 1 | module bugs.Bug 2 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/birds@0.5.0/package/Bird.pkl: -------------------------------------------------------------------------------- 1 | open module birds.Bird 2 | 3 | import "@fruities/Fruit.pkl" 4 | 5 | name: String 6 | 7 | favoriteFruit: Fruit 8 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/birds@0.5.0/package/allFruit.pkl: -------------------------------------------------------------------------------- 1 | module birds.allFruit 2 | 3 | fruit = import*("@fruities/catalog/*.pkl") 4 | fruitFiles = read*("@fruities/catalog/*.pkl") 5 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/birds@0.5.0/package/catalog.pkl: -------------------------------------------------------------------------------- 1 | module birds.catalog 2 | 3 | catalog = import*("catalog/*.pkl") 4 | catalogFiles = read*("catalog/*.pkl") 5 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/birds@0.5.0/package/catalog/Ostrich.pkl: -------------------------------------------------------------------------------- 1 | amends "../Bird.pkl" 2 | 3 | name = "Ostrich" 4 | 5 | favoriteFruit { 6 | name = "Orange" 7 | } 8 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/birds@0.5.0/package/catalog/Swallow.pkl: -------------------------------------------------------------------------------- 1 | amends "../Bird.pkl" 2 | 3 | import "@fruities/catalog/apple.pkl" 4 | 5 | name = "Swallow" 6 | 7 | favoriteFruit = apple 8 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/birds@0.5.0/package/some/dir/Bird.pkl: -------------------------------------------------------------------------------- 1 | amends "..." 2 | 3 | name = "Bird" 4 | 5 | favoriteFruit { 6 | name = "Fruit" 7 | } 8 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/fruit@1.0.5/package/Fruit.pkl: -------------------------------------------------------------------------------- 1 | module fruit.Fruit 2 | 3 | name: String 4 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/fruit@1.0.5/package/catalog/apple.pkl: -------------------------------------------------------------------------------- 1 | amends "../Fruit.pkl" 2 | 3 | name = "Apple" 4 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/fruit@1.1.0/package/Fruit.pkl: -------------------------------------------------------------------------------- 1 | module fruit.Fruit 2 | 3 | name: String 4 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/fruit@1.1.0/package/catalog/apple.pkl: -------------------------------------------------------------------------------- 1 | amends "../Fruit.pkl" 2 | 3 | name = "Apple 🍎" 4 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/fruit@1.1.0/package/catalog/pineapple.pkl: -------------------------------------------------------------------------------- 1 | amends "../Fruit.pkl" 2 | 3 | name = "Pineapple 🍍" 4 | -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/unlisted@1.0.0/package/unlisted.pkl: -------------------------------------------------------------------------------- 1 | /// No docs are actually generated for this module 2 | module unlisted.unlisted 3 | 4 | /// 1 5 | foo: Int = 1 6 | -------------------------------------------------------------------------------- /pkl-config-java/src/main/java/org/pkl/config/java/mapper/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.config.java.mapper; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-config-java/src/main/java/org/pkl/config/java/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.config.java; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-config-java/src/test/resources/org/pkl/config/java/mapper/PAnyToOptionalTest.pkl: -------------------------------------------------------------------------------- 1 | ex1 = null 2 | ex2 = "str" 3 | ex3 = List(1, 2, 3) 4 | 5 | -------------------------------------------------------------------------------- /pkl-core/README.adoc: -------------------------------------------------------------------------------- 1 | Core implementation of the Pkl language. Includes Java APIs for embedding the 2 | language into JVM applications, and for building libraries and tools on top of 3 | the language. 4 | -------------------------------------------------------------------------------- /pkl-core/src/generator/resources/META-INF/services/javax.annotation.processing.Processor: -------------------------------------------------------------------------------- 1 | org.pkl.core.generator.MemberRegistryGenerator 2 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/builder/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.builder; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/expression/binary/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.expression.binary; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/expression/generator/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.expression.generator; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/expression/literal/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.expression.literal; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/expression/member/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.expression.member; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/expression/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.expression; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/expression/primary/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.expression.primary; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/expression/ternary/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.expression.ternary; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/expression/unary/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.expression.unary; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/frame/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.frame; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/internal/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.internal; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/lambda/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.lambda; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/member/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.member; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/repl/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.repl; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/ast/type/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.ast.type; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/evaluatorSettings/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.evaluatorSettings; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/externalreader/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.externalreader; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/http/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.http; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/messaging/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.messaging; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/module/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.module; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/packages/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.packages; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/project/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.project; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/repl/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.repl; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/resource/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.resource; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/runtime/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.runtime; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/settings/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.settings; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/analyze/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.analyze; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/base/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.base; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/json/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.json; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/jsonnet/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.jsonnet; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/math/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.math; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/platform/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.platform; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/protobuf/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.protobuf; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/reflect/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.reflect; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/registry/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.registry; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/release/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.release; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/test/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.test; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/stdlib/xml/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib.xml; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/java/org/pkl/core/util/yaml/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.util.yaml; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-core/src/main/resources/META-INF/services/java.nio.file.spi.FileTypeDetector: -------------------------------------------------------------------------------- 1 | org.pkl.core.runtime.VmFileDetector 2 | -------------------------------------------------------------------------------- /pkl-core/src/main/resources/META-INF/services/org.pkl.executor.spi.v1.ExecutorSpi: -------------------------------------------------------------------------------- 1 | org.pkl.core.service.ExecutorSpiImpl 2 | -------------------------------------------------------------------------------- /pkl-core/src/main/resources/org/pkl/core/Release.properties: -------------------------------------------------------------------------------- 1 | version=@version@ 2 | commitId=@commitId@ 3 | stdlibModules=@stdlibModules@ 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/a.pkl: -------------------------------------------------------------------------------- 1 | import "b.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/b.pkl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/b.pkl -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/cannotFindModule.pkl: -------------------------------------------------------------------------------- 1 | import "bogusModule.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/cyclicalA.pkl: -------------------------------------------------------------------------------- 1 | import "cyclicalB.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/cyclicalB.pkl: -------------------------------------------------------------------------------- 1 | import "cyclicalA.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/globImport.pkl: -------------------------------------------------------------------------------- 1 | import* "[ab].pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/invalidGlob.pkl: -------------------------------------------------------------------------------- 1 | import* ".../**.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/api/benchmark/moduleToBenchmark.pkl: -------------------------------------------------------------------------------- 1 | result = IntSeq(1, 10).fold(0, (result, next) -> result + next) 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/api/reflect/amendingModule.pkl: -------------------------------------------------------------------------------- 1 | /// amending module doc comment 2 | @MyAnn { text = "amending module annotation" } 3 | amends "BaseModule.pkl" 4 | 5 | int = 22 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/basic/read/child/module2.pkl: -------------------------------------------------------------------------------- 1 | normalRead = read("resource.txt") 2 | globbedRead = read*("*.txt") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/basic/read/child/resource.txt: -------------------------------------------------------------------------------- 1 | child resource 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/basic/read/module1.pkl: -------------------------------------------------------------------------------- 1 | normalRead = read("resource.txt") 2 | globbedRead = read*("*.txt") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/basic/read/resource.txt: -------------------------------------------------------------------------------- 1 | resource 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/classes/myClass1.pkl: -------------------------------------------------------------------------------- 1 | amends ".../input-helper/classes/MyClass.pkl" 2 | 3 | myClass { 4 | emails { 5 | "baz@bar.com" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/globtest/child/moduleC.pkl: -------------------------------------------------------------------------------- 1 | name = "child/moduleC" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/globtest/childlinked: -------------------------------------------------------------------------------- 1 | child/ -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/globtest/moduleA.pkl: -------------------------------------------------------------------------------- 1 | name = "moduleA" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/globtest/moduleB.pkl: -------------------------------------------------------------------------------- 1 | name = "moduleB" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/listings/cacheStealingTypeCheck.pkl: -------------------------------------------------------------------------------- 1 | function isValid(str): Boolean = str.startsWith("a") 2 | 3 | foo: Listing(isDistinct) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/modules/Birds2.pkl: -------------------------------------------------------------------------------- 1 | module Birds2 2 | 3 | abstract class Bird 4 | 5 | bird: Bird 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/types/typeAliasConstraint2.pkl: -------------------------------------------------------------------------------- 1 | class MyClass 2 | 3 | typealias MyTypeAlias = MyClass(getClass() == MyClass) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/annotation/annotation2.pkl: -------------------------------------------------------------------------------- 1 | class NoAnn 2 | 3 | @NoAnn 4 | invalidAnnotationOnTypeCheckedProperty = "hi" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/annotation/annotation3.pkl: -------------------------------------------------------------------------------- 1 | class NoAnn 2 | 3 | @NoAnn 4 | invalidAnnotationOnTypedProperty: String = "hi" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/annotation/annotation4.pkl: -------------------------------------------------------------------------------- 1 | @Mapping { 2 | a = "hi" 3 | b = "hi" 4 | } 5 | someProperty: String = "hi" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/annotation/annotation5.pkl: -------------------------------------------------------------------------------- 1 | integer: Int = 1 2 | 3 | @integer someProperty: String = "hi" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/annotation/annotation6.pkl: -------------------------------------------------------------------------------- 1 | @Int someProperty: String = "hi" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/annotation/annotationIsNotExpression.pkl: -------------------------------------------------------------------------------- 1 | class MyAnn extends Annotation 2 | 3 | local myAnn = MyAnn 4 | 5 | @myAnn 6 | foo = 1 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/annotation/annotationIsNotExpression2.pkl: -------------------------------------------------------------------------------- 1 | class Ann1 extends Annotation 2 | 3 | class Ann2 extends Annotation 4 | 5 | @Ann1|Ann2 6 | foo = 1 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/dir1/dir2/relativePathTo.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:test" 2 | 3 | res1 = test.catch(() -> module.relativePathTo(import("../../module.pkl"))) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/empty.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-core/src/test/files/LanguageSnippetTests/input/api/empty.txt -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/fox.txt: -------------------------------------------------------------------------------- 1 | The quick brown fox jumps over the lazy dog. -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/moduleOutput.pkl: -------------------------------------------------------------------------------- 1 | amends "../snippetTest.pkl" 2 | 3 | output { 4 | text = "some string" 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/moduleOutput2.pkl: -------------------------------------------------------------------------------- 1 | output { 2 | renderer = new JsonRenderer {} 3 | } 4 | 5 | // defining properties after output {} used to cause NPE 6 | res1 = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/pcfRenderer8.pkl: -------------------------------------------------------------------------------- 1 | // Test that unrenderable types do have an informative location in the error message. 2 | m = new Mixin {} 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/propertiesRenderer10.properties.pkl: -------------------------------------------------------------------------------- 1 | foo = new PropertiesRenderer {}.renderValue(List("bar")) 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/resource.txt: -------------------------------------------------------------------------------- 1 | line1 2 | line2 3 | line3 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/yamlParser1Yaml11.pkl: -------------------------------------------------------------------------------- 1 | amends "yamlParser1Compat.pkl" 2 | 3 | parser { mode = "1.1" } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/yamlParser1Yaml12.pkl: -------------------------------------------------------------------------------- 1 | amends "yamlParser1Compat.pkl" 2 | 3 | parser { mode = "1.2" } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/yamlRendererStringsYaml11.pkl: -------------------------------------------------------------------------------- 1 | amends "yamlRendererStringsCompat.pkl" 2 | 3 | renderer { mode = "1.1" } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/yamlRendererStringsYaml12.pkl: -------------------------------------------------------------------------------- 1 | amends "yamlRendererStringsCompat.pkl" 2 | 3 | renderer { mode = "1.2" } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/baseModule.pkl: -------------------------------------------------------------------------------- 1 | foo {} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/exceptions.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar = throw("Something went wrong") 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/fixedProperty2.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | fixed name: String = "The Person" 3 | } 4 | 5 | p: Person = new {} 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/fixedProperty3.pkl: -------------------------------------------------------------------------------- 1 | extends "fixedProperty1.pkl" 2 | 3 | fixed res1 = "goodbye" 4 | 5 | fixed res4: String = "aloha" 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/fixedProperty4.pkl: -------------------------------------------------------------------------------- 1 | fixed module foo 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/fixedProperty5.pkl: -------------------------------------------------------------------------------- 1 | myObj = new { 2 | fixed bar = "bar" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/fixedProperty6.pkl: -------------------------------------------------------------------------------- 1 | fixed function foo() = 5 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/globtest/file1.txt: -------------------------------------------------------------------------------- 1 | file1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/globtest/file2.txt: -------------------------------------------------------------------------------- 1 | file2 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/import2.pkl: -------------------------------------------------------------------------------- 1 | local i = import("imported.pkl") 2 | 3 | bar = 1 4 | libFoo = i.foo 5 | libBar = i.bar 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/import3.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar = import("imported.pkl") 3 | baz = import("imported.pkl") 4 | bak = import("imported.pkl").foo 5 | } 6 | 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/imported.pkl: -------------------------------------------------------------------------------- 1 | foo = bar * 2 2 | bar = 3 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/localProperty1.pkl: -------------------------------------------------------------------------------- 1 | local l = 1 2 | 3 | foo { 4 | local l = 2 5 | bar { 6 | baz = l 7 | } 8 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/localPropertyAmendInAmendingModule.pkl: -------------------------------------------------------------------------------- 1 | amends "baseModule.pkl" 2 | 3 | local object { 4 | property = "value" 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/moduleRefLibrary.pkl: -------------------------------------------------------------------------------- 1 | open module moduleRefLibrary 2 | 3 | const a = 42 4 | 5 | aa = module.a 6 | 7 | foo {} 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/objectMemberInvalid.pkl: -------------------------------------------------------------------------------- 1 | res1 { 2 | 1.2.3 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/objectMemberInvalid2.pkl: -------------------------------------------------------------------------------- 1 | res1 {foo=1bar=2} 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/objectMemberInvalid3.pkl: -------------------------------------------------------------------------------- 1 | res1 { 2 | new{ 3 | }new{ 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/parens.pkl: -------------------------------------------------------------------------------- 1 | res1 = 2 + 3 * 4 2 | res2 = (2 + 3) * 4 3 | res3 = 2 + (3 * 4) 4 | res4 = (2) + (3) * (4) 5 | res5 = ((((2) + (3)) * ((4)))) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/semicolon.pkl: -------------------------------------------------------------------------------- 1 | res1 = new { b = 1; d = 2 } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/stringError1.pkl: -------------------------------------------------------------------------------- 1 | singleLineStringCannotSpanLines = " 2 | How are you today? 3 | Are you hungry? 4 | " 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/typeResolution1.pkl: -------------------------------------------------------------------------------- 1 | open module typeResolution1 2 | 3 | class Person1 { name = "person1" } 4 | 5 | p1: Person1 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/typeResolution2.pkl: -------------------------------------------------------------------------------- 1 | extends "typeResolution1.pkl" 2 | 3 | class Person2 { name = "person2" } 4 | 5 | pp1: Person1 6 | pp2: Person2 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/duplicateProperty.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | foo: Int 3 | function foo(): Int = "foo" // OK 4 | bar: String 5 | foo: String // duplicate 6 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/externalClass.pkl: -------------------------------------------------------------------------------- 1 | external class Foo 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/externalFunction.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | external function bar() 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/externalProperty.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | external bar: String 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/inheritanceError1.pkl: -------------------------------------------------------------------------------- 1 | class Base // not open or abstract 2 | 3 | class Derived extends Base -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/invalidInstantiation1.pkl: -------------------------------------------------------------------------------- 1 | res1 = new String {} 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/invalidInstantiation2.pkl: -------------------------------------------------------------------------------- 1 | abstract class Base 2 | 3 | res1 = new Base {} 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/unionTypesErrorDifferent1.pkl: -------------------------------------------------------------------------------- 1 | class X { 2 | a: Boolean|List 3 | } 4 | 5 | res1 = new X { 6 | a = List(1, 3.14, 2) 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/unionTypesErrorDifferent2.pkl: -------------------------------------------------------------------------------- 1 | class X { 2 | a: Boolean|List(length > 3) 3 | } 4 | 5 | res1 = new X { 6 | a = List(1, 2, 3) 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/unionTypesErrorMultipleAliases.pkl: -------------------------------------------------------------------------------- 1 | typealias Alias1 = String 2 | typealias Alias2 = Int 3 | res1: Alias1|Alias2 = new Dynamic { } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/unionTypesErrorSimple.pkl: -------------------------------------------------------------------------------- 1 | class X { 2 | a: Boolean|List 3 | } 4 | 5 | res1 = new X { 6 | a = 42 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/unionTypesErrorString1.pkl: -------------------------------------------------------------------------------- 1 | class X { 2 | a: "foo" | "bar" | "baz" 3 | } 4 | 5 | res1 = new X { 6 | a = "foox" 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/wrongType1.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | name: String 3 | } 4 | 5 | pigeon = new Person { 6 | name = 42 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/wrongType2.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | name: String 3 | age: Int 4 | } 5 | 6 | pigeon = new Person { 7 | name = "Pigeon" 8 | age = "42" 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/abstractOpenMember.pkl: -------------------------------------------------------------------------------- 1 | abstract open class Person 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/analyzeInvalidHttpModule.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:analyze" 2 | 3 | result = analyze.importGraph(Set("http://localhost:0/foo.pkl")) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/analyzeInvalidModuleUri.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:analyze" 2 | 3 | result = analyze.importGraph(Set("foo <>")) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/analyzeRelativeModuleUri.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:analyze" 2 | 3 | result = analyze.importGraph(Set("foo.pkl")) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/baseModule.pkl: -------------------------------------------------------------------------------- 1 | open module baseModule 2 | 3 | x: Int = 42 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotAmendFixedProperty2.pkl: -------------------------------------------------------------------------------- 1 | amends "../basic/fixedProperty1.pkl" 2 | 3 | res3 { 4 | name = "Osprey" 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotAssignFixedProperty2.pkl: -------------------------------------------------------------------------------- 1 | amends "../basic/fixedProperty1.pkl" 2 | 3 | res1 = "bye" 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotAssignFixedProperty3.pkl: -------------------------------------------------------------------------------- 1 | amends "../basic/fixedProperty2.pkl" 2 | 3 | p = new { 4 | ...new Dynamic { name = "Osprey" } 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotAssignToNothing.pkl: -------------------------------------------------------------------------------- 1 | value: nothing = "foo" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotChangeFixed1.pkl: -------------------------------------------------------------------------------- 1 | abstract class Animal { 2 | fixed name: String 3 | } 4 | 5 | class Dog extends Animal { 6 | name = "Spot" 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotChangeFixed2.pkl: -------------------------------------------------------------------------------- 1 | abstract class Animal { 2 | name: String 3 | } 4 | 5 | class Dog extends Animal { 6 | fixed name = "Spot" 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotFindMapKey.pkl: -------------------------------------------------------------------------------- 1 | local x = Map("xfoo", "xfoo", "foyo", "foyo", "fooz", "fooz", "other", "other") 2 | 3 | res1 = x["foo"] -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotFindStdLibModule.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:nonExisting" 2 | 3 | res1 = nonExisting.bar 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotInferParent2.pkl: -------------------------------------------------------------------------------- 1 | foo = () -> new {} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotInferParent3.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | name: String 3 | } 4 | 5 | res1: Mapping = new { 6 | [new { name = "Pigeon" }] = "Pigeon" 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotInstantiateAbstractModule.pkl: -------------------------------------------------------------------------------- 1 | abstract module cannotInstantiateAbstractModule 2 | 3 | res1 = new module {} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotRenderMixin.pkl: -------------------------------------------------------------------------------- 1 | m: Mixin = new { 2 | mixinVal = "anything" 3 | } 4 | 5 | foo = new Dynamic { 6 | bar = "baz" 7 | } |> m 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/classExtendsSelf.pkl: -------------------------------------------------------------------------------- 1 | open class Recurring extends Recurring { 2 | 3 | } 4 | 5 | f: Recurring = new {} 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constAmend.pkl: -------------------------------------------------------------------------------- 1 | amends "../../basic/constModifier.pkl" 2 | 3 | constDyn { 4 | bar = 1 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constAssign.pkl: -------------------------------------------------------------------------------- 1 | amends "../../basic/constModifier.pkl" 2 | 3 | constantSimpleValue = "1" 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constClassBody.pkl: -------------------------------------------------------------------------------- 1 | notConst = 1 2 | 3 | class Foo { 4 | foo = notConst 5 | } 6 | 7 | foo = new Foo {} 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constExplicitThis.pkl: -------------------------------------------------------------------------------- 1 | open class A { 2 | a = 1 3 | } 4 | 5 | class B extends A { 6 | const b = this.a 7 | } 8 | 9 | b: B 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constExplicitThisMethod.pkl: -------------------------------------------------------------------------------- 1 | open class A { 2 | function a() = 1 3 | } 4 | 5 | class B extends A { 6 | const b = this.a() 7 | } 8 | 9 | b: B 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constImplicitThis.pkl: -------------------------------------------------------------------------------- 1 | open class A { 2 | a = 1 3 | } 4 | 5 | class B extends A { 6 | const b = a 7 | } 8 | 9 | b: B 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constImplicitThisMethod.pkl: -------------------------------------------------------------------------------- 1 | open class A { 2 | function a() = 1 3 | } 4 | 5 | class B extends A { 6 | const b = a() 7 | } 8 | 9 | b: B 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constLexicalScope.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | bar: String = "bar" 3 | const foo = new { 4 | _barr = bar 5 | } 6 | } 7 | 8 | foo: Foo = new {} 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constLocalMethod.pkl: -------------------------------------------------------------------------------- 1 | bar = 15 2 | 3 | obj { 4 | const local function foo() = bar 5 | 6 | res = foo() 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constLocalProperty.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | res1 = 15 3 | const local qux = res1 4 | res2 = qux 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constMethod.pkl: -------------------------------------------------------------------------------- 1 | function fun() = 1 2 | 3 | class Foo { 4 | foo = fun() 5 | } 6 | 7 | foo = new Foo {} 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constMethod2.pkl: -------------------------------------------------------------------------------- 1 | function bar() = "bar" 2 | 3 | class Foo { 4 | bar: String = module.bar() 5 | } 6 | 7 | foo: Foo = new {} 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constModule.pkl: -------------------------------------------------------------------------------- 1 | notConst = 10 2 | 3 | class Foo { 4 | shouldBeConst = module.notConst 5 | } 6 | 7 | foo = new Foo {} 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constModule2.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | foo = module 3 | } 4 | 5 | foo = new Foo {} 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constModule3.pkl: -------------------------------------------------------------------------------- 1 | const foo = new { 2 | x = module 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constObjectMember.pkl: -------------------------------------------------------------------------------- 1 | foo = new Dyn { 2 | const foo = 10 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constOuter.pkl: -------------------------------------------------------------------------------- 1 | notConst = 10 2 | 3 | class Foo { 4 | shouldBeConst = outer.notConst 5 | } 6 | 7 | foo = new Foo {} 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constOuter3.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | const prop = new { value = outer } 3 | } 4 | 5 | foo = new Foo {} 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constSubclass.pkl: -------------------------------------------------------------------------------- 1 | open class Foo { 2 | const x: Int 3 | } 4 | 5 | class Bar extends Foo { 6 | x = 2 7 | } 8 | 9 | bar = new Bar {} 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constSubclass2.pkl: -------------------------------------------------------------------------------- 1 | open class Foo { 2 | x: Int 3 | } 4 | 5 | class Bar extends Foo { 6 | const x = 2 7 | } 8 | 9 | bar = new Bar {} 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constSuper.pkl: -------------------------------------------------------------------------------- 1 | open class A { 2 | bar = 5 3 | } 4 | 5 | class B extends A { 6 | const foo = super.bar 7 | } 8 | 9 | b: B 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constSuperMethod.pkl: -------------------------------------------------------------------------------- 1 | open class A { 2 | function bar() = 5 3 | } 4 | 5 | class B extends A { 6 | const foo = super.bar() 7 | } 8 | 9 | b: B 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constThis.pkl: -------------------------------------------------------------------------------- 1 | const bar = this 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constTypeAliasConstraint.pkl: -------------------------------------------------------------------------------- 1 | typealias MyValue = Any(isValid) 2 | 3 | isValid = true 4 | 5 | myValue: MyValue = 1 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingClassDelimiter.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | name: String 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingConstrainedTypeSeparator.pkl: -------------------------------------------------------------------------------- 1 | x: Int(isPositive this > 10) 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingContainerAmendDefDelimiter.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | x = 1 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingContainerAmendExprDelimiter.pkl: -------------------------------------------------------------------------------- 1 | foo = (bar) { 2 | x = 1 3 | 4 | class Foo 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingEmptyMultiLineStringDelimiterAtEof.pkl: -------------------------------------------------------------------------------- 1 | // no newline after opening quote 2 | res1 = """ -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingEmptyStringDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = " 2 | res2 = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunction0ParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | f = ( -> 42 2 | res1 = 42 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunction1ParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | f = (arg -> arg + 1 2 | res1 = 42 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunctionAmendParameterListSeparator.pkl: -------------------------------------------------------------------------------- 1 | f { arg1, arg2 arg3 -> 2 | x = arg1 3 | y = arg2 4 | z = arg3 5 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunctionNParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | f = (arg1, arg2, arg3 -> arg1 + arg2 + arg3 2 | res1 = 42 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunctionParameterListSeparator.pkl: -------------------------------------------------------------------------------- 1 | f = (arg1, arg2 arg3) -> arg1 + arg2 + arg3 2 | res1 = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunctionType0ParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | f: ( -> String 2 | res1 = 42 3 | 4 | 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunctionType1ParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | f: (String -> String 2 | res1 = 42 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunctionTypeNParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | f: (String, Int, String -> String 2 | res1 = 42 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingFunctionTypeParameterListSeparator.pkl: -------------------------------------------------------------------------------- 1 | f: (String, Int String) -> String 2 | res1 = 42 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingIfExprDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = if (cond 3 else 4 2 | res2 = 42 3 | 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | l = List("one", "two" 2 | 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingListSeparator.pkl: -------------------------------------------------------------------------------- 1 | list = List(1, 2 3, 4) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingMapDelimiter.pkl: -------------------------------------------------------------------------------- 1 | map = Map("one", 1, "two", 2 2 | 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingMapSeparator.pkl: -------------------------------------------------------------------------------- 1 | map = Map(1, 2, 3 4, 5, 6) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingMethodArgumentListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = "abc".substring(0, 1 + "def" 2 | res2 = 42 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingMethodArgumentListSeparator.pkl: -------------------------------------------------------------------------------- 1 | res1 = foo(1, 2 3) 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingMethodParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | function foo(arg1, arg2 = arg1 + arg2 2 | res1 = foo(1, 2) 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingMethodParameterListSeparator.pkl: -------------------------------------------------------------------------------- 1 | function foo(arg1 arg2) = arg1 + arg2 2 | 3 | res1 = foo(1, 2) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingMultiLineStringDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = """abc 2 | res2 = 42 3 | 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingObjectAmendDefDelimiter.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | x = 1 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingObjectAmendDefDelimiter2.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar { 3 | x = 1 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingObjectAmendDefDelimiter3.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar { 3 | baz { 4 | y = 2 5 | } 6 | bar2 { 7 | x = 1 8 | } 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingObjectAmendExprDelimiter.pkl: -------------------------------------------------------------------------------- 1 | foo = (bar) { 2 | x = 1 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingObjectDelimiter.pkl: -------------------------------------------------------------------------------- 1 | foo = new { 2 | x = 1 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingParenthesizedExprDelimiter.pkl: -------------------------------------------------------------------------------- 1 | x = 3 * (1 + 2 2 | y = 42 3 | 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingParenthesizedTypeDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1: ((String) -> String | List 2 | res2 = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingRawMultiLineStringDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = #"""abc 2 | 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingRawStringDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = #"abc 2 | 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingSetSeparator.pkl: -------------------------------------------------------------------------------- 1 | set = Set(1, 2 3, 4) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingStringDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = "abc 2 | res2 = 42 3 | 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingSubscriptDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = x[3 + 4 2 | 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingTypeConstraintListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1: String(!isEmpty, length < 5 = "abc" 2 | res2 = 42 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingTypedMethodParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | function foo(arg1: String, arg2: String = arg1 + arg2 2 | res1 = foo(1, 2) 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/missingTypedMethodParameterListSeparator.pkl: -------------------------------------------------------------------------------- 1 | function foo(arg1: String arg2: String) = arg1 + arg2 2 | res1 = foo(1, 2) 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/unbalancedEntryBrackets1.pkl: -------------------------------------------------------------------------------- 1 | res = new { 2 | [[name == "Pigeon"] { age = 42 } 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/unbalancedEntryBrackets2.pkl: -------------------------------------------------------------------------------- 1 | res = new { 2 | [name == "Pigeon"]] { age = 42 } 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/unbalancedEntryBrackets3.pkl: -------------------------------------------------------------------------------- 1 | res = new { 2 | [[name == "Pigeon"] ] { age = 42 } 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/delimiters/unbalancedEntryBrackets4.pkl: -------------------------------------------------------------------------------- 1 | res = new { 2 | [name == "Pigeon"] ] { age = 42 } 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/duplicateTypeParameter.pkl: -------------------------------------------------------------------------------- 1 | typealias MyType = List -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/extendExternalClass.pkl: -------------------------------------------------------------------------------- 1 | class Person extends Any -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/extendTypeAlias.pkl: -------------------------------------------------------------------------------- 1 | open class Foo 2 | typealias Bar = Foo(true) 3 | class Baz extends Bar 4 | qux = new Baz {} 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/forGeneratorCannotGenerateMethods.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | for (n in List(1, 2, 3)) { local function foo() = "foo" } 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/forGeneratorCannotGenerateProperties.pkl: -------------------------------------------------------------------------------- 1 | res { 2 | for (n in List(1, 2, 3)) { foo = n } 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/forGeneratorCannotIterateOverThisValue.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | for (n in 5) { n } 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/forGeneratorCannotIterateOverTyped.pkl: -------------------------------------------------------------------------------- 1 | class Person 2 | foo { 3 | for (_ in new Person {}) { 42 } 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/forGeneratorDuplicateParams1.pkl: -------------------------------------------------------------------------------- 1 | a = List(1, 2, 3, 4) 2 | 3 | foo { 4 | for (i, i in a) { 5 | i 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/functionNotFoundInClass.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | function bar(x) = x 3 | } 4 | 5 | res1 = new Foo {}.baz(42) 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/functionNotFoundInModule.pkl: -------------------------------------------------------------------------------- 1 | function bar(x) = x 2 | 3 | res1 = module.baz(42) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/functionNotFoundInScope.pkl: -------------------------------------------------------------------------------- 1 | function fooa() = 42 2 | function foob(x) = 42 3 | fooc = 42 4 | function other() = 42 5 | 6 | res1 = foox() -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/functionNotFoundMaybeLambda.pkl: -------------------------------------------------------------------------------- 1 | listing = (it) -> it 2 | call = listing(10) 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/functionNotFoundMaybeProperty.pkl: -------------------------------------------------------------------------------- 1 | prop = 42 2 | call = prop() 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/intrinsifiedTypeAlias1.pkl: -------------------------------------------------------------------------------- 1 | res1: Int16 = "abc" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/intrinsifiedTypeAlias2.pkl: -------------------------------------------------------------------------------- 1 | res1: UInt16 = -1 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/intrinsifiedTypeAlias3.pkl: -------------------------------------------------------------------------------- 1 | res1: NonNull = null -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/intrinsifiedTypeAlias4.pkl: -------------------------------------------------------------------------------- 1 | res1: Uri = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidCharacterEscape.pkl: -------------------------------------------------------------------------------- 1 | res1 = "xxx\axxx" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidClassMethodModifier.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | open function foo() = 42 3 | } 4 | 5 | res1 = new Foo {} 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidClassModifier.pkl: -------------------------------------------------------------------------------- 1 | hidden class Foo -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidClassModifier2.pkl: -------------------------------------------------------------------------------- 1 | fixed class Foo 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidClassPropertyModifier.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | open foo: Int = 42 3 | } 4 | 5 | res1 = new Foo {} 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidFileUri1.pkl: -------------------------------------------------------------------------------- 1 | res = read("file:path/to/foo.txt") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidFileUri2.pkl: -------------------------------------------------------------------------------- 1 | res = read*("file:path/to/foo.txt") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidFileUri3.pkl: -------------------------------------------------------------------------------- 1 | res = import("file:path/to/foo.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobImport1.pkl: -------------------------------------------------------------------------------- 1 | import* "{foo{bar}}.pkl" as invalidGlob 2 | 3 | res = invalidGlob 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobImport2.pkl: -------------------------------------------------------------------------------- 1 | import* "\\foo.pkl" as invalidGlob 2 | 3 | res = invalidGlob 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobImport3.pkl: -------------------------------------------------------------------------------- 1 | import* "foo.pkl\\" as invalidGlob 2 | 3 | res = invalidGlob 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobImport4.pkl: -------------------------------------------------------------------------------- 1 | import* ".../input-helper/**.pkl" as invalidGlob 2 | 3 | result = invalidGlob 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobImport5.pkl: -------------------------------------------------------------------------------- 1 | import* "https://www.apple.com/**.pkl" as allPklModules 2 | 3 | res = allPklModules 4 | 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobImport6.pkl: -------------------------------------------------------------------------------- 1 | // prevention of CVE-2010-2632 2 | res = import*("../*/../*/../*/../*/../*/../*/../*.") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobImport7.pkl: -------------------------------------------------------------------------------- 1 | import* "../../input-helper/globtest/**.pkl" as globbedImports 2 | 3 | res: globbedImports 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobRead1.pkl: -------------------------------------------------------------------------------- 1 | res = read*("{foo{bar}}.txt") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobRead2.pkl: -------------------------------------------------------------------------------- 1 | res = read*(".../foo/bar.txt") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidGlobRead3.pkl: -------------------------------------------------------------------------------- 1 | res = read*("https://www.google.com/**.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidImportBackslashSep.pkl: -------------------------------------------------------------------------------- 1 | // In all OSes, the directory separator is forward slash. 2 | res = import(#"..\basic\baseModule.pkl"#) 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidImportUri.pkl: -------------------------------------------------------------------------------- 1 | import "file:///foo^bar.pkl" as _foo 2 | 3 | foo = _foo 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidMethodModifier.pkl: -------------------------------------------------------------------------------- 1 | open function foo() = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidModuleModifier.pkl: -------------------------------------------------------------------------------- 1 | abstract module foo 2 | 3 | amends "baseModule.pkl" 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidObjectPropertyModifier.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | abstract bar = 42 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidOutput1.pkl: -------------------------------------------------------------------------------- 1 | output: String = "abc" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidOutput2.pkl: -------------------------------------------------------------------------------- 1 | class Test {} 2 | 3 | output: Test = new {} 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidOutput3.pkl: -------------------------------------------------------------------------------- 1 | output = null 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidPropertyModifier.pkl: -------------------------------------------------------------------------------- 1 | open foo: Int = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTripleDotSyntax1.pkl: -------------------------------------------------------------------------------- 1 | import ".../" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTripleDotSyntax2.pkl: -------------------------------------------------------------------------------- 1 | import "...abc" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTypeAliasModifier.pkl: -------------------------------------------------------------------------------- 1 | abstract typealias Foo = Int -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTypeName1.pkl: -------------------------------------------------------------------------------- 1 | local base = import("pkl:base") 2 | listing = new base.Listing {} 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTypeName2.pkl: -------------------------------------------------------------------------------- 1 | local x = new { 2 | y = import("pkl:base") 3 | } 4 | listing = new x.y.Listing {} 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTypeName3.pkl: -------------------------------------------------------------------------------- 1 | class Foo 2 | bar = new Foo.Bar {} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTypeName4.pkl: -------------------------------------------------------------------------------- 1 | class Foo 2 | local Foo2 = Foo 3 | foo2 = new Foo2 {} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidUnicodeEscape.pkl: -------------------------------------------------------------------------------- 1 | res1 = "\u{12x}" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/keywordNotAllowedHere1.pkl: -------------------------------------------------------------------------------- 1 | outer = 42 2 | res1 = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/keywordNotAllowedHere2.pkl: -------------------------------------------------------------------------------- 1 | function outer() = 42 2 | res1 = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/keywordNotAllowedHere3.pkl: -------------------------------------------------------------------------------- 1 | res1 = outer.outer 2 | res2 = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/keywordNotAllowedHere4.pkl: -------------------------------------------------------------------------------- 1 | // `record` is reserved but not used right now 2 | record = 5 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/letExpressionError1.pkl: -------------------------------------------------------------------------------- 1 | res1 = 2 | let (x = 1) 3 | let (y = 2) 4 | throw("ouch") -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/letExpressionError2.pkl: -------------------------------------------------------------------------------- 1 | res1 = 2 | let (x = 1) 3 | let (y = throw("ouch")) 4 | y + 2 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/letExpressionErrorTyped.pkl: -------------------------------------------------------------------------------- 1 | res1 = 2 | let (x: Float = "abc") 3 | x.reverse() 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError1.pkl: -------------------------------------------------------------------------------- 1 | res = new Listing { 2 | 1 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError2.pkl: -------------------------------------------------------------------------------- 1 | one = 1 2 | 3 | res = new Listing { 4 | one 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError3.pkl: -------------------------------------------------------------------------------- 1 | res: Listing = new Listing { 2 | "" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError4.pkl: -------------------------------------------------------------------------------- 1 | res: Listing = new Listing { 2 | "hola" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError5.pkl: -------------------------------------------------------------------------------- 1 | local l = new Listing { 1; 2; 3 } as Listing 2 | 3 | res = l[0] 4 | 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/listingTypeCheckError7.pkl: -------------------------------------------------------------------------------- 1 | foo: Listing = new { 1; 2; 3 } 2 | bar: Listing = (foo) { "bar" } 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/localFixedMember.pkl: -------------------------------------------------------------------------------- 1 | local fixed name: String = "hello" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/localFunctionWithTypeParameter.pkl: -------------------------------------------------------------------------------- 1 | local function x() = x -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/localHiddenMember.pkl: -------------------------------------------------------------------------------- 1 | local hidden name: String 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError1.pkl: -------------------------------------------------------------------------------- 1 | res = new Mapping { 2 | ["foo"] = 1 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError10.pkl: -------------------------------------------------------------------------------- 1 | foo: Mapping = new { ["foo"] = 1; ["bar"] = 2 } 2 | bar: Mapping = (foo) { ["baz"] = "three" } 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError2.pkl: -------------------------------------------------------------------------------- 1 | res: Mapping = new { 2 | ["foo"] = 1 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError3.pkl: -------------------------------------------------------------------------------- 1 | // ConstantEntriesLiteralNode 2 | res: Mapping = new { 3 | [1] = "foo" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError4.pkl: -------------------------------------------------------------------------------- 1 | num = 1 2 | 3 | // EntriesLiteralNode 4 | res: Mapping = new { 5 | [num] = "foo" 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError7.pkl: -------------------------------------------------------------------------------- 1 | res = new Mapping, String> { 2 | [new Listing { "hi" }] = "hi" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/mappingTypeCheckError8.pkl: -------------------------------------------------------------------------------- 1 | res: Mapping = new { 2 | ...Map("foo", 1) 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/missingLocalPropertyValue1.pkl: -------------------------------------------------------------------------------- 1 | local x: Int -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/missingLocalPropertyValue2.pkl: -------------------------------------------------------------------------------- 1 | amends "baseModule.pkl" 2 | 3 | local x: Int 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleAmendsSelf.pkl: -------------------------------------------------------------------------------- 1 | amends "moduleAmendsSelf.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleAmendsVersionCheck.pkl: -------------------------------------------------------------------------------- 1 | amends "moduleWithHighMinPklVersion.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleAmendsVersionCheck2.pkl: -------------------------------------------------------------------------------- 1 | @ModuleInfo { minPklVersion = "99.9.9" } 2 | amends "baseModule.pkl" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleExpected.pkl: -------------------------------------------------------------------------------- 1 | hidden path: List = import("moduleExpected.pkl").relativePathTo(module) 2 | dummy = 42 3 | result = (module) { dummy = 0 }.path 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleExtendsSelf.pkl: -------------------------------------------------------------------------------- 1 | open module moduleExtendsSelf 2 | 3 | extends "moduleExtendsSelf.pkl" 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleExtendsVersionCheck.pkl: -------------------------------------------------------------------------------- 1 | extends "moduleWithHighMinPklVersion.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleExtendsVersionCheck2.pkl: -------------------------------------------------------------------------------- 1 | @ModuleInfo { minPklVersion = "99.9.9" } 2 | extends "baseModule.pkl" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleImportVersionCheck.pkl: -------------------------------------------------------------------------------- 1 | import "moduleWithHighMinPklVersion.pkl" 2 | 3 | res1 = moduleWithHighMinPklVersion.x 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleWithHighMinPklVersion.pkl: -------------------------------------------------------------------------------- 1 | @ModuleInfo { minPklVersion = "99.9.9" } 2 | open module moduleWithHighMinPklVersion 3 | 4 | x = 1 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/multipleDefaults.pkl: -------------------------------------------------------------------------------- 1 | foo: *Int|*String|*"foo" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/nested1.pkl: -------------------------------------------------------------------------------- 1 | a { 2 | b { 3 | c { 4 | x = outer.outer // nested syntax error 5 | } 6 | } 7 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/noDefault.pkl: -------------------------------------------------------------------------------- 1 | foo: "foo"|"bar"|"baz" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/noDefault2.pkl: -------------------------------------------------------------------------------- 1 | // alias has a default 2 | typealias Foo = *"foo"|"bar" 3 | 4 | // but property doesn't 5 | foo: Foo|"baz" 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/notAUnionDefault.pkl: -------------------------------------------------------------------------------- 1 | foo: *"foo" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/objectCannotHavePredicateMember.pkl: -------------------------------------------------------------------------------- 1 | class Foo 2 | 3 | res1 = new Foo { 4 | [[true]] = 42 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/outOfRange1.pkl: -------------------------------------------------------------------------------- 1 | res1 = "abc"[4] -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/outOfRange2.pkl: -------------------------------------------------------------------------------- 1 | res1 = "abc".substring(2, 1) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/outOfRange3.pkl: -------------------------------------------------------------------------------- 1 | res1 = List(1, 2, 3).sublist(2, 1) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser1.pkl: -------------------------------------------------------------------------------- 1 | res1 = 9# -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser10.pkl: -------------------------------------------------------------------------------- 1 | res1 = new [ 42 } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser11.pkl: -------------------------------------------------------------------------------- 1 | res1 = new { foo = 42 ] -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser12.pkl: -------------------------------------------------------------------------------- 1 | res1 = new { foo = 42 }} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser14.pkl: -------------------------------------------------------------------------------- 1 | // note: file ends with a newline 2 | 3 | x = List(1) 4 | ///[1,2,3] 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser15.pkl: -------------------------------------------------------------------------------- 1 | 2 | res = 100e_10 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser16.pkl: -------------------------------------------------------------------------------- 1 | 2 | res = 0x_01 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser17.pkl: -------------------------------------------------------------------------------- 1 | 2 | res = 0b_01 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser18.pkl: -------------------------------------------------------------------------------- 1 | 2 | res = 100._01 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser2.pkl: -------------------------------------------------------------------------------- 1 | res1 = "some string 2 | res2 = 2 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser3.pkl: -------------------------------------------------------------------------------- 1 | res1 = """some string -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser4.pkl: -------------------------------------------------------------------------------- 1 | res1 = """some string 2 | res2 = 2 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser5.pkl: -------------------------------------------------------------------------------- 1 | res1 = "some string""" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser6.pkl: -------------------------------------------------------------------------------- 1 | res1 = """some string" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser7.pkl: -------------------------------------------------------------------------------- 1 | a1 = 10 2 | res1 = a@11 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser8.pkl: -------------------------------------------------------------------------------- 1 | res1 = """ 2 | mismatched indent 3 | """ -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser9.pkl: -------------------------------------------------------------------------------- 1 | res1 = #""" 2 | mismatched indent 3 | """# -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/propertyNotFound1.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | xbar = 1 3 | barx = 2 4 | other = 3 5 | } 6 | 7 | res1 = foo.bar -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/propertyNotFound2.pkl: -------------------------------------------------------------------------------- 1 | res0 = Pair(1, 2).foo 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/refusingToLoadModule.pkl: -------------------------------------------------------------------------------- 1 | import "birds:///foo.pkl" 2 | 3 | output = foo 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxCannotHaveElement.pkl: -------------------------------------------------------------------------------- 1 | local source { 2 | 1 3 | 2 4 | 3 5 | } 6 | 7 | res: Mapping = new { 8 | ...source 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxCannotHaveEntry.pkl: -------------------------------------------------------------------------------- 1 | local source { 2 | ["foo"] = 1 3 | } 4 | 5 | res: Listing = new { 6 | ...source 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxCannotHaveProperty.pkl: -------------------------------------------------------------------------------- 1 | local source { 2 | foo = "foo" 3 | } 4 | 5 | res: Listing = new { 6 | ...source 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxCannotSpreadListIntoMapping.pkl: -------------------------------------------------------------------------------- 1 | l: List = List(1, 2, 3, 4) 2 | 3 | m: Mapping = new { 4 | ...l 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxDuplicateEntry1.pkl: -------------------------------------------------------------------------------- 1 | local source { 2 | ["foo"] = 1 3 | } 4 | 5 | res: Mapping = new { 6 | ...source 7 | ["foo"] = 2 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxDuplicateEntry2.pkl: -------------------------------------------------------------------------------- 1 | local source { 2 | ["foo"] = 1 3 | } 4 | 5 | res: Mapping = new { 6 | ["foo"] = 2 7 | ...source 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxDuplicateProperty1.pkl: -------------------------------------------------------------------------------- 1 | local source { 2 | foo = 1 3 | } 4 | 5 | res { 6 | ...source 7 | foo = 2 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxDuplicateProperty2.pkl: -------------------------------------------------------------------------------- 1 | local source { 2 | foo = 1 3 | } 4 | 5 | res { 6 | foo = 2 7 | ...source 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/spreadSyntaxNullValue.pkl: -------------------------------------------------------------------------------- 1 | source = null 2 | 3 | res { ...source } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/stackTraceWithQuotedMemberName.pkl: -------------------------------------------------------------------------------- 1 | one { 2 | `two three` { 3 | four = throw("ouch") 4 | } 5 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/supercalls.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar = super.bar() 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/typeMismatchHelper.pkl: -------------------------------------------------------------------------------- 1 | module foo.bar 2 | 3 | class Baz 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/typeMismatchWithSameQualifiedModuleName.pkl: -------------------------------------------------------------------------------- 1 | module foo.bar 2 | 3 | import "typeMismatchHelper.pkl" 4 | 5 | mod: module = typeMismatchHelper 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/undefinedOp1.pkl: -------------------------------------------------------------------------------- 1 | res1 = !1 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/undefinedOp2.pkl: -------------------------------------------------------------------------------- 1 | res1 = "str" + 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/undefinedOp3.pkl: -------------------------------------------------------------------------------- 1 | l = List(1,2,3) 2 | res1 = l["idx"] -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/undefinedProperty1.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | name: String 3 | } 4 | 5 | res1: Person 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/undefinedProperty2.pkl: -------------------------------------------------------------------------------- 1 | name: String 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/undefinedProperty8.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | name: String 3 | } 4 | 5 | output { 6 | value = new Person {} 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/underscore.pkl: -------------------------------------------------------------------------------- 1 | _ = 0 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/underscoreLambda.pkl: -------------------------------------------------------------------------------- 1 | local lambda = (_, x: Int) -> `_` + x 2 | 3 | res = lambda.apply(1, 1) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/underscoreLet.pkl: -------------------------------------------------------------------------------- 1 | foo = let (_ = throw("oops")) 0 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/unterminatedUnicodeEscape.pkl: -------------------------------------------------------------------------------- 1 | res1 = "foo \u{123 bar" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/userDefinedTypeParameter1.pkl: -------------------------------------------------------------------------------- 1 | class Box { 2 | element: A 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/userDefinedTypeParameter2.pkl: -------------------------------------------------------------------------------- 1 | class DoIt { 2 | function doit(a: A): A = a 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/wrongForGeneratorType1.pkl: -------------------------------------------------------------------------------- 1 | res1 = new Listing { 2 | for (n: Int in List(1, "other", 2)) { n } 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/wrongForGeneratorType2.pkl: -------------------------------------------------------------------------------- 1 | res1 = new Mapping { 2 | for (n: Int in List(1, "other", 2)) { [n] = n } 3 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/wrongNumberOfMapArguments.pkl: -------------------------------------------------------------------------------- 1 | res1 = Map(1, 2, 3) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/generators/duplicateDefinition1.pkl: -------------------------------------------------------------------------------- 1 | x { 2 | y = 123 3 | when (true) { y = 456 } 4 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/generators/duplicateDefinition2.pkl: -------------------------------------------------------------------------------- 1 | x { 2 | ["y"] = 123 3 | for (i in List(1)) { ["y"] = 456 } 4 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/generators/duplicateDefinition3.pkl: -------------------------------------------------------------------------------- 1 | x { 2 | when (true) { y = 1 } 3 | when (true) { y = 2 } 4 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/generators/spreadSyntaxNoSpace.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | 1 2 3...IntSeq(4, 10)...IntSeq(11, 20) 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/generators/spreadSyntaxNullable.pkl: -------------------------------------------------------------------------------- 1 | a = null 2 | b { ...?a } 3 | 4 | c { 1; 2; 3 } 5 | d { ...?c } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/lambdas/amendLambdaExternalClassError.pkl: -------------------------------------------------------------------------------- 1 | hidden ab = (a, b) -> List(42) 2 | hidden amendAb = (ab) { amended = "amended" } 3 | res1 = amendAb.apply(1, 2) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/lambdas/lambdaStackTrace1.pkl: -------------------------------------------------------------------------------- 1 | hidden f = (a, b) -> a + b 2 | 3 | res1 = f.apply("Pigeon", 42) 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/lambdas/lambdaStackTrace2.pkl: -------------------------------------------------------------------------------- 1 | hidden f1 = () -> (() -> (() -> throw("ouch")).apply()).apply() 2 | 3 | res1 = f1.apply() -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/lambdas/lambdaStackTrace3.pkl: -------------------------------------------------------------------------------- 1 | hidden fs = List(() -> 42, () -> throw("ouch")) 2 | 3 | res1 = fs[1].apply() -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/lambdas/tooManyLambdaParams.pkl: -------------------------------------------------------------------------------- 1 | f = (a1, a2, a3, a4, a5, a6) -> a1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/lambdas/wrongArgumentListLength.pkl: -------------------------------------------------------------------------------- 1 | f = (a1, a2, a3) -> a1 2 | res = f.applyToList(List(1, 2, 3, 4, 5, 6)) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/mappings/duplicateConstantKey.pkl: -------------------------------------------------------------------------------- 1 | res1 = new Mapping { 2 | ["barn owl"] = 1 3 | ["pigeon"] = 2 4 | ["barn owl"] = 3 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/mappings2/duplicateConstantKey.pkl: -------------------------------------------------------------------------------- 1 | res1 = new Mapping { 2 | when (false) { [0] = 0 } 3 | ["barn owl"] = 1 4 | ["pigeon"] = 2 5 | ["barn owl"] = 3 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/amendModule2.pkl: -------------------------------------------------------------------------------- 1 | amends "library.pkl" 2 | 3 | // use inherited type 4 | pigeon = new Person { 5 | name = "pigeon2" 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/amendModule3.pkl: -------------------------------------------------------------------------------- 1 | // amend an amended module 2 | amends "amendModule1.pkl" 3 | 4 | pigeon { 5 | name = "pigeon3" 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/amendModule6.pkl: -------------------------------------------------------------------------------- 1 | amends ".../input-helper/modules/Birds.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/duplicateFunction.pkl: -------------------------------------------------------------------------------- 1 | function foo() = "foo" 2 | 3 | foo = "foo" // OK 4 | 5 | function bar() = "bar" 6 | 7 | function foo(arg) = "other" // duplicate -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/duplicateProperty1.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:test" 2 | 3 | test = "test" // duplicate 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/duplicateProperty2.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:test" 2 | 3 | class test // duplicate 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/duplicateProperty3.pkl: -------------------------------------------------------------------------------- 1 | test = "test" // this is considered the duplicate as ASTGenerator doesn't maintain order between props and classes 2 | 3 | class test -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/externalFunction.pkl: -------------------------------------------------------------------------------- 1 | external function foo() 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/externalProperty.pkl: -------------------------------------------------------------------------------- 1 | external foo: String 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/filename with spaces 2.pkl: -------------------------------------------------------------------------------- 1 | otherFile = import("filename with spaces.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/filename with spaces.pkl: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidAmend1.pkl: -------------------------------------------------------------------------------- 1 | amends "library.pkl" 2 | 3 | // wrong type 4 | name = 42 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidAmend2.pkl: -------------------------------------------------------------------------------- 1 | amends "library.pkl" 2 | 3 | // non-existing property 4 | other = "parrot" 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidAmend3.pkl: -------------------------------------------------------------------------------- 1 | amends "library.pkl" 2 | 3 | // non-local property definition 4 | name: String = "parrot" 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidAmend4.pkl: -------------------------------------------------------------------------------- 1 | amends "library.pkl" 2 | 3 | // non-local function definition 4 | function foo() = "parrot" 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidAmend5.pkl: -------------------------------------------------------------------------------- 1 | amends "library.pkl" 2 | 3 | // non-local class definition 4 | class Other 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidAmend6.pkl: -------------------------------------------------------------------------------- 1 | resource = new Resource { 2 | // No property foo on Resource 3 | foo = "bar" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidExtend1.pkl: -------------------------------------------------------------------------------- 1 | extends "library.pkl" 2 | 3 | // wrong type 4 | name = 42 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidExtend2.pkl: -------------------------------------------------------------------------------- 1 | // non-open module 2 | extends "extendModule1.pkl" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/invalidExtend3.pkl: -------------------------------------------------------------------------------- 1 | // extend an amended module 2 | extends "amendModule1.pkl" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/lists.pkl: -------------------------------------------------------------------------------- 1 | x = List( 2 | List(1, 2), 3 | List(3, 4) 4 | ) -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/objects.pkl: -------------------------------------------------------------------------------- 1 | x { 2 | y { 3 | z = 1 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/recursiveModule2.pkl: -------------------------------------------------------------------------------- 1 | import "recursiveModule1.pkl" 2 | 3 | class Bar { 4 | foo: recursiveModule1.Foo 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/supercalls1.pkl: -------------------------------------------------------------------------------- 1 | open module supercalls1 2 | 3 | prefix = "" 4 | function say(msg) = prefix + msg 5 | function sameMethod() = 1 6 | sameProp = "a" 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/typedModuleProperties2.pkl: -------------------------------------------------------------------------------- 1 | res1: String = 42 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/typedModuleProperties3.pkl: -------------------------------------------------------------------------------- 1 | res1: String(!isEmpty) = "" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/modules/日本語_error.pkl: -------------------------------------------------------------------------------- 1 | // covers https://github.com/apple/pkl/issues/653 2 | 日本語 = throw("Error reporting should also handle unicode filenames!") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/objects/duplicateProperty.pkl: -------------------------------------------------------------------------------- 1 | obj { 2 | prop1 = "prop1" 3 | prop2 = "prop2" 4 | prop1 = "other" // duplicate 5 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/objects/implicitReceiver1.pkl: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | x = 1 4 | bar { 5 | x = 2 6 | y = x + 3 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/objects/implicitReceiver2.pkl: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | x = 1 4 | bar { 5 | y = x + 3 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/objects/implicitReceiver3.pkl: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | bar { 4 | y = x + 3 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/objects/implicitReceiver4.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar { 3 | y = x + 3 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/objects/outer2.pkl: -------------------------------------------------------------------------------- 1 | res1 { 2 | x { 3 | y = 1 4 | z = outer.y 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/objects/this1.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar = this.baz + 1 3 | baz = 3 4 | } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport1.error.pkl: -------------------------------------------------------------------------------- 1 | // no semver 2 | res = import("package://localhost:0/foo#/bar.pkl") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport10.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/birds@0.5.0::invalidalgo:abc123#/catalog/Bird.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport11.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/birds@0.5.0::boguschecksumpart#/catalog/Bird.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport2.error.pkl: -------------------------------------------------------------------------------- 1 | // invalid semver 2 | res = import("package://localhost:0/foo@notAVersion#/bar.pkl") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport3.error.pkl: -------------------------------------------------------------------------------- 1 | // no fragment 2 | res = import("package://localhost:0/bar/baz@1.0.0") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport4.error.pkl: -------------------------------------------------------------------------------- 1 | // fragment path must be absolute 2 | res = import("package://localhost:0/birds@0.5.0#catalog/Swallow.pkl") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport6.error.pkl: -------------------------------------------------------------------------------- 1 | import "package://localhost:0/badPackageZipUrl@1.0.0#/Bug.pkl" 2 | 3 | res: Bug 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport7.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/badMetadataJson@1.0.0#/Bug.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport8.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/badImportsWithinPackage@1.0.0#/unknownDependency.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badImport9.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/badImportsWithinPackage@1.0.0#/invalidPath.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badRead1.error.pkl: -------------------------------------------------------------------------------- 1 | // no semver 2 | res = read("package://localhost:0/foo#/bar.pkl") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badRead2.error.pkl: -------------------------------------------------------------------------------- 1 | // invalid semver 2 | res = read("package://localhost:0/foo@notAVersion#/bar.pkl") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badRead3.error.pkl: -------------------------------------------------------------------------------- 1 | // no fragment 2 | res = read("package://localhost:0/bar/baz@1.0.0") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badRead4.error.pkl: -------------------------------------------------------------------------------- 1 | // fragment path must be absolute 2 | res = read("package://localhost:0/birds@0.5.0#catalog/Swallow.pkl") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badRead8.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/badImportsWithinPackage@1.0.0#/unknownDependencyRead.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/packages/badRead9.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/badImportsWithinPackage@1.0.0#/invalidPathRead.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/parser/amendsRequiresParens.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | (bar { "baz" }) 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/parser/constantStringInterpolation.pkl: -------------------------------------------------------------------------------- 1 | import "\(name).pkl" 2 | 3 | name = "Bird" 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/parser/invalidCharacter.pkl: -------------------------------------------------------------------------------- 1 | foo = 1 ^ 1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/parser/spacesBetweenDocComments.pkl: -------------------------------------------------------------------------------- 1 | /// doc comment start 2 | 3 | /// doc comment continuation 4 | foo = 1 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/parser/typeAnnotationInAmends.pkl: -------------------------------------------------------------------------------- 1 | bird: Listing { 2 | "Crow" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/parser/wrongDocComment.pkl: -------------------------------------------------------------------------------- 1 | /// not a valid doc comment 2 | import "../../input-helper/basic/read/module1.pkl" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badLocalProject/PklProject: -------------------------------------------------------------------------------- 1 | // valid PklProject, but not valid as a local dependency because it is missing a `package` section. 2 | amends "pkl:Project" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badLocalProject/dog.pkl: -------------------------------------------------------------------------------- 1 | name = "Dog" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badPklProject1/PklProject: -------------------------------------------------------------------------------- 1 | /// This is a thing!!! 2 | module invalid.project.Module 3 | 4 | foo: String = "hello" 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badPklProject1/bug.pkl: -------------------------------------------------------------------------------- 1 | res = 1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badPklProject2/PklProject: -------------------------------------------------------------------------------- 1 | output { 2 | value = 5 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badPklProject3/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | package = new Mapping { 4 | ["foo"] = "bar" 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps1/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | dependencies { 4 | ["birds"] { 5 | uri = "package://localhost:0/birds@0.5.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps1/PklProject.deps.json: -------------------------------------------------------------------------------- 1 | this is not json 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps1/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@bird/Bird.pkl" 2 | 3 | res: Bird = new {} 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps2/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | dependencies { 4 | ["birds"] { 5 | uri = "package://localhost:0/birds@0.5.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps2/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@bird/Bird.pkl" 2 | 3 | res: Bird = new {} 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps3/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | dependencies { 4 | ["birds"] { 5 | uri = "package://localhost:0/birds@0.5.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps3/PklProject.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "resolvedDependencies": {} 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps3/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@bird/Bird.pkl" 2 | 3 | bird: Bird 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps4/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | dependencies { 4 | ["badLocalProject"] = import("../badLocalProject/PklProject") 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps4/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@badLocalProject/dog.pkl" 2 | 3 | res = dog 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badProjectDeps6/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@birds/Bird.pkl" 2 | 3 | bird: Bird 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/missingProjectDeps/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | dependencies { 4 | ["birds"] { 5 | uri = "package://localhost:0/birds@0.5.0" 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/missingProjectDeps/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@birds/Bird.pkl" 2 | 3 | res = new Bird {} 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/notAProject/@child/theChild.pkl: -------------------------------------------------------------------------------- 1 | res = 1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/notAProject/badImport.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("@child/theChild.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/notAProject/goodImport.pkl: -------------------------------------------------------------------------------- 1 | res = import("./@child/theChild.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project1/badImport1.error.pkl: -------------------------------------------------------------------------------- 1 | import "@doesnotexist/bar/baz.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project1/badRead1.error.pkl: -------------------------------------------------------------------------------- 1 | res = read("@doesnotexist/bar/baz.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project1/directPackageImport.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("@birds") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project1/localProject.pkl: -------------------------------------------------------------------------------- 1 | import "@project2/penguin.pkl" 2 | 3 | res = penguin 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project1/localProjectRead.pkl: -------------------------------------------------------------------------------- 1 | res = read("@project2/penguin.pkl").text 2 | res2 = read*("@project2/*") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project2/penguin.pkl: -------------------------------------------------------------------------------- 1 | import "@burds/Bird.pkl" 2 | 3 | bird: Bird = new { 4 | name = "Penguin" 5 | favoriteFruit { 6 | name = "Ice Fruit" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project3/PklProject: -------------------------------------------------------------------------------- 1 | amends "../project1/PklProject" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project4/main.pkl: -------------------------------------------------------------------------------- 1 | import "@fruit/Fruit.pkl" 2 | 3 | orange = new Fruit { 4 | name = "Orange" 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project5/main.pkl: -------------------------------------------------------------------------------- 1 | import "@birds/Bird.pkl" 2 | 3 | bird: Bird = new { 4 | name = "Finch" 5 | favoriteFruit { 6 | name = "Nuts" 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project6/PklProject.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "resolvedDependencies": {} 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project6/children.pkl: -------------------------------------------------------------------------------- 1 | children = import*("children/*.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project6/children/a.pkl: -------------------------------------------------------------------------------- 1 | name = "a" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project6/children/b.pkl: -------------------------------------------------------------------------------- 1 | name = "b" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project6/children/c.pkl: -------------------------------------------------------------------------------- 1 | name = "c" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/types/currentModuleType3.pkl: -------------------------------------------------------------------------------- 1 | extends "currentModuleType2.pkl" 2 | 3 | res1 = module 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/types/cyclicTypeAlias1.pkl: -------------------------------------------------------------------------------- 1 | typealias Foo = List -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/types/cyclicTypeAlias2.pkl: -------------------------------------------------------------------------------- 1 | typealias Foo = List 2 | 3 | typealias Bar = Set 4 | 5 | typealias Baz = Map -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/types/helpers/someModule.pkl: -------------------------------------------------------------------------------- 1 | foo: String = "foo" 2 | bar: Int = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/types/nothingType.pkl: -------------------------------------------------------------------------------- 1 | function throws(): nothing = throw("throwing a message") 2 | 3 | myValue: String = throws() 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/types/nothingWithUnions.pkl: -------------------------------------------------------------------------------- 1 | x: "foo"|nothing = "foo" 2 | 3 | y: nothing|"foo" = "foo" 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/types/typeAliasContext.pkl: -------------------------------------------------------------------------------- 1 | import "helpers/originalTypealias.pkl" 2 | 3 | res: originalTypealias.Birds = new { "Jimmy Bird" } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/annotation/annotation1.pcf: -------------------------------------------------------------------------------- 1 | someProperty = "hi" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/anyConverter.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | "Unconverted class: anyConverter#User" 3 | "Dog(5)" 4 | "Unconverted class: anyConverter#Env" 5 | "42" 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/jsonRenderer1.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "pigeon", 3 | "age": 30 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/jsonRenderer7.pcf: -------------------------------------------------------------------------------- 1 | { 2 | "res2": 1, 3 | "res3": "Hello", 4 | "res4": { 5 | "foo": 1 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/jsonnetRenderer2.jsonnet: -------------------------------------------------------------------------------- 1 | { hello: { world: [1, 'foo\nbar'] }, emptyArray: [], emptyObject: {} } 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/moduleOutput.pcf: -------------------------------------------------------------------------------- 1 | some string -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/moduleOutput2.pcf: -------------------------------------------------------------------------------- 1 | { 2 | "res1": 42 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/propertiesRenderer1.properties: -------------------------------------------------------------------------------- 1 | name = pigeon 2 | age = 30 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/propertiesRendererBug66849708.properties: -------------------------------------------------------------------------------- 1 | object.property = converted 2 | mapping.key = converted 3 | map.key = converted 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/typeConverters.pcf: -------------------------------------------------------------------------------- 1 | animals { 2 | "Wolf Animal" 3 | "Mr. Tweet" 4 | "Whiskers Animal" 5 | "Angry Neck" 6 | "Mr. Snow" 7 | "Mr. Rainbow" 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlRenderer1.yml: -------------------------------------------------------------------------------- 1 | name: pigeon 2 | age: 30 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlRendererBug66849708.yml: -------------------------------------------------------------------------------- 1 | object: 2 | property: converted 3 | mapping: 4 | key: converted 5 | map: 6 | key: converted 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/baseModule.pcf: -------------------------------------------------------------------------------- 1 | foo {} 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/comments.pcf: -------------------------------------------------------------------------------- 1 | x = 10 2 | y = 20 3 | z = 30 4 | a = 20 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/constModifier3.pcf: -------------------------------------------------------------------------------- 1 | res = 25 2 | res2 = 26 3 | res3 = "hihihi" 4 | res4 = "hihihi" 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/constModifier4.pcf: -------------------------------------------------------------------------------- 1 | baz = 15 2 | foo { 3 | qux = 15 4 | corge = 15 5 | corge2 = 15 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/fixedProperty1.pcf: -------------------------------------------------------------------------------- 1 | res1 = "hi" 2 | res2 = true 3 | res3 { 4 | name = "Swallow" 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/fixedProperty2.pcf: -------------------------------------------------------------------------------- 1 | p { 2 | name = "The Person" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/fixedProperty3.pcf: -------------------------------------------------------------------------------- 1 | res1 = "goodbye" 2 | res2 = true 3 | res3 { 4 | name = "Swallow" 5 | } 6 | res4 = "aloha" 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/import1.pcf: -------------------------------------------------------------------------------- 1 | bar = 1 2 | res1 = 6 3 | res2 = 3 4 | res3 = 6 5 | res4 = 3 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/import1b.pcf: -------------------------------------------------------------------------------- 1 | bar = 1 2 | res1 = 6 3 | res2 = 3 4 | res3 = 6 5 | res4 = 3 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/import2.pcf: -------------------------------------------------------------------------------- 1 | bar = 1 2 | libFoo = 6 3 | libBar = 3 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/import3.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | bar { 3 | foo = 6 4 | bar = 3 5 | } 6 | baz { 7 | foo = 6 8 | bar = 3 9 | } 10 | bak = 6 11 | } 12 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/imported.pcf: -------------------------------------------------------------------------------- 1 | foo = 6 2 | bar = 3 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/indexExpressions.pcf: -------------------------------------------------------------------------------- 1 | result = "z" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/localMethodOverride1.pcf: -------------------------------------------------------------------------------- 1 | res1 = "original" 2 | res2 = "original" 3 | res3 = "original" 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/localMethodOverride2.pcf: -------------------------------------------------------------------------------- 1 | res1 = "original" 2 | res2 = "original" 3 | res3 = "original" 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/localProperty1.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | bar { 3 | baz = 2 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/localPropertyOverride3.pcf: -------------------------------------------------------------------------------- 1 | foo1 { 2 | x = "original" 3 | } 4 | foo2 { 5 | x = "original" 6 | y = "overridden" 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/minPklVersion.pcf: -------------------------------------------------------------------------------- 1 | examples { 2 | ["minPklVersion check"] { 3 | Class1 {} 4 | Class2 {} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/moduleRef1.pcf: -------------------------------------------------------------------------------- 1 | a = 42 2 | m1 = 42 3 | foo { 4 | b = 43 5 | m2 = 42 6 | m3 = 43 7 | m4 = 43 8 | } 9 | m5 = 42 10 | m6 { 11 | age = 42 12 | } 13 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/moduleRef2.pcf: -------------------------------------------------------------------------------- 1 | a = 42 2 | aa = 42 3 | foo { 4 | m1 = 42 5 | b = 43 6 | m2 = 43 7 | m3 = 42 8 | m4 { 9 | age = 42 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/moduleRefLibrary.pcf: -------------------------------------------------------------------------------- 1 | a = 42 2 | aa = 42 3 | foo {} 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/parens.pcf: -------------------------------------------------------------------------------- 1 | res1 = 14 2 | res2 = 20 3 | res3 = 14 4 | res4 = 14 5 | res5 = 20 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/semicolon.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | b = 1 3 | d = 2 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/typeResolution1.pcf: -------------------------------------------------------------------------------- 1 | p1 { 2 | name = "person1" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/typeResolution2.pcf: -------------------------------------------------------------------------------- 1 | p1 { 2 | name = "person1" 3 | } 4 | pp1 { 5 | name = "person1" 6 | } 7 | pp2 { 8 | name = "person2" 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/typeResolution3.pcf: -------------------------------------------------------------------------------- 1 | p1 { 2 | name = "person1" 3 | } 4 | pp1 { 5 | name = "person1" 6 | } 7 | pp2 { 8 | name = "person2" 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/class1.pcf: -------------------------------------------------------------------------------- 1 | pigeon { 2 | name = "Pigeon Who" 3 | age = 40 4 | } 5 | pigeonName = "Pigeon Who" 6 | pigeonAge = 40 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/class4.pcf: -------------------------------------------------------------------------------- 1 | res1 = "Cannot find property `foo` in object of type `Class`." 2 | res2 = "Cannot find method `bar` in class `Class`." 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/constraints10.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | a = "one.two" 3 | } 4 | res2 { 5 | a = "five.six" 6 | } 7 | res3 = "Type constraint `length >= 5` violated. Value: \"n.o\"" 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/constraints13.pcf: -------------------------------------------------------------------------------- 1 | res = "Expected value of type `constraints13#Bird`, but got type `Int`. Value: 1" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/constraints2.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | age = 30 3 | } 4 | res2 = "Type constraint `this > 0` violated. Value: -30" 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/constraints4.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | min = 4 3 | max = 6 4 | } 5 | res2 = "Type constraint `this >= min` violated. Value: 3" 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/constraints6.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | y = 99 3 | } 4 | res2 { 5 | y = -99 6 | } 7 | res3 = "Type constraint `abs < 100` violated. Value: -100" 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/constraints8.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | a = 6 3 | b = 11 4 | } 5 | res2 = "Type constraint `isGreaterThan(5)` violated. Value: 5" 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/constraintsLambdaThis.pcf: -------------------------------------------------------------------------------- 1 | res1 = "abc" 2 | res2 = "abc" 3 | res3 = "abc" 4 | res4 = "abc" 5 | res5 = "abc" 6 | res6 = "abc" 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/functions1.pcf: -------------------------------------------------------------------------------- 1 | b = 2 2 | res1 = 24 3 | res2 = 30 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/functions2.pcf: -------------------------------------------------------------------------------- 1 | a = 1 2 | res1 = 2 3 | res2 = 3 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/functions3.pcf: -------------------------------------------------------------------------------- 1 | res1 = 24 2 | res2 = 30 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/functions4.pcf: -------------------------------------------------------------------------------- 1 | res1 = 9 2 | res2 = 12 3 | res3 = 20 4 | res4 = 24 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/errors/baseModule.pcf: -------------------------------------------------------------------------------- 1 | x = 42 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/errors/const/constLocalAmendModule.pcf: -------------------------------------------------------------------------------- 1 | bird { 2 | name = "Birdy" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/errors/moduleAmendsVersionCheck2.err: -------------------------------------------------------------------------------- 1 | –– Pkl Error –– 2 | Module `moduleAmendsVersionCheck2` requires Pkl version 99.9.9 or higher, but your Pkl version is xxx. 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/errors/moduleExtendsVersionCheck2.err: -------------------------------------------------------------------------------- 1 | –– Pkl Error –– 2 | Module `moduleExtendsVersionCheck2` requires Pkl version 99.9.9 or higher, but your Pkl version is xxx. 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/errors/moduleWithHighMinPklVersion.err: -------------------------------------------------------------------------------- 1 | –– Pkl Error –– 2 | Module `moduleWithHighMinPklVersion` requires Pkl version 99.9.9 or higher, but your Pkl version is xxx. 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/errors/parser14.err: -------------------------------------------------------------------------------- 1 | –– Pkl Error –– 2 | Unexpected end of file. 3 | 4 | x | 5 | ^ 6 | at parser14 (file:///$snippetsDir/input/errors/parser14.pkl) 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/generators/forGeneratorNestedReference2.pcf: -------------------------------------------------------------------------------- 1 | bar {} 2 | res1 { 3 | new { 4 | 1 5 | } 6 | } 7 | res2 { 8 | new { 9 | 1 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/generators/predicateMembersThis.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | 99 3 | new { 4 | name = "Barn Owl" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/generators/propertyGenerators.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | x = "x" 3 | foo = "foo" 4 | y = "y" 5 | } 6 | res2 { 7 | name = "Pigeon" 8 | age = 21 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/generators/spreadSyntaxNullable.pcf: -------------------------------------------------------------------------------- 1 | a = null 2 | b {} 3 | c { 4 | 1 5 | 2 6 | 3 7 | } 8 | d { 9 | 1 10 | 2 11 | 3 12 | } 13 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/generators/spreadSyntaxTyped.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | name = "Barn Owl" 3 | } 4 | res2 = true 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/lambdas/equality.pcf: -------------------------------------------------------------------------------- 1 | res1 = false 2 | res2 = false 3 | res3 = false 4 | res4 = true 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/lambdas/inequality.pcf: -------------------------------------------------------------------------------- 1 | res1 = true 2 | res2 = true 3 | res3 = true 4 | res4 = false 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/lambdas/lambda1.pcf: -------------------------------------------------------------------------------- 1 | res1 = "abc" 2 | res2 = true 3 | res3 = false 4 | res4 = 6 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/lambdas/lambda2.pcf: -------------------------------------------------------------------------------- 1 | x = 2 2 | res1 = 5 3 | res2 = 6 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/listings/cacheStealing.pcf: -------------------------------------------------------------------------------- 1 | foo1 { 2 | "hello" 3 | } 4 | foo2 { 5 | "hello" 6 | } 7 | res1 = true 8 | res2 = true 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/listings/cacheStealingTypeCheck.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | "abcdx" 3 | "ax" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/listings/numberLiterals.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | 2 3 | -1 4 | 2 5 | -1 6 | 1 7 | 2.5 8 | 3 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/listings2/numberLiterals.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | 2 3 | -1 4 | 2 5 | -1 6 | 1 7 | 2.5 8 | 3 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/mappings/duplicateComputedKey.pcf: -------------------------------------------------------------------------------- 1 | res1 = "Duplicate definition of member `\"barn owl\"`." 2 | res2 = "Duplicate definition of member `\"barn owl\"`." 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/mappings2/duplicateComputedKey.pcf: -------------------------------------------------------------------------------- 1 | res1 = "Duplicate definition of member `\"barn owl\"`." 2 | res2 = "Duplicate definition of member `\"barn owl\"`." 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/methods/methodParameterConstraints1.pcf: -------------------------------------------------------------------------------- 1 | res0 = 3 2 | res1 = List("1", "2") 3 | res2 = Map("1", 1, "2", 2) 4 | res3 = "1" 5 | res4 = null 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/methods/methodParameterTypes3.pcf: -------------------------------------------------------------------------------- 1 | res1 = List("1", "2") 2 | res2 = Map("1", 1, "2", 2) 3 | res3 = "1" 4 | res4 = null 5 | res5 = 5 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/amendModule1.pcf: -------------------------------------------------------------------------------- 1 | name = "pigeon1" 2 | pigeon { 3 | name = "pigeon1" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/amendModule2.pcf: -------------------------------------------------------------------------------- 1 | name = "Pigeon" 2 | pigeon { 3 | name = "pigeon2" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/amendModule3.pcf: -------------------------------------------------------------------------------- 1 | name = "pigeon1" 2 | pigeon { 3 | name = "pigeon3" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/amendModule5.pcf: -------------------------------------------------------------------------------- 1 | name = "pigeon5" 2 | pigeon { 3 | name = "pigeon5" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/amendModule6.pcf: -------------------------------------------------------------------------------- 1 | pidgy = null 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/filename with spaces 2.pcf: -------------------------------------------------------------------------------- 1 | otherFile { 2 | foo = "bar" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/filename with spaces.pcf: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/library.pcf: -------------------------------------------------------------------------------- 1 | name = "Pigeon" 2 | pigeon { 3 | name = "Pigeon" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/lists.pcf: -------------------------------------------------------------------------------- 1 | x = List(List(1, 2), List(3, 4)) 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/objects.pcf: -------------------------------------------------------------------------------- 1 | x { 2 | y { 3 | z = 1 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/recursiveModule1.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | bar { 3 | foo { 4 | bar = null 5 | } 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/supercalls1.pcf: -------------------------------------------------------------------------------- 1 | prefix = "" 2 | sameProp = "a" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/supercalls2.pcf: -------------------------------------------------------------------------------- 1 | prefix = "" 2 | sameProp = "ab" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/closure.pcf: -------------------------------------------------------------------------------- 1 | res1 = 4 2 | res2 = 4 3 | res3 = 9 4 | res4 = 9 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/implicitReceiver1.pcf: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | x = 1 4 | bar { 5 | x = 2 6 | y = 5 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/implicitReceiver2.pcf: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | x = 1 4 | bar { 5 | y = 4 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/implicitReceiver3.pcf: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | bar { 4 | y = 3 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/super1.pcf: -------------------------------------------------------------------------------- 1 | parent { 2 | x = 1 3 | y = 2 4 | } 5 | child { 6 | x = 4 7 | y = 3 8 | } 9 | grandChild { 10 | x = 5 11 | y = 12 12 | } 13 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/super3.pcf: -------------------------------------------------------------------------------- 1 | parent { 2 | x = 3 3 | y = 2 4 | } 5 | child { 6 | x = 4 7 | y = 3 8 | } 9 | grandChild { 10 | x = 105 11 | y = 4 12 | } 13 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/super5.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | x = 42 3 | } 4 | res2 { 5 | x = 43 6 | } 7 | res3 { 8 | x = 44 9 | } 10 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/this1.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | bar = 4 3 | baz = 3 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/objects/this2.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | x = 42 3 | } 4 | res2 { 5 | x = 42 6 | y = 43 7 | } 8 | res3 { 9 | x = 42 10 | y = 43 11 | z = 44 12 | } 13 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/parser/lineCommentBetween.pcf: -------------------------------------------------------------------------------- 1 | foo = 1 2 | theComment = """ 3 | doc comment 4 | doc continuation 5 | """ 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/badLocalProject/dog.pcf: -------------------------------------------------------------------------------- 1 | name = "Dog" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/notAProject/@child/theChild.pcf: -------------------------------------------------------------------------------- 1 | res = 1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/notAProject/goodImport.pcf: -------------------------------------------------------------------------------- 1 | res { 2 | res = 1 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/project1/localProject.pcf: -------------------------------------------------------------------------------- 1 | res { 2 | bird { 3 | name = "Penguin" 4 | favoriteFruit { 5 | name = "Ice Fruit" 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/project2/penguin.pcf: -------------------------------------------------------------------------------- 1 | bird { 2 | name = "Penguin" 3 | favoriteFruit { 4 | name = "Ice Fruit" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/project4/main.pcf: -------------------------------------------------------------------------------- 1 | orange { 2 | name = "Orange" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/project5/main.pcf: -------------------------------------------------------------------------------- 1 | bird { 2 | name = "Finch" 3 | favoriteFruit { 4 | name = "Nuts" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/project6/children/a.pcf: -------------------------------------------------------------------------------- 1 | name = "a" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/project6/children/b.pcf: -------------------------------------------------------------------------------- 1 | name = "b" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/project6/children/c.pcf: -------------------------------------------------------------------------------- 1 | name = "c" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/currentModuleType1.pcf: -------------------------------------------------------------------------------- 1 | result = "ok" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/currentModuleType2.pcf: -------------------------------------------------------------------------------- 1 | result = "ok" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/currentModuleType3.pcf: -------------------------------------------------------------------------------- 1 | result = "ok" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/helpers/someModule.pcf: -------------------------------------------------------------------------------- 1 | foo = "foo" 2 | bar = 42 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/modifiersForTypes.pcf: -------------------------------------------------------------------------------- 1 | res1 = "Foo" 2 | res2 = "modifiersForTypes#Bar" 3 | res3 = Set() 4 | res4 = Set() 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/nothingWithUnions.pcf: -------------------------------------------------------------------------------- 1 | x = "foo" 2 | y = "foo" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/typeAliasConstraint1.pcf: -------------------------------------------------------------------------------- 1 | res1 = "a" 2 | res2 = List("a", "b") 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/typeAliasConstraint2.pcf: -------------------------------------------------------------------------------- 1 | foo = 1 2 | bar {} 3 | qux {} 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/META-INF/services/org.pkl.core.module.ModuleKeyFactory: -------------------------------------------------------------------------------- 1 | org.pkl.core.module.TestModuleKeyFactory 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/META-INF/services/org.pkl.core.resource.ResourceReader: -------------------------------------------------------------------------------- 1 | org.pkl.core.resource.TestResourceReader 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/EvaluatorTest.pkl: -------------------------------------------------------------------------------- 1 | name = "pigeon" 2 | age = 10 + 20 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/brokenModule1.pkl: -------------------------------------------------------------------------------- 1 | // module with syntax error 2 | 3 | x = {} -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/brokenModule2.pkl: -------------------------------------------------------------------------------- 1 | x: UnknownType -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/module/NamedModuleResolversTest.pkl: -------------------------------------------------------------------------------- 1 | x = 1 -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/module/test.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-core/src/test/resources/org/pkl/core/module/test.jar -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/module/testFactoryTest.pkl: -------------------------------------------------------------------------------- 1 | name = "Pigeon" 2 | age = 40 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/badProjectChecksum2/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@fruit/Fruit.pkl" 2 | 3 | res = Fruit 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project4/main.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-core/src/test/resources/org/pkl/core/project/project4/main.txt -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project4/module1.pkl: -------------------------------------------------------------------------------- 1 | module module1 2 | 3 | res = 1 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project4/module2.pkl: -------------------------------------------------------------------------------- 1 | module module2 2 | 3 | result = read("../project4/module1.pkl") 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project5/main.pkl: -------------------------------------------------------------------------------- 1 | import "@fruit/catalog/apple.pkl" 2 | import "@project4/module1.pkl" 3 | 4 | prop1 = apple 5 | prop2 = module1 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project6/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | dependencies { 4 | ["project7"] = import("../project7/PklProject") 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project6/globIntoDependency.pkl: -------------------------------------------------------------------------------- 1 | import* "@project7/*.pkl" as proj7Files 2 | 3 | res = proj7Files 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project6/globWithinDependency.pkl: -------------------------------------------------------------------------------- 1 | import "@project7/main.pkl" 2 | 3 | res = main.res 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project7/main.pkl: -------------------------------------------------------------------------------- 1 | res = import*("*.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/resource/resource.txt: -------------------------------------------------------------------------------- 1 | content -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/resource/resource1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-core/src/test/resources/org/pkl/core/resource/resource1.jar -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/resource/resource2.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-core/src/test/resources/org/pkl/core/resource/resource2.zip -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/snippets/imported.pkl: -------------------------------------------------------------------------------- 1 | foo = bar * 2 2 | bar = 3 3 | -------------------------------------------------------------------------------- /pkl-doc/src/main/resources/org/pkl/doc/images/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-doc/src/main/resources/org/pkl/doc/images/apple-touch-icon.png -------------------------------------------------------------------------------- /pkl-doc/src/main/resources/org/pkl/doc/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-doc/src/main/resources/org/pkl/doc/images/favicon-16x16.png -------------------------------------------------------------------------------- /pkl-doc/src/main/resources/org/pkl/doc/images/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-doc/src/main/resources/org/pkl/doc/images/favicon-32x32.png -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.externalpackage/external1.pkl: -------------------------------------------------------------------------------- 1 | module com.externalpackage.external1 2 | 3 | class MyClass 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.externalpackage/external2.pkl: -------------------------------------------------------------------------------- 1 | module com.externalpackage.external2 2 | 3 | class MyClass 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/Module Containing Spaces.pkl: -------------------------------------------------------------------------------- 1 | /// This is a module that has spaces in its name. 2 | module com.package1.`Module Containing Spaces` 3 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/baseModule.pkl: -------------------------------------------------------------------------------- 1 | open module com.package1.baseModule 2 | 3 | baseProperty = 42 4 | 5 | function baseMethod() = 42 6 | 7 | class BaseClass {} 8 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/docExampleSubject1.pkl: -------------------------------------------------------------------------------- 1 | module com.package1.docExampleSubject1 2 | 3 | x: Int 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/docExampleSubject2.pkl: -------------------------------------------------------------------------------- 1 | module com.package1.docExampleSubject2 2 | 3 | y: Int 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/moduleInfoAnnotation.pkl: -------------------------------------------------------------------------------- 1 | @ModuleInfo { minPklVersion = "0.10.0" } 2 | module com.package1.moduleInfoAnnotation 3 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/moduleTypes1.pkl: -------------------------------------------------------------------------------- 1 | module com.package1.moduleTypes1 2 | 3 | n: Int 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/shared.pkl: -------------------------------------------------------------------------------- 1 | module com.package1.shared 2 | 3 | class MyClass 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/unlistedClass.pkl: -------------------------------------------------------------------------------- 1 | module com.package1.unlistedClass 2 | 3 | myProperty = 42 4 | 5 | function myMethod() = 42 6 | 7 | @Unlisted 8 | class MyClass {} 9 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/unlistedMethod.pkl: -------------------------------------------------------------------------------- 1 | module com.package1.unlistedMethod 2 | 3 | myProperty = 42 4 | 5 | @Unlisted 6 | function myMethod() = 42 7 | 8 | class MyClass {} 9 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/unlistedModule.pkl: -------------------------------------------------------------------------------- 1 | @Unlisted 2 | module com.package1.unlistedModule 3 | 4 | myProperty = 42 5 | 6 | function myMethod() = 42 7 | 8 | class MyClass {} 9 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/com.package1/current: -------------------------------------------------------------------------------- 1 | 1.2.3 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/com.package2/current: -------------------------------------------------------------------------------- 1 | 4.5.6 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/Module Containing Spaces/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/baseModule/BaseClass.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classAnnotations/AnnotatedClass.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classAnnotations/AnnotatedClss.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classAnnotations/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/Comments1.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/Comments2.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/Comments3.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/Comments4.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/Comments5.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/Comments6.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/Comments7.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/Comments8.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classComments/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classInheritance/MyClass3.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classInheritance/MyClass4.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classInheritance/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classMethodComments/Comments.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classMethodComments/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classMethodModifiers/Modifiers.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classMethodModifiers/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classMethodTypeAnnotations/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classMethodTypeReferences/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyAnnotations/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyComments/Comments.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyComments/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyModifiers/Modifiers.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyModifiers/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyTypeAnnotations/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classPropertyTypeReferences/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classTypeConstraints/Person1.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classTypeConstraints/Person2.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classTypeConstraints/Project.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/classTypeConstraints/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/docExampleSubject1/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/docExampleSubject2/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/docLinks/Person.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/docLinks/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/methodAnnotations/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleComments/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleExtend/ExtendClass.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleExtend/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleInfoAnnotation/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleMethodCommentInheritance/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleMethodModifiers/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleMethodTypeAnnotations/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleMethodTypeReferences/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/modulePropertyAnnotations/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/modulePropertyCommentInheritance/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/modulePropertyModifiers/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/modulePropertyTypeAnnotations/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/modulePropertyTypeReferences/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/moduleTypes2/Foo.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/nested/nested2/nestedModule/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/shared/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/ternalPackage/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/typeAliasInheritance/Person2.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/typeAliasInheritance/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/typealiases2/Foo.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/typealiases2/Person.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/typealiases2/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/unionTypes/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/unlistedClass/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/unlistedMethod/MyClass.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/unlistedMethod/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/unlistedProperty/MyClass.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package1/1.2.3/unlistedProperty/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package2/4.5.6/Module3/Class3.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"4.5.6","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/com.package2/4.5.6/Module3/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"4.5.6","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/birds/0.5.0/Bird/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"0.5.0","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/birds/0.5.0/allFruit/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"0.5.0","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/birds/0.5.0/catalog/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"0.5.0","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/birds/0.5.0/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"0.5.0","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/deprecated/1.0.0/deprecated/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.0.0","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/deprecated/1.0.0/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.0.0","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/fruit/1.1.0/Fruit/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.1.0","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/data/localhost(3a)0/fruit/1.1.0/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.1.0","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/birds/current: -------------------------------------------------------------------------------- 1 | 0.5.0 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/deprecated/current: -------------------------------------------------------------------------------- 1 | 1.0.0 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/localhost(3a)0/fruit/current: -------------------------------------------------------------------------------- 1 | 1.1.0 -------------------------------------------------------------------------------- /pkl-gradle/src/main/java/org/pkl/gradle/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.gradle; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-gradle/src/main/java/org/pkl/gradle/spec/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.gradle.spec; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-gradle/src/main/java/org/pkl/gradle/task/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.gradle.task; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-gradle/src/main/java/org/pkl/gradle/utils/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.gradle.utils; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-parser/src/main/java/org/pkl/parser/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.parser; 3 | 4 | import org.pkl.parser.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-parser/src/main/java/org/pkl/parser/syntax/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.parser.syntax; 3 | 4 | import org.pkl.parser.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /pkl-server/src/test/files/SnippetTests/input/basic.pkl: -------------------------------------------------------------------------------- 1 | res1 = "bar" 2 | res2 = "" 3 | res3 = 1 4 | res4 = 2.3 5 | res5 = true 6 | res6 = false 7 | res7 = null 8 | -------------------------------------------------------------------------------- /pkl-server/src/test/files/SnippetTests/input/duration.pkl: -------------------------------------------------------------------------------- 1 | res1 = 1.ns 2 | res2 = 2.us 3 | res3 = 3.ms 4 | res4 = 4.s 5 | res5 = 5.min 6 | res6 = 6.h 7 | res7 = 7.d 8 | -------------------------------------------------------------------------------- /pkl-server/src/test/files/SnippetTests/input/intseq.pkl: -------------------------------------------------------------------------------- 1 | res1 = IntSeq(1, 3) 2 | res2 = IntSeq(1, 4).step(5) 3 | -------------------------------------------------------------------------------- /pkl-server/src/test/files/SnippetTests/input/pair.pkl: -------------------------------------------------------------------------------- 1 | res1 = Pair(1, 2) 2 | res2 = Pair("foo", "bar") 3 | -------------------------------------------------------------------------------- /pkl-server/src/test/files/SnippetTests/input/regex.pkl: -------------------------------------------------------------------------------- 1 | res1 = Regex("abc") 2 | res2 = Regex("") 3 | res3 = Regex("(?m)^abc$") 4 | -------------------------------------------------------------------------------- /pkl-server/src/test/files/SnippetTests/input/set.pkl: -------------------------------------------------------------------------------- 1 | res1: Set = Set(1, 3, 5, 7) 2 | res2: Set = Set() 3 | res3: Set = Set(1, true, "", null) 4 | -------------------------------------------------------------------------------- /pkl-server/src/test/resources/META-INF/services/org.junit.platform.engine.TestEngine: -------------------------------------------------------------------------------- 1 | org.pkl.server.BinaryEvaluatorSnippetTestEngine 2 | -------------------------------------------------------------------------------- /pkl-server/src/test/resources/org/pkl/server/resource1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/568c6ccbc28cde44c53cfe2b137efd6cd67e1195/pkl-server/src/test/resources/org/pkl/server/resource1.jar --------------------------------------------------------------------------------