├── .java-version ├── pkl-doc └── src │ ├── test │ └── files │ │ ├── DocMigratorTest │ │ ├── output │ │ │ ├── .pkldoc │ │ │ │ └── VERSION │ │ │ └── data │ │ │ │ ├── com.package1 │ │ │ │ └── 1.2.3 │ │ │ │ │ ├── index.json │ │ │ │ │ ├── docLinks │ │ │ │ │ ├── Person.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleTypes2 │ │ │ │ │ └── Foo.json │ │ │ │ │ ├── shared │ │ │ │ │ └── index.json │ │ │ │ │ ├── typealiases2 │ │ │ │ │ ├── Foo.json │ │ │ │ │ ├── Person.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── unionTypes │ │ │ │ │ └── index.json │ │ │ │ │ ├── baseModule │ │ │ │ │ └── BaseClass.json │ │ │ │ │ ├── classComments │ │ │ │ │ ├── index.json │ │ │ │ │ ├── Comments1.json │ │ │ │ │ ├── Comments2.json │ │ │ │ │ ├── Comments3.json │ │ │ │ │ ├── Comments4.json │ │ │ │ │ ├── Comments5.json │ │ │ │ │ ├── Comments6.json │ │ │ │ │ ├── Comments7.json │ │ │ │ │ └── Comments8.json │ │ │ │ │ ├── moduleComments │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleExtend │ │ │ │ │ ├── index.json │ │ │ │ │ └── ExtendClass.json │ │ │ │ │ ├── ternalPackage │ │ │ │ │ └── index.json │ │ │ │ │ ├── unlistedClass │ │ │ │ │ └── index.json │ │ │ │ │ ├── unlistedMethod │ │ │ │ │ ├── index.json │ │ │ │ │ └── MyClass.json │ │ │ │ │ ├── classAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ ├── AnnotatedClass.json │ │ │ │ │ ├── AnnotatedClss.json │ │ │ │ │ └── AnnotatedClssWithExpandableComment.json │ │ │ │ │ ├── classInheritance │ │ │ │ │ ├── MyClass3.json │ │ │ │ │ ├── MyClass4.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── classMethodComments │ │ │ │ │ ├── index.json │ │ │ │ │ └── Comments.json │ │ │ │ │ ├── classMethodModifiers │ │ │ │ │ ├── index.json │ │ │ │ │ └── Modifiers.json │ │ │ │ │ ├── classTypeConstraints │ │ │ │ │ ├── index.json │ │ │ │ │ ├── Person1.json │ │ │ │ │ ├── Person2.json │ │ │ │ │ └── Project.json │ │ │ │ │ ├── docExampleSubject1 │ │ │ │ │ └── index.json │ │ │ │ │ ├── docExampleSubject2 │ │ │ │ │ └── index.json │ │ │ │ │ ├── methodAnnotations │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleInfoAnnotation │ │ │ │ │ └── index.json │ │ │ │ │ ├── typeAliasInheritance │ │ │ │ │ ├── index.json │ │ │ │ │ └── Person2.json │ │ │ │ │ ├── unlistedProperty │ │ │ │ │ ├── MyClass.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── Module Containing Spaces │ │ │ │ │ └── index.json │ │ │ │ │ ├── classMethodTypeReferences │ │ │ │ │ ├── index.json │ │ │ │ │ └── TypeReferences.json │ │ │ │ │ ├── classPropertyAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ ├── UserDefinedAnnotation.json │ │ │ │ │ └── ClassWithAnnotatedProperty.json │ │ │ │ │ ├── classPropertyComments │ │ │ │ │ ├── Comments.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── classPropertyModifiers │ │ │ │ │ ├── index.json │ │ │ │ │ └── Modifiers.json │ │ │ │ │ ├── moduleMethodModifiers │ │ │ │ │ └── index.json │ │ │ │ │ ├── modulePropertyAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ ├── UserDefinedAnnotation1.json │ │ │ │ │ └── UserDefinedAnnotation2.json │ │ │ │ │ ├── modulePropertyModifiers │ │ │ │ │ └── index.json │ │ │ │ │ ├── classMethodTypeAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ └── TypeAnnotations.json │ │ │ │ │ ├── classPropertyTypeAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ └── TypeAnnotations.json │ │ │ │ │ ├── classPropertyTypeReferences │ │ │ │ │ ├── index.json │ │ │ │ │ └── TypeReferences.json │ │ │ │ │ ├── moduleMethodCommentInheritance │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleMethodTypeAnnotations │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleMethodTypeReferences │ │ │ │ │ └── index.json │ │ │ │ │ ├── modulePropertyTypeAnnotations │ │ │ │ │ └── index.json │ │ │ │ │ ├── modulePropertyTypeReferences │ │ │ │ │ └── index.json │ │ │ │ │ ├── nested │ │ │ │ │ └── nested2 │ │ │ │ │ │ └── nestedModule │ │ │ │ │ │ ├── MyClass.json │ │ │ │ │ │ └── index.json │ │ │ │ │ └── modulePropertyCommentInheritance │ │ │ │ │ └── index.json │ │ │ │ ├── com.package2 │ │ │ │ └── 4.5.6 │ │ │ │ │ └── Module3 │ │ │ │ │ ├── Class3.json │ │ │ │ │ └── index.json │ │ │ │ └── localhost(3a)0 │ │ │ │ ├── birds │ │ │ │ └── 0.5.0 │ │ │ │ │ ├── index.json │ │ │ │ │ ├── Bird │ │ │ │ │ └── index.json │ │ │ │ │ ├── catalog │ │ │ │ │ └── index.json │ │ │ │ │ └── allFruit │ │ │ │ │ └── index.json │ │ │ │ ├── fruit │ │ │ │ └── 1.1.0 │ │ │ │ │ ├── index.json │ │ │ │ │ └── Fruit │ │ │ │ │ └── index.json │ │ │ │ └── deprecated │ │ │ │ └── 1.0.0 │ │ │ │ ├── index.json │ │ │ │ └── deprecated │ │ │ │ └── index.json │ │ └── input │ │ │ └── version-1 │ │ │ └── data │ │ │ └── com.package1 │ │ │ └── 1.2.3 │ │ │ └── index.js │ │ └── DocGeneratorTest │ │ ├── output │ │ ├── run-1 │ │ │ ├── .pkldoc │ │ │ │ └── VERSION │ │ │ ├── com.package1 │ │ │ │ └── current │ │ │ ├── com.package2 │ │ │ │ └── current │ │ │ ├── localhost(3a)0 │ │ │ │ ├── birds │ │ │ │ │ └── current │ │ │ │ ├── fruit │ │ │ │ │ └── current │ │ │ │ └── deprecated │ │ │ │ │ └── current │ │ │ └── data │ │ │ │ ├── com.package1 │ │ │ │ └── 1.2.3 │ │ │ │ │ ├── index.json │ │ │ │ │ ├── docLinks │ │ │ │ │ ├── index.json │ │ │ │ │ └── Person.json │ │ │ │ │ ├── shared │ │ │ │ │ └── index.json │ │ │ │ │ ├── classComments │ │ │ │ │ ├── index.json │ │ │ │ │ ├── Comments1.json │ │ │ │ │ ├── Comments2.json │ │ │ │ │ ├── Comments3.json │ │ │ │ │ ├── Comments4.json │ │ │ │ │ ├── Comments5.json │ │ │ │ │ ├── Comments6.json │ │ │ │ │ ├── Comments7.json │ │ │ │ │ └── Comments8.json │ │ │ │ │ ├── moduleExtend │ │ │ │ │ ├── index.json │ │ │ │ │ └── ExtendClass.json │ │ │ │ │ ├── moduleTypes2 │ │ │ │ │ └── Foo.json │ │ │ │ │ ├── ternalPackage │ │ │ │ │ └── index.json │ │ │ │ │ ├── typealiases2 │ │ │ │ │ ├── Foo.json │ │ │ │ │ ├── Person.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── unionTypes │ │ │ │ │ └── index.json │ │ │ │ │ ├── unlistedClass │ │ │ │ │ └── index.json │ │ │ │ │ ├── baseModule │ │ │ │ │ └── BaseClass.json │ │ │ │ │ ├── classAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ ├── AnnotatedClass.json │ │ │ │ │ ├── AnnotatedClss.json │ │ │ │ │ └── AnnotatedClssWithExpandableComment.json │ │ │ │ │ ├── classInheritance │ │ │ │ │ ├── index.json │ │ │ │ │ ├── MyClass3.json │ │ │ │ │ └── MyClass4.json │ │ │ │ │ ├── docExampleSubject1 │ │ │ │ │ └── index.json │ │ │ │ │ ├── docExampleSubject2 │ │ │ │ │ └── index.json │ │ │ │ │ ├── methodAnnotations │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleComments │ │ │ │ │ └── index.json │ │ │ │ │ ├── unlistedMethod │ │ │ │ │ ├── MyClass.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── unlistedProperty │ │ │ │ │ ├── MyClass.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── classMethodComments │ │ │ │ │ ├── Comments.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── classMethodModifiers │ │ │ │ │ ├── index.json │ │ │ │ │ └── Modifiers.json │ │ │ │ │ ├── classPropertyComments │ │ │ │ │ ├── index.json │ │ │ │ │ └── Comments.json │ │ │ │ │ ├── classPropertyModifiers │ │ │ │ │ ├── index.json │ │ │ │ │ └── Modifiers.json │ │ │ │ │ ├── classTypeConstraints │ │ │ │ │ ├── Person1.json │ │ │ │ │ ├── Person2.json │ │ │ │ │ ├── Project.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleInfoAnnotation │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleMethodModifiers │ │ │ │ │ └── index.json │ │ │ │ │ ├── modulePropertyModifiers │ │ │ │ │ └── index.json │ │ │ │ │ ├── typeAliasInheritance │ │ │ │ │ ├── Person2.json │ │ │ │ │ └── index.json │ │ │ │ │ ├── Module Containing Spaces │ │ │ │ │ └── index.json │ │ │ │ │ ├── classMethodTypeAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ └── TypeAnnotations.json │ │ │ │ │ ├── classMethodTypeReferences │ │ │ │ │ ├── index.json │ │ │ │ │ └── TypeReferences.json │ │ │ │ │ ├── classPropertyAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ ├── UserDefinedAnnotation.json │ │ │ │ │ └── ClassWithAnnotatedProperty.json │ │ │ │ │ ├── classPropertyTypeAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ └── TypeAnnotations.json │ │ │ │ │ ├── classPropertyTypeReferences │ │ │ │ │ ├── index.json │ │ │ │ │ └── TypeReferences.json │ │ │ │ │ ├── moduleMethodTypeAnnotations │ │ │ │ │ └── index.json │ │ │ │ │ ├── moduleMethodTypeReferences │ │ │ │ │ └── index.json │ │ │ │ │ ├── modulePropertyAnnotations │ │ │ │ │ ├── index.json │ │ │ │ │ ├── UserDefinedAnnotation1.json │ │ │ │ │ └── UserDefinedAnnotation2.json │ │ │ │ │ ├── modulePropertyTypeReferences │ │ │ │ │ └── index.json │ │ │ │ │ ├── nested │ │ │ │ │ └── nested2 │ │ │ │ │ │ └── nestedModule │ │ │ │ │ │ ├── index.json │ │ │ │ │ │ └── MyClass.json │ │ │ │ │ ├── moduleMethodCommentInheritance │ │ │ │ │ └── index.json │ │ │ │ │ ├── modulePropertyCommentInheritance │ │ │ │ │ └── index.json │ │ │ │ │ └── modulePropertyTypeAnnotations │ │ │ │ │ └── index.json │ │ │ │ ├── com.package2 │ │ │ │ └── 4.5.6 │ │ │ │ │ └── Module3 │ │ │ │ │ ├── Class3.json │ │ │ │ │ ├── index.json │ │ │ │ │ └── Class Two {}.json │ │ │ │ └── localhost(3a)0 │ │ │ │ ├── birds │ │ │ │ └── 0.5.0 │ │ │ │ │ ├── index.json │ │ │ │ │ ├── Bird │ │ │ │ │ └── index.json │ │ │ │ │ ├── allFruit │ │ │ │ │ └── index.json │ │ │ │ │ └── catalog │ │ │ │ │ └── index.json │ │ │ │ ├── fruit │ │ │ │ └── 1.1.0 │ │ │ │ │ ├── index.json │ │ │ │ │ └── Fruit │ │ │ │ │ └── index.json │ │ │ │ └── deprecated │ │ │ │ └── 1.0.0 │ │ │ │ ├── index.json │ │ │ │ └── deprecated │ │ │ │ └── index.json │ │ └── run-2 │ │ │ ├── .pkldoc │ │ │ └── VERSION │ │ │ ├── com.package1 │ │ │ └── current │ │ │ ├── com.package2 │ │ │ └── current │ │ │ ├── localhost(3a)0 │ │ │ ├── birds │ │ │ │ └── current │ │ │ ├── fruit │ │ │ │ └── current │ │ │ └── deprecated │ │ │ │ └── current │ │ │ └── data │ │ │ ├── com.package1 │ │ │ └── 1.2.3 │ │ │ │ ├── index.json │ │ │ │ ├── docLinks │ │ │ │ ├── index.json │ │ │ │ └── Person.json │ │ │ │ ├── shared │ │ │ │ └── index.json │ │ │ │ ├── classComments │ │ │ │ ├── index.json │ │ │ │ ├── Comments1.json │ │ │ │ ├── Comments2.json │ │ │ │ ├── Comments3.json │ │ │ │ ├── Comments4.json │ │ │ │ ├── Comments5.json │ │ │ │ ├── Comments6.json │ │ │ │ ├── Comments7.json │ │ │ │ └── Comments8.json │ │ │ │ ├── moduleExtend │ │ │ │ ├── index.json │ │ │ │ └── ExtendClass.json │ │ │ │ ├── moduleTypes2 │ │ │ │ └── Foo.json │ │ │ │ ├── ternalPackage │ │ │ │ └── index.json │ │ │ │ ├── typealiases2 │ │ │ │ ├── Foo.json │ │ │ │ ├── Person.json │ │ │ │ └── index.json │ │ │ │ ├── unionTypes │ │ │ │ └── index.json │ │ │ │ ├── unlistedClass │ │ │ │ └── index.json │ │ │ │ ├── baseModule │ │ │ │ └── BaseClass.json │ │ │ │ ├── classAnnotations │ │ │ │ ├── index.json │ │ │ │ ├── AnnotatedClass.json │ │ │ │ ├── AnnotatedClss.json │ │ │ │ └── AnnotatedClssWithExpandableComment.json │ │ │ │ ├── classInheritance │ │ │ │ ├── index.json │ │ │ │ ├── MyClass3.json │ │ │ │ └── MyClass4.json │ │ │ │ ├── docExampleSubject1 │ │ │ │ └── index.json │ │ │ │ ├── docExampleSubject2 │ │ │ │ └── index.json │ │ │ │ ├── methodAnnotations │ │ │ │ └── index.json │ │ │ │ ├── moduleComments │ │ │ │ └── index.json │ │ │ │ ├── unlistedMethod │ │ │ │ ├── MyClass.json │ │ │ │ └── index.json │ │ │ │ ├── unlistedProperty │ │ │ │ ├── MyClass.json │ │ │ │ └── index.json │ │ │ │ ├── classMethodComments │ │ │ │ ├── Comments.json │ │ │ │ └── index.json │ │ │ │ ├── classMethodModifiers │ │ │ │ ├── index.json │ │ │ │ └── Modifiers.json │ │ │ │ ├── classPropertyComments │ │ │ │ ├── index.json │ │ │ │ └── Comments.json │ │ │ │ ├── classPropertyModifiers │ │ │ │ ├── index.json │ │ │ │ └── Modifiers.json │ │ │ │ ├── classTypeConstraints │ │ │ │ ├── Person1.json │ │ │ │ ├── Person2.json │ │ │ │ ├── Project.json │ │ │ │ └── index.json │ │ │ │ ├── moduleInfoAnnotation │ │ │ │ └── index.json │ │ │ │ ├── moduleMethodModifiers │ │ │ │ └── index.json │ │ │ │ ├── modulePropertyModifiers │ │ │ │ └── index.json │ │ │ │ ├── typeAliasInheritance │ │ │ │ ├── Person2.json │ │ │ │ └── index.json │ │ │ │ ├── Module Containing Spaces │ │ │ │ └── index.json │ │ │ │ ├── classMethodTypeAnnotations │ │ │ │ ├── index.json │ │ │ │ └── TypeAnnotations.json │ │ │ │ ├── classMethodTypeReferences │ │ │ │ ├── index.json │ │ │ │ └── TypeReferences.json │ │ │ │ ├── classPropertyAnnotations │ │ │ │ ├── index.json │ │ │ │ ├── UserDefinedAnnotation.json │ │ │ │ └── ClassWithAnnotatedProperty.json │ │ │ │ ├── classPropertyTypeAnnotations │ │ │ │ ├── index.json │ │ │ │ └── TypeAnnotations.json │ │ │ │ ├── classPropertyTypeReferences │ │ │ │ ├── index.json │ │ │ │ └── TypeReferences.json │ │ │ │ ├── moduleMethodTypeAnnotations │ │ │ │ └── index.json │ │ │ │ ├── moduleMethodTypeReferences │ │ │ │ └── index.json │ │ │ │ ├── modulePropertyAnnotations │ │ │ │ ├── index.json │ │ │ │ ├── UserDefinedAnnotation1.json │ │ │ │ └── UserDefinedAnnotation2.json │ │ │ │ ├── modulePropertyTypeReferences │ │ │ │ └── index.json │ │ │ │ ├── nested │ │ │ │ └── nested2 │ │ │ │ │ └── nestedModule │ │ │ │ │ ├── index.json │ │ │ │ │ └── MyClass.json │ │ │ │ ├── moduleMethodCommentInheritance │ │ │ │ └── index.json │ │ │ │ ├── modulePropertyCommentInheritance │ │ │ │ └── index.json │ │ │ │ └── modulePropertyTypeAnnotations │ │ │ │ └── index.json │ │ │ ├── com.package2 │ │ │ └── 4.5.6 │ │ │ │ └── Module3 │ │ │ │ ├── Class3.json │ │ │ │ ├── index.json │ │ │ │ └── Class Two {}.json │ │ │ └── localhost(3a)0 │ │ │ ├── birds │ │ │ ├── 0.5.0 │ │ │ │ ├── index.json │ │ │ │ ├── Bird │ │ │ │ │ └── index.json │ │ │ │ ├── allFruit │ │ │ │ │ └── index.json │ │ │ │ └── catalog │ │ │ │ │ └── index.json │ │ │ ├── 0.6.0 │ │ │ │ ├── index.json │ │ │ │ ├── Bird │ │ │ │ │ └── index.json │ │ │ │ ├── allFruit │ │ │ │ │ └── index.json │ │ │ │ └── catalog │ │ │ │ │ └── index.json │ │ │ └── 0.7.0 │ │ │ │ ├── index.json │ │ │ │ ├── Bird │ │ │ │ └── index.json │ │ │ │ ├── allFruit │ │ │ │ └── index.json │ │ │ │ └── catalog │ │ │ │ └── index.json │ │ │ ├── deprecated │ │ │ └── 1.0.0 │ │ │ │ ├── index.json │ │ │ │ └── deprecated │ │ │ │ └── index.json │ │ │ └── fruit │ │ │ └── 1.1.0 │ │ │ └── Fruit │ │ │ └── index.json │ │ └── input │ │ ├── com.package1 │ │ ├── shared.pkl │ │ ├── moduleTypes1.pkl │ │ ├── docExampleSubject1.pkl │ │ ├── docExampleSubject2.pkl │ │ └── moduleInfoAnnotation.pkl │ │ └── com.externalpackage │ │ ├── external1.pkl │ │ └── external2.pkl │ └── main │ └── resources │ └── org │ └── pkl │ └── doc │ └── images │ ├── favicon-16x16.png │ ├── favicon-32x32.png │ └── apple-touch-icon.png ├── pkl-core └── src │ ├── test │ ├── files │ │ └── LanguageSnippetTests │ │ │ ├── input │ │ │ ├── api │ │ │ │ ├── empty.txt │ │ │ │ ├── resource.txt │ │ │ │ ├── fox.txt │ │ │ │ ├── yamlParser1Yaml11.pkl │ │ │ │ ├── yamlParser1Yaml12.pkl │ │ │ │ ├── propertiesRenderer10.properties.pkl │ │ │ │ ├── moduleOutput.pkl │ │ │ │ ├── yamlRendererStringsYaml11.pkl │ │ │ │ └── yamlRendererStringsYaml12.pkl │ │ │ ├── basic │ │ │ │ ├── baseModule.pkl │ │ │ │ ├── globtest │ │ │ │ │ ├── file1.txt │ │ │ │ │ └── file2.txt │ │ │ │ ├── fixedProperty4.pkl │ │ │ │ ├── semicolon.pkl │ │ │ │ ├── imported.pkl │ │ │ │ ├── objectMemberInvalid2.pkl │ │ │ │ ├── fixedProperty6.pkl │ │ │ │ ├── objectMemberInvalid.pkl │ │ │ │ ├── fixedProperty5.pkl │ │ │ │ ├── exceptions.pkl │ │ │ │ ├── objectMemberInvalid3.pkl │ │ │ │ ├── import2.pkl │ │ │ │ ├── localProperty1.pkl │ │ │ │ ├── stringError1.pkl │ │ │ │ ├── fixedProperty2.pkl │ │ │ │ ├── typeResolution1.pkl │ │ │ │ ├── moduleRefLibrary.pkl │ │ │ │ ├── fixedProperty3.pkl │ │ │ │ └── localPropertyAmendInAmendingModule.pkl │ │ │ ├── errors │ │ │ │ ├── parser1.pkl │ │ │ │ ├── singleBacktick.pkl │ │ │ │ ├── undefinedOp1.pkl │ │ │ │ ├── underscore.pkl │ │ │ │ ├── outOfRange1.pkl │ │ │ │ ├── parser10.pkl │ │ │ │ ├── parser11.pkl │ │ │ │ ├── parser15.pkl │ │ │ │ ├── parser16.pkl │ │ │ │ ├── parser17.pkl │ │ │ │ ├── parser18.pkl │ │ │ │ ├── parser3.pkl │ │ │ │ ├── parser5.pkl │ │ │ │ ├── parser6.pkl │ │ │ │ ├── parser7.pkl │ │ │ │ ├── undefinedOp2.pkl │ │ │ │ ├── cannotInferParent2.pkl │ │ │ │ ├── const │ │ │ │ │ ├── constThis.pkl │ │ │ │ │ ├── constModule3.pkl │ │ │ │ │ ├── constObjectMember.pkl │ │ │ │ │ ├── constModule2.pkl │ │ │ │ │ ├── constAssign.pkl │ │ │ │ │ ├── constAmend.pkl │ │ │ │ │ ├── constLocalProperty.pkl │ │ │ │ │ ├── constOuter3.pkl │ │ │ │ │ ├── constClassBody.pkl │ │ │ │ │ └── constMethod.pkl │ │ │ │ ├── intrinsifiedTypeAlias4.pkl │ │ │ │ ├── invalidClassModifier.pkl │ │ │ │ ├── invalidOutput3.pkl │ │ │ │ ├── invalidTripleDotSyntax1.pkl │ │ │ │ ├── invalidUnicodeEscape.pkl │ │ │ │ ├── noDefault.pkl │ │ │ │ ├── notAUnionDefault.pkl │ │ │ │ ├── parser12.pkl │ │ │ │ ├── undefinedProperty2.pkl │ │ │ │ ├── intrinsifiedTypeAlias1.pkl │ │ │ │ ├── intrinsifiedTypeAlias2.pkl │ │ │ │ ├── invalidCharacterEscape.pkl │ │ │ │ ├── invalidClassModifier2.pkl │ │ │ │ ├── invalidOutput1.pkl │ │ │ │ ├── invalidPropertyModifier.pkl │ │ │ │ ├── invalidTripleDotSyntax2.pkl │ │ │ │ ├── missingLocalPropertyValue1.pkl │ │ │ │ ├── outOfRange2.pkl │ │ │ │ ├── parser2.pkl │ │ │ │ ├── parser4.pkl │ │ │ │ ├── extendExternalClass.pkl │ │ │ │ ├── intrinsifiedTypeAlias3.pkl │ │ │ │ ├── invalidMethodModifier.pkl │ │ │ │ ├── keywordNotAllowedHere1.pkl │ │ │ │ ├── multipleDefaults.pkl │ │ │ │ ├── outOfRange3.pkl │ │ │ │ ├── propertyNotFound2.pkl │ │ │ │ ├── supercalls.pkl │ │ │ │ ├── wrongNumberOfMapArguments.pkl │ │ │ │ ├── abstractOpenMember.pkl │ │ │ │ ├── cannotAssignToNothing.pkl │ │ │ │ ├── delimiters │ │ │ │ │ ├── missingSetSeparator.pkl │ │ │ │ │ ├── missingListSeparator.pkl │ │ │ │ │ ├── missingEmptyStringDelimiter.pkl │ │ │ │ │ ├── missingMapSeparator.pkl │ │ │ │ │ ├── missingObjectDelimiter.pkl │ │ │ │ │ ├── missingRawStringDelimiter.pkl │ │ │ │ │ ├── missingSubscriptDelimiter.pkl │ │ │ │ │ ├── missingContainerAmendDefDelimiter.pkl │ │ │ │ │ ├── missingListDelimiter.pkl │ │ │ │ │ ├── missingObjectAmendDefDelimiter.pkl │ │ │ │ │ ├── missingClassDelimiter.pkl │ │ │ │ │ ├── missingMapDelimiter.pkl │ │ │ │ │ ├── missingMethodArgumentListSeparator.pkl │ │ │ │ │ ├── missingRawMultiLineStringDelimiter.pkl │ │ │ │ │ ├── missingStringDelimiter.pkl │ │ │ │ │ ├── missingConstrainedTypeSeparator.pkl │ │ │ │ │ ├── missingObjectAmendExprDelimiter.pkl │ │ │ │ │ ├── missingIfExprDelimiter.pkl │ │ │ │ │ ├── missingMultiLineStringDelimiter.pkl │ │ │ │ │ ├── missingParenthesizedExprDelimiter.pkl │ │ │ │ │ ├── missingObjectAmendDefDelimiter2.pkl │ │ │ │ │ ├── missingFunction1ParameterListDelimiter.pkl │ │ │ │ │ ├── missingContainerAmendExprDelimiter.pkl │ │ │ │ │ ├── missingFunction0ParameterListDelimiter.pkl │ │ │ │ │ ├── missingFunctionType0ParameterListDelimiter.pkl │ │ │ │ │ ├── missingFunctionType1ParameterListDelimiter.pkl │ │ │ │ │ ├── unbalancedEntryBrackets1.pkl │ │ │ │ │ ├── unbalancedEntryBrackets2.pkl │ │ │ │ │ ├── missingEmptyMultiLineStringDelimiterAtEof.pkl │ │ │ │ │ ├── missingMethodArgumentListDelimiter.pkl │ │ │ │ │ ├── missingParenthesizedTypeDelimiter.pkl │ │ │ │ │ ├── unbalancedEntryBrackets3.pkl │ │ │ │ │ ├── unbalancedEntryBrackets4.pkl │ │ │ │ │ ├── missingFunctionParameterListSeparator.pkl │ │ │ │ │ ├── missingFunctionTypeNParameterListDelimiter.pkl │ │ │ │ │ ├── missingFunctionTypeParameterListSeparator.pkl │ │ │ │ │ ├── missingTypeConstraintListDelimiter.pkl │ │ │ │ │ ├── missingFunctionNParameterListDelimiter.pkl │ │ │ │ │ ├── missingMethodParameterListDelimiter.pkl │ │ │ │ │ └── missingMethodParameterListSeparator.pkl │ │ │ │ ├── invalidBytes1.pkl │ │ │ │ ├── invalidBytes3.pkl │ │ │ │ ├── invalidGlobRead1.pkl │ │ │ │ ├── invalidGlobRead2.pkl │ │ │ │ ├── invalidTypeName3.pkl │ │ │ │ ├── localHiddenMember.pkl │ │ │ │ ├── moduleAmendsSelf.pkl │ │ │ │ ├── shebang.pkl │ │ │ │ ├── undefinedOp3.pkl │ │ │ │ ├── underscoreLet.pkl │ │ │ │ ├── unterminatedUnicodeEscape.pkl │ │ │ │ ├── invalidBytes4.pkl │ │ │ │ ├── invalidFileUri1.pkl │ │ │ │ ├── invalidFileUri2.pkl │ │ │ │ ├── invalidFileUri3.pkl │ │ │ │ ├── invalidTypeAliasModifier.pkl │ │ │ │ ├── keywordNotAllowedHere3.pkl │ │ │ │ ├── localFixedMember.pkl │ │ │ │ ├── localFunctionWithTypeParameter.pkl │ │ │ │ ├── parser8.pkl │ │ │ │ ├── typeMismatchHelper.pkl │ │ │ │ ├── baseModule.pkl │ │ │ │ ├── functionNotFoundMaybeProperty.pkl │ │ │ │ ├── keywordNotAllowedHere2.pkl │ │ │ │ ├── parser9.pkl │ │ │ │ ├── duplicateTypeParameter.pkl │ │ │ │ ├── emptyParenthesizedTypeAnnotation.pkl │ │ │ │ ├── invalidGlobRead3.pkl │ │ │ │ ├── invalidObjectPropertyModifier.pkl │ │ │ │ ├── invalidOutput2.pkl │ │ │ │ ├── spreadSyntaxNullValue.pkl │ │ │ │ ├── userDefinedTypeParameter1.pkl │ │ │ │ ├── decodingException.pkl │ │ │ │ ├── invalidTypeName4.pkl │ │ │ │ ├── listingTypeCheckError1.pkl │ │ │ │ ├── moduleAmendsVersionCheck.pkl │ │ │ │ ├── moduleExtendsVersionCheck.pkl │ │ │ │ ├── forGeneratorCannotIterateOverThisValue.pkl │ │ │ │ ├── functionNotFoundInModule.pkl │ │ │ │ ├── functionNotFoundMaybeLambda.pkl │ │ │ │ ├── invalidBytes2.pkl │ │ │ │ ├── missingLocalPropertyValue2.pkl │ │ │ │ ├── refusingToLoadModule.pkl │ │ │ │ ├── invalidImportUri.pkl │ │ │ │ ├── invalidModuleModifier.pkl │ │ │ │ ├── userDefinedTypeParameter2.pkl │ │ │ │ ├── cannotFindStdLibModule.pkl │ │ │ │ ├── invalidGlobImport2.pkl │ │ │ │ ├── invalidGlobImport3.pkl │ │ │ │ ├── invalidTypeName1.pkl │ │ │ │ ├── letExpressionErrorTyped.pkl │ │ │ │ ├── mappingTypeCheckError1.pkl │ │ │ │ ├── parser14.pkl │ │ │ │ ├── undefinedProperty1.pkl │ │ │ │ ├── cannotAssignFixedProperty2.pkl │ │ │ │ ├── invalidGlobImport1.pkl │ │ │ │ ├── keywordNotAllowedHere4.pkl │ │ │ │ ├── letExpressionError1.pkl │ │ │ │ ├── letExpressionError2.pkl │ │ │ │ ├── listingTypeCheckError2.pkl │ │ │ │ ├── mappingTypeCheckError2.pkl │ │ │ │ ├── binopDifferentLine.pkl │ │ │ │ ├── forGeneratorCannotGenerateProperties.pkl │ │ │ │ ├── listingTypeCheckError3.pkl │ │ │ │ ├── mappingTypeCheckError8.pkl │ │ │ │ ├── moduleExtendsSelf.pkl │ │ │ │ ├── underscoreLambda.pkl │ │ │ │ ├── wrongForGeneratorType1.pkl │ │ │ │ ├── analyzeInvalidModuleUri.pkl │ │ │ │ ├── invalidGlobImport4.pkl │ │ │ │ ├── listingTypeCheckError7.pkl │ │ │ │ ├── moduleAmendsVersionCheck2.pkl │ │ │ │ ├── moduleExtendsVersionCheck2.pkl │ │ │ │ ├── objectCannotHavePredicateMember.pkl │ │ │ │ ├── propertyNotFound1.pkl │ │ │ │ ├── stackTraceWithQuotedMemberName.pkl │ │ │ │ ├── analyzeRelativeModuleUri.pkl │ │ │ │ ├── classExtendsSelf.pkl │ │ │ │ ├── forGeneratorCannotIterateOverTyped.pkl │ │ │ │ ├── functionNotFoundInClass.pkl │ │ │ │ ├── invalidClassMethodModifier.pkl │ │ │ │ ├── invalidClassPropertyModifier.pkl │ │ │ │ ├── invalidTypeName2.pkl │ │ │ │ ├── listingTypeCheckError5.pkl │ │ │ │ ├── nested1.pkl │ │ │ │ ├── wrongForGeneratorType2.pkl │ │ │ │ ├── cannotAmendFixedProperty2.pkl │ │ │ │ ├── cannotInstantiateAbstractModule.pkl │ │ │ │ ├── extendTypeAlias.pkl │ │ │ │ ├── forGeneratorCannotGenerateMethods.pkl │ │ │ │ ├── invalidGlobImport6.pkl │ │ │ │ ├── forGeneratorDuplicateParams1.pkl │ │ │ │ ├── invalidGlobImport5.pkl │ │ │ │ ├── invalidGlobImport7.pkl │ │ │ │ ├── listingTypeCheckError4.pkl │ │ │ │ ├── moduleImportVersionCheck.pkl │ │ │ │ ├── spreadSyntaxCannotSpreadListIntoMapping.pkl │ │ │ │ └── undefinedProperty8.pkl │ │ │ ├── projects │ │ │ │ ├── badPklProject2 │ │ │ │ │ ├── bug.pkl │ │ │ │ │ └── PklProject │ │ │ │ ├── badPklProject3 │ │ │ │ │ ├── bug.pkl │ │ │ │ │ └── PklProject │ │ │ │ ├── badPklProject1 │ │ │ │ │ ├── bug.pkl │ │ │ │ │ └── PklProject │ │ │ │ ├── project6 │ │ │ │ │ ├── children │ │ │ │ │ │ ├── a.pkl │ │ │ │ │ │ ├── b.pkl │ │ │ │ │ │ └── c.pkl │ │ │ │ │ ├── children.pkl │ │ │ │ │ └── PklProject.deps.json │ │ │ │ ├── badLocalProject │ │ │ │ │ └── dog.pkl │ │ │ │ ├── notAProject │ │ │ │ │ ├── @child │ │ │ │ │ │ └── theChild.pkl │ │ │ │ │ ├── goodImport.pkl │ │ │ │ │ └── badImport.error.pkl │ │ │ │ ├── badProjectDeps1 │ │ │ │ │ ├── PklProject.deps.json │ │ │ │ │ └── bug.pkl │ │ │ │ ├── project3 │ │ │ │ │ └── PklProject │ │ │ │ ├── project1 │ │ │ │ │ ├── badImport1.error.pkl │ │ │ │ │ ├── directPackageImport.error.pkl │ │ │ │ │ ├── badRead1.error.pkl │ │ │ │ │ ├── localProject.pkl │ │ │ │ │ └── localProjectRead.pkl │ │ │ │ ├── badProjectDeps3 │ │ │ │ │ ├── bug.pkl │ │ │ │ │ └── PklProject.deps.json │ │ │ │ ├── badProjectDeps6 │ │ │ │ │ └── bug.pkl │ │ │ │ ├── badProjectDeps2 │ │ │ │ │ └── bug.pkl │ │ │ │ ├── badProjectDeps4 │ │ │ │ │ └── bug.pkl │ │ │ │ ├── missingProjectDeps │ │ │ │ │ └── bug.pkl │ │ │ │ ├── project4 │ │ │ │ │ └── main.pkl │ │ │ │ ├── prettyTraceMode │ │ │ │ │ └── PklProject │ │ │ │ └── compactTraceMode │ │ │ │ │ └── PklProject │ │ │ ├── parser │ │ │ │ ├── invalidCharacter.pkl │ │ │ │ ├── amendsRequiresParens.pkl │ │ │ │ ├── typeAnnotationInAmends.pkl │ │ │ │ ├── constantStringInterpolation.pkl │ │ │ │ ├── spacesBetweenDocComments.pkl │ │ │ │ └── wrongDocComment.pkl │ │ │ ├── classes │ │ │ │ ├── externalClass.pkl │ │ │ │ ├── invalidInstantiation1.pkl │ │ │ │ ├── externalProperty.pkl │ │ │ │ ├── externalFunction.pkl │ │ │ │ ├── invalidInstantiation2.pkl │ │ │ │ ├── inheritanceError1.pkl │ │ │ │ ├── wrongType1.pkl │ │ │ │ └── unionTypesErrorSimple.pkl │ │ │ ├── modules │ │ │ │ ├── filename with spaces.pkl │ │ │ │ ├── invalidModule1.pkl │ │ │ │ ├── externalFunction.pkl │ │ │ │ ├── externalProperty.pkl │ │ │ │ ├── typedModuleProperties2.pkl │ │ │ │ ├── lists.pkl │ │ │ │ ├── objects.pkl │ │ │ │ ├── typedModuleProperties3.pkl │ │ │ │ ├── amendModule6.pkl │ │ │ │ ├── invalidExtend2.pkl │ │ │ │ ├── duplicateProperty2.pkl │ │ │ │ ├── filename with spaces 2.pkl │ │ │ │ ├── invalidAmend1.pkl │ │ │ │ ├── duplicateProperty1.pkl │ │ │ │ ├── invalidExtend1.pkl │ │ │ │ ├── invalidExtend3.pkl │ │ │ │ ├── invalidAmend2.pkl │ │ │ │ ├── invalidAmend5.pkl │ │ │ │ ├── invalidAmend6.pkl │ │ │ │ ├── invalidAmend3.pkl │ │ │ │ ├── invalidAmend4.pkl │ │ │ │ └── recursiveModule2.pkl │ │ │ ├── types │ │ │ │ ├── cyclicTypeAlias1.pkl │ │ │ │ ├── helpers │ │ │ │ │ └── someModule.pkl │ │ │ │ ├── currentModuleType3.pkl │ │ │ │ ├── nothingWithUnions.pkl │ │ │ │ ├── nothingType.pkl │ │ │ │ └── cyclicTypeAlias2.pkl │ │ │ ├── annotation │ │ │ │ ├── annotation6.pkl │ │ │ │ ├── annotation5.pkl │ │ │ │ ├── annotation2.pkl │ │ │ │ ├── annotation3.pkl │ │ │ │ └── annotation4.pkl │ │ │ ├── syntax │ │ │ │ └── shebang.pkl │ │ │ ├── objects │ │ │ │ ├── this1.pkl │ │ │ │ ├── implicitReceiver4.pkl │ │ │ │ ├── outer2.pkl │ │ │ │ ├── implicitReceiver3.pkl │ │ │ │ ├── implicitReceiver2.pkl │ │ │ │ ├── duplicateProperty.pkl │ │ │ │ └── implicitReceiver1.pkl │ │ │ ├── lambdas │ │ │ │ ├── tooManyLambdaParams.pkl │ │ │ │ ├── lambdaStackTrace1.pkl │ │ │ │ ├── lambdaStackTrace3.pkl │ │ │ │ ├── wrongArgumentListLength.pkl │ │ │ │ └── lambdaStackTrace2.pkl │ │ │ ├── generators │ │ │ │ ├── duplicateDefinition1.pkl │ │ │ │ ├── spreadSyntaxNoSpace.pkl │ │ │ │ ├── duplicateDefinition3.pkl │ │ │ │ ├── duplicateDefinition2.pkl │ │ │ │ └── spreadSyntaxNullable.pkl │ │ │ ├── packages │ │ │ │ ├── badRead1.error.pkl │ │ │ │ ├── badImport1.error.pkl │ │ │ │ ├── badImport7.error.pkl │ │ │ │ ├── badRead3.error.pkl │ │ │ │ ├── badImport3.error.pkl │ │ │ │ ├── badImport6.error.pkl │ │ │ │ ├── badRead2.error.pkl │ │ │ │ ├── badImport10.error.pkl │ │ │ │ ├── badImport11.error.pkl │ │ │ │ ├── badImport2.error.pkl │ │ │ │ ├── badImport9.error.pkl │ │ │ │ ├── badRead9.error.pkl │ │ │ │ ├── badImport8.error.pkl │ │ │ │ └── badRead8.error.pkl │ │ │ └── pklbinary │ │ │ │ └── pair.msgpack.yaml.pkl │ │ │ ├── input-helper │ │ │ ├── analyze │ │ │ │ ├── b.pkl │ │ │ │ ├── a.pkl │ │ │ │ ├── globImport.pkl │ │ │ │ ├── cyclicalA.pkl │ │ │ │ ├── cyclicalB.pkl │ │ │ │ ├── invalidGlob.pkl │ │ │ │ └── cannotFindModule.pkl │ │ │ ├── globtest │ │ │ │ ├── childlinked │ │ │ │ ├── module with [weird] ~!characters.pkl │ │ │ │ ├── moduleA.pkl │ │ │ │ ├── moduleB.pkl │ │ │ │ └── child │ │ │ │ │ └── moduleC.pkl │ │ │ ├── basic │ │ │ │ └── read │ │ │ │ │ ├── resource.txt │ │ │ │ │ ├── child │ │ │ │ │ ├── resource.txt │ │ │ │ │ └── module2.pkl │ │ │ │ │ └── module1.pkl │ │ │ ├── modules │ │ │ │ └── Birds2.pkl │ │ │ ├── api │ │ │ │ └── benchmark │ │ │ │ │ └── moduleToBenchmark.pkl │ │ │ └── types │ │ │ │ └── typeAliasConstraint2.pkl │ │ │ └── output │ │ │ ├── api │ │ │ ├── moduleOutput.pcf │ │ │ ├── moduleOutput2.pcf │ │ │ ├── yamlRenderer1.yml │ │ │ ├── propertiesRenderer1.properties │ │ │ ├── jsonRenderer1.json │ │ │ ├── jsonnetRenderer2.jsonnet │ │ │ └── jsonRenderer7.pcf │ │ │ ├── basic │ │ │ ├── baseModule.pcf │ │ │ ├── imported.pcf │ │ │ ├── indexExpressions.pcf │ │ │ ├── import2.pcf │ │ │ ├── moduleRefLibrary.pcf │ │ │ ├── semicolon.pcf │ │ │ ├── comments.pcf │ │ │ ├── fixedProperty2.pcf │ │ │ ├── typeResolution1.pcf │ │ │ ├── localProperty1.pcf │ │ │ ├── import1.pcf │ │ │ ├── import1b.pcf │ │ │ ├── parens.pcf │ │ │ ├── constModifier3.pcf │ │ │ ├── fixedProperty1.pcf │ │ │ ├── localMethodOverride1.pcf │ │ │ ├── localMethodOverride2.pcf │ │ │ ├── constModifier4.pcf │ │ │ ├── fixedProperty3.pcf │ │ │ └── minPklVersion.pcf │ │ │ ├── syntax │ │ │ └── shebang.pcf │ │ │ ├── errors │ │ │ ├── baseModule.pcf │ │ │ └── const │ │ │ │ └── constLocalAmendModule.pcf │ │ │ ├── modules │ │ │ ├── amendModule6.pcf │ │ │ ├── filename with spaces.pcf │ │ │ ├── lists.pcf │ │ │ ├── supercalls1.pcf │ │ │ ├── supercalls2.pcf │ │ │ ├── objects.pcf │ │ │ ├── filename with spaces 2.pcf │ │ │ ├── library.pcf │ │ │ ├── amendModule2.pcf │ │ │ ├── amendModule1.pcf │ │ │ ├── amendModule3.pcf │ │ │ ├── amendModule5.pcf │ │ │ └── recursiveModule1.pcf │ │ │ ├── types │ │ │ ├── currentModuleType1.pcf │ │ │ ├── currentModuleType2.pcf │ │ │ ├── currentModuleType3.pcf │ │ │ ├── nothingWithUnions.pcf │ │ │ ├── helpers │ │ │ │ └── someModule.pcf │ │ │ ├── typeAliasConstraint2.pcf │ │ │ ├── typeAliasConstraint1.pcf │ │ │ └── modifiersForTypes.pcf │ │ │ ├── annotation │ │ │ └── annotation1.pcf │ │ │ ├── classes │ │ │ ├── functions3.pcf │ │ │ ├── functions1.pcf │ │ │ ├── functions2.pcf │ │ │ ├── functions4.pcf │ │ │ ├── constraints13.pcf │ │ │ └── constraints2.pcf │ │ │ ├── projects │ │ │ ├── badLocalProject │ │ │ │ └── dog.pcf │ │ │ ├── project6 │ │ │ │ └── children │ │ │ │ │ ├── a.pcf │ │ │ │ │ ├── b.pcf │ │ │ │ │ └── c.pcf │ │ │ ├── notAProject │ │ │ │ ├── @child │ │ │ │ │ └── theChild.pcf │ │ │ │ └── goodImport.pcf │ │ │ ├── project4 │ │ │ │ └── main.pcf │ │ │ ├── project5 │ │ │ │ └── main.pcf │ │ │ └── project2 │ │ │ │ └── penguin.pcf │ │ │ ├── lambdas │ │ │ ├── lambda2.pcf │ │ │ ├── lambda1.pcf │ │ │ ├── equality.pcf │ │ │ └── inequality.pcf │ │ │ ├── objects │ │ │ ├── this1.pcf │ │ │ ├── closure.pcf │ │ │ ├── implicitReceiver3.pcf │ │ │ ├── implicitReceiver2.pcf │ │ │ ├── implicitReceiver1.pcf │ │ │ └── super5.pcf │ │ │ ├── parser │ │ │ ├── trailingCommas.pcf │ │ │ ├── constraintsTrailingComma.pcf │ │ │ ├── spread.pcf │ │ │ └── lineCommentBetween.pcf │ │ │ ├── listings │ │ │ ├── cacheStealingTypeCheck.pcf │ │ │ ├── numberLiterals.pcf │ │ │ └── cacheStealing.pcf │ │ │ ├── generators │ │ │ ├── spreadSyntaxTyped.pcf │ │ │ └── predicateMembersThis.pcf │ │ │ └── listings2 │ │ │ └── numberLiterals.pcf │ └── resources │ │ ├── org │ │ └── pkl │ │ │ └── core │ │ │ ├── project │ │ │ ├── project4 │ │ │ │ ├── main.txt │ │ │ │ ├── module1.pkl │ │ │ │ └── module2.pkl │ │ │ ├── project7 │ │ │ │ ├── moduleA.pkl │ │ │ │ ├── moduleB.pkl │ │ │ │ └── main.pkl │ │ │ ├── badProjectChecksum2 │ │ │ │ └── bug.pkl │ │ │ └── project6 │ │ │ │ ├── globWithinDependency.pkl │ │ │ │ ├── globIntoDependency.pkl │ │ │ │ └── PklProject │ │ │ ├── brokenModule2.pkl │ │ │ ├── resource │ │ │ ├── resource.txt │ │ │ ├── resource1.jar │ │ │ └── resource2.zip │ │ │ ├── module │ │ │ ├── NamedModuleResolversTest.pkl │ │ │ ├── testFactoryTest.pkl │ │ │ └── test.jar │ │ │ ├── snippets │ │ │ ├── name with [wierd]! chars~~.pkl │ │ │ └── imported.pkl │ │ │ ├── EvaluatorTest.pkl │ │ │ └── brokenModule1.pkl │ │ └── META-INF │ │ └── services │ │ ├── org.pkl.core.module.ModuleKeyFactory │ │ └── org.pkl.core.resource.ResourceReader │ ├── main │ ├── resources │ │ ├── META-INF │ │ │ └── services │ │ │ │ ├── java.nio.file.spi.FileTypeDetector │ │ │ │ └── org.pkl.executor.spi.v1.ExecutorSpi │ │ └── org │ │ │ └── pkl │ │ │ └── core │ │ │ └── Release.properties │ └── java │ │ └── org │ │ └── pkl │ │ └── core │ │ ├── package-info.java │ │ ├── ast │ │ ├── package-info.java │ │ ├── frame │ │ │ └── package-info.java │ │ ├── repl │ │ │ └── package-info.java │ │ ├── type │ │ │ └── package-info.java │ │ ├── builder │ │ │ └── package-info.java │ │ ├── lambda │ │ │ └── package-info.java │ │ └── member │ │ │ └── package-info.java │ │ ├── http │ │ └── package-info.java │ │ ├── repl │ │ └── package-info.java │ │ ├── module │ │ └── package-info.java │ │ ├── stdlib │ │ ├── package-info.java │ │ ├── base │ │ │ └── package-info.java │ │ ├── json │ │ │ └── package-info.java │ │ ├── math │ │ │ └── package-info.java │ │ ├── test │ │ │ └── package-info.java │ │ └── xml │ │ │ └── package-info.java │ │ ├── messaging │ │ └── package-info.java │ │ ├── packages │ │ └── package-info.java │ │ ├── project │ │ └── package-info.java │ │ ├── resource │ │ └── package-info.java │ │ ├── runtime │ │ └── package-info.java │ │ ├── settings │ │ └── package-info.java │ │ └── util │ │ └── yaml │ │ └── package-info.java │ └── generator │ └── resources │ └── META-INF │ └── services │ └── javax.annotation.processing.Processor ├── .github └── scripts │ └── cc_macos_amd64.sh ├── .git-blame-ignore-revs ├── .mailmap ├── pkl-commons-test └── src │ └── main │ └── files │ └── packages │ ├── badChecksum@1.0.0 │ └── package │ │ └── Bug.pkl │ ├── badMetadataJson@1.0.0 │ ├── package │ │ └── Bug.pkl │ └── badMetadataJson@1.0.0.json │ ├── badPackageZipUrl@1.0.0 │ └── package │ │ └── Bug.pkl │ ├── fruit@1.0.5 │ └── package │ │ ├── Fruit.pkl │ │ └── catalog │ │ └── apple.pkl │ ├── fruit@1.1.0 │ └── package │ │ ├── Fruit.pkl │ │ └── catalog │ │ ├── apple.pkl │ │ └── pineapple.pkl │ ├── packageContainingWildcardCharacters@1.0.0 │ └── package │ │ └── name with [wildcard]! characters~~.pkl │ ├── badImportsWithinPackage@1.0.0 │ └── package │ │ ├── invalidPath.pkl │ │ ├── invalidPathRead.pkl │ │ ├── unknownDependency.pkl │ │ └── unknownDependencyRead.pkl │ ├── birds@0.5.0 │ └── package │ │ ├── some │ │ └── dir │ │ │ └── Bird.pkl │ │ └── catalog.pkl │ ├── birds@0.6.0 │ └── package │ │ ├── some │ │ └── dir │ │ │ └── Bird.pkl │ │ └── catalog.pkl │ └── birds@0.7.0 │ └── package │ └── some │ └── dir │ └── Bird.pkl ├── docs ├── src │ └── test │ │ └── resources │ │ └── META-INF │ │ └── services │ │ └── org.junit.platform.engine.TestEngine ├── antora.yml └── modules │ ├── ROOT │ └── pages │ │ └── integrations.adoc │ ├── release-notes │ └── images │ │ ├── test_sample.png │ │ ├── error_sample.png │ │ └── pkl-cli-help-new.png │ └── pkl-doc │ └── assets │ └── images │ └── pkldoc-search.gif ├── gradle └── wrapper │ └── gradle-wrapper.jar ├── pkl-formatter └── src │ └── test │ ├── files │ └── FormatterSnippetTests │ │ ├── input │ │ └── modifiers.pkl │ │ └── output │ │ └── modifiers.pkl │ └── resources │ └── META-INF │ └── services │ └── org.junit.platform.engine.TestEngine ├── pkl-config-java └── src │ ├── test │ └── resources │ │ └── org │ │ └── pkl │ │ └── config │ │ └── java │ │ └── mapper │ │ ├── BytesToByteArrayTest.pkl │ │ └── PAnyToOptionalTest.pkl │ └── main │ └── java │ └── org │ └── pkl │ └── config │ └── java │ └── package-info.java ├── pkl-cli ├── README.adoc └── src │ └── test │ └── files │ └── projects │ └── project1 │ └── PklProject ├── pkl-gradle └── src │ └── main │ └── java │ └── org │ └── pkl │ └── gradle │ ├── package-info.java │ ├── spec │ └── package-info.java │ ├── task │ └── package-info.java │ └── utils │ └── package-info.java ├── pkl-parser └── src │ └── main │ └── java │ └── org │ └── pkl │ └── parser │ ├── package-info.java │ └── syntax │ └── package-info.java └── pkl-server └── src └── test └── resources └── org └── pkl └── server └── resource1.jar /.java-version: -------------------------------------------------------------------------------- 1 | 21 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/.pkldoc/VERSION: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/empty.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project4/main.txt: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/b.pkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/brokenModule2.pkl: -------------------------------------------------------------------------------- 1 | x: UnknownType -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project7/moduleA.pkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project7/moduleB.pkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/resource/resource.txt: -------------------------------------------------------------------------------- 1 | content -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/.pkldoc/VERSION: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/.pkldoc/VERSION: -------------------------------------------------------------------------------- 1 | 2 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/baseModule.pkl: -------------------------------------------------------------------------------- 1 | foo {} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser1.pkl: -------------------------------------------------------------------------------- 1 | res1 = 9# -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/current: -------------------------------------------------------------------------------- 1 | 1.2.3 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/current: -------------------------------------------------------------------------------- 1 | 4.5.6 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/current: -------------------------------------------------------------------------------- 1 | 1.2.3 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/current: -------------------------------------------------------------------------------- 1 | 4.5.6 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/singleBacktick.pkl: -------------------------------------------------------------------------------- 1 | ` 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/undefinedOp1.pkl: -------------------------------------------------------------------------------- 1 | res1 = !1 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/underscore.pkl: -------------------------------------------------------------------------------- 1 | _ = 0 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badPklProject2/bug.pkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badPklProject3/bug.pkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/moduleOutput.pcf: -------------------------------------------------------------------------------- 1 | some string -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/baseModule.pcf: -------------------------------------------------------------------------------- 1 | foo {} 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/syntax/shebang.pcf: -------------------------------------------------------------------------------- 1 | foo = 1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/module/NamedModuleResolversTest.pkl: -------------------------------------------------------------------------------- 1 | x = 1 -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/snippets/name with [wierd]! chars~~.pkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.github/scripts/cc_macos_amd64.sh: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env bash 2 | clang -arch x86_64 "$@" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/globtest/childlinked: -------------------------------------------------------------------------------- 1 | child/ -------------------------------------------------------------------------------- /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/errors/outOfRange1.pkl: -------------------------------------------------------------------------------- 1 | res1 = "abc"[4] -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser10.pkl: -------------------------------------------------------------------------------- 1 | res1 = new [ 42 } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/errors/baseModule.pcf: -------------------------------------------------------------------------------- 1 | x = 42 2 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/current: -------------------------------------------------------------------------------- 1 | 0.5.0 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/fruit/current: -------------------------------------------------------------------------------- 1 | 1.1.0 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/current: -------------------------------------------------------------------------------- 1 | 0.7.0 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/fruit/current: -------------------------------------------------------------------------------- 1 | 1.1.0 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/a.pkl: -------------------------------------------------------------------------------- 1 | import "b.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/api/resource.txt: -------------------------------------------------------------------------------- 1 | line1 2 | line2 3 | line3 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser11.pkl: -------------------------------------------------------------------------------- 1 | res1 = new { foo = 42 ] -------------------------------------------------------------------------------- /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/parser3.pkl: -------------------------------------------------------------------------------- 1 | res1 = """some string -------------------------------------------------------------------------------- /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/undefinedOp2.pkl: -------------------------------------------------------------------------------- 1 | res1 = "str" + 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/amendModule6.pcf: -------------------------------------------------------------------------------- 1 | pidgy = null 2 | -------------------------------------------------------------------------------- /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/snippets/imported.pkl: -------------------------------------------------------------------------------- 1 | foo = bar * 2 2 | bar = 3 3 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/deprecated/current: -------------------------------------------------------------------------------- 1 | 1.0.0 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/deprecated/current: -------------------------------------------------------------------------------- 1 | 1.0.0 -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/docLinks/Person.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/docLinks/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleTypes2/Foo.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/shared/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/typealiases2/Foo.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/unionTypes/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package2/4.5.6/Module3/Class3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package2/4.5.6/Module3/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/localhost(3a)0/birds/0.5.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/localhost(3a)0/fruit/1.1.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.git-blame-ignore-revs: -------------------------------------------------------------------------------- 1 | # Auto-format Kotlin code 2 | 816cd483c8adf4c04e14236c173a1dc6bd2579ea 3 | -------------------------------------------------------------------------------- /.mailmap: -------------------------------------------------------------------------------- 1 | Jen Basch <421772+HT154@users.noreply.github.com> 2 | Jen Basch 3 | -------------------------------------------------------------------------------- /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/badMetadataJson@1.0.0/package/Bug.pkl: -------------------------------------------------------------------------------- 1 | module bugs.Bug 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/basic/read/resource.txt: -------------------------------------------------------------------------------- 1 | resource 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/fixedProperty4.pkl: -------------------------------------------------------------------------------- 1 | fixed module foo 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/semicolon.pkl: -------------------------------------------------------------------------------- 1 | res1 = new { b = 1; d = 2 } -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotInferParent2.pkl: -------------------------------------------------------------------------------- 1 | foo = () -> new {} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/const/constThis.pkl: -------------------------------------------------------------------------------- 1 | const bar = this 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/intrinsifiedTypeAlias4.pkl: -------------------------------------------------------------------------------- 1 | res1: Uri = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidClassModifier.pkl: -------------------------------------------------------------------------------- 1 | hidden class Foo -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidOutput3.pkl: -------------------------------------------------------------------------------- 1 | output = null 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTripleDotSyntax1.pkl: -------------------------------------------------------------------------------- 1 | import ".../" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidUnicodeEscape.pkl: -------------------------------------------------------------------------------- 1 | res1 = "\u{12x}" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/noDefault.pkl: -------------------------------------------------------------------------------- 1 | foo: "foo"|"bar"|"baz" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/notAUnionDefault.pkl: -------------------------------------------------------------------------------- 1 | foo: *"foo" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/parser12.pkl: -------------------------------------------------------------------------------- 1 | res1 = new { foo = 42 }} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/undefinedProperty2.pkl: -------------------------------------------------------------------------------- 1 | name: String 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/parser/invalidCharacter.pkl: -------------------------------------------------------------------------------- 1 | foo = 1 ^ 1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badPklProject1/bug.pkl: -------------------------------------------------------------------------------- 1 | res = 1 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/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/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/resources/org/pkl/core/EvaluatorTest.pkl: -------------------------------------------------------------------------------- 1 | name = "pigeon" 2 | age = 10 + 20 3 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/docLinks/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/shared/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package2/4.5.6/Module3/Class3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package2/4.5.6/Module3/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/localhost(3a)0/birds/0.5.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/localhost(3a)0/fruit/1.1.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/docLinks/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/shared/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package2/4.5.6/Module3/Class3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package2/4.5.6/Module3/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.5.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.6.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.7.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/baseModule/BaseClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleExtend/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/ternalPackage/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/typealiases2/Person.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/typealiases2/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/unlistedClass/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/unlistedMethod/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/localhost(3a)0/birds/0.5.0/Bird/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/localhost(3a)0/birds/0.5.0/catalog/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/localhost(3a)0/deprecated/1.0.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/localhost(3a)0/fruit/1.1.0/Fruit/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /docs/src/test/resources/META-INF/services/org.junit.platform.engine.TestEngine: -------------------------------------------------------------------------------- 1 | DocSnippetTestsEngine -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badPackageZipUrl@1.0.0/package/Bug.pkl: -------------------------------------------------------------------------------- 1 | module bugs.Bug 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/globtest/module with [weird] ~!characters.pkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /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/basic/imported.pkl: -------------------------------------------------------------------------------- 1 | foo = bar * 2 2 | bar = 3 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/basic/objectMemberInvalid2.pkl: -------------------------------------------------------------------------------- 1 | res1 {foo=1bar=2} 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/classes/externalClass.pkl: -------------------------------------------------------------------------------- 1 | external class Foo 2 | -------------------------------------------------------------------------------- /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/invalidCharacterEscape.pkl: -------------------------------------------------------------------------------- 1 | res1 = "xxx\axxx" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidClassModifier2.pkl: -------------------------------------------------------------------------------- 1 | fixed class Foo 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidOutput1.pkl: -------------------------------------------------------------------------------- 1 | output: String = "abc" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidPropertyModifier.pkl: -------------------------------------------------------------------------------- 1 | open foo: Int = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidTripleDotSyntax2.pkl: -------------------------------------------------------------------------------- 1 | import "...abc" -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/missingLocalPropertyValue1.pkl: -------------------------------------------------------------------------------- 1 | local x: Int -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/outOfRange2.pkl: -------------------------------------------------------------------------------- 1 | res1 = "abc".substring(2, 1) -------------------------------------------------------------------------------- /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/parser4.pkl: -------------------------------------------------------------------------------- 1 | res1 = """some string 2 | res2 = 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/invalidModule1.pkl: -------------------------------------------------------------------------------- 1 | module "DoNotQuote" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/badLocalProject/dog.pkl: -------------------------------------------------------------------------------- 1 | name = "Dog" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/notAProject/@child/theChild.pkl: -------------------------------------------------------------------------------- 1 | res = 1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/types/cyclicTypeAlias1.pkl: -------------------------------------------------------------------------------- 1 | typealias Foo = List -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/annotation/annotation1.pcf: -------------------------------------------------------------------------------- 1 | someProperty = "hi" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/moduleOutput2.pcf: -------------------------------------------------------------------------------- 1 | { 2 | "res1": 42 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/api/yamlRenderer1.yml: -------------------------------------------------------------------------------- 1 | name: pigeon 2 | age: 30 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/classes/functions3.pcf: -------------------------------------------------------------------------------- 1 | res1 = 24 2 | res2 = 30 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/filename with spaces.pcf: -------------------------------------------------------------------------------- 1 | foo = "bar" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/badLocalProject/dog.pcf: -------------------------------------------------------------------------------- 1 | name = "Dog" 2 | -------------------------------------------------------------------------------- /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/resources/org/pkl/core/brokenModule1.pkl: -------------------------------------------------------------------------------- 1 | // module with syntax error 2 | 3 | x = {} -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/module/testFactoryTest.pkl: -------------------------------------------------------------------------------- 1 | name = "Pigeon" 2 | age = 40 3 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/docLinks/Person.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/moduleExtend/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/moduleTypes2/Foo.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/ternalPackage/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/typealiases2/Foo.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/typealiases2/Person.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/typealiases2/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/unionTypes/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/unlistedClass/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/localhost(3a)0/birds/0.5.0/Bird/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/localhost(3a)0/deprecated/1.0.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/localhost(3a)0/fruit/1.1.0/Fruit/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/docLinks/Person.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleExtend/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleTypes2/Foo.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/ternalPackage/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/typealiases2/Foo.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/typealiases2/Person.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/typealiases2/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/unionTypes/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/unlistedClass/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.5.0/Bird/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.6.0/Bird/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.7.0/Bird/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/deprecated/1.0.0/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/fruit/1.1.0/Fruit/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/Comments1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/Comments2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/Comments3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/Comments4.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/Comments5.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/Comments6.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/Comments7.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classComments/Comments8.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classInheritance/MyClass3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classInheritance/MyClass4.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classMethodComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classMethodModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classTypeConstraints/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/docExampleSubject1/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/docExampleSubject2/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/methodAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleExtend/ExtendClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleInfoAnnotation/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/typeAliasInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/unlistedMethod/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/unlistedProperty/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/unlistedProperty/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/localhost(3a)0/birds/0.5.0/allFruit/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /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/invalidGlob.pkl: -------------------------------------------------------------------------------- 1 | import* ".../**.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/basic/read/child/resource.txt: -------------------------------------------------------------------------------- 1 | child resource 2 | -------------------------------------------------------------------------------- /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/basic/fixedProperty6.pkl: -------------------------------------------------------------------------------- 1 | fixed function foo() = 5 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/extendExternalClass.pkl: -------------------------------------------------------------------------------- 1 | class Person extends Any -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/intrinsifiedTypeAlias3.pkl: -------------------------------------------------------------------------------- 1 | res1: NonNull = null -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidMethodModifier.pkl: -------------------------------------------------------------------------------- 1 | open function foo() = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/keywordNotAllowedHere1.pkl: -------------------------------------------------------------------------------- 1 | outer = 42 2 | res1 = 42 -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/multipleDefaults.pkl: -------------------------------------------------------------------------------- 1 | foo: *Int|*String|*"foo" 2 | -------------------------------------------------------------------------------- /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/propertyNotFound2.pkl: -------------------------------------------------------------------------------- 1 | res0 = Pair(1, 2).foo 2 | -------------------------------------------------------------------------------- /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/wrongNumberOfMapArguments.pkl: -------------------------------------------------------------------------------- 1 | res1 = Map(1, 2, 3) -------------------------------------------------------------------------------- /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/typedModuleProperties2.pkl: -------------------------------------------------------------------------------- 1 | res1: String = 42 2 | -------------------------------------------------------------------------------- /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/modules/lists.pcf: -------------------------------------------------------------------------------- 1 | x = List(List(1, 2), List(3, 4)) 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/projects/notAProject/@child/theChild.pcf: -------------------------------------------------------------------------------- 1 | res = 1 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/nothingWithUnions.pcf: -------------------------------------------------------------------------------- 1 | x = "foo" 2 | y = "foo" 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/resources/org/pkl/core/project/project4/module1.pkl: -------------------------------------------------------------------------------- 1 | module module1 2 | 3 | res = 1 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/baseModule/BaseClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/Comments1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/Comments2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/Comments3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/Comments4.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/Comments5.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/Comments6.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/Comments7.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classComments/Comments8.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/docExampleSubject1/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/docExampleSubject2/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/methodAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/moduleComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/moduleExtend/ExtendClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/unlistedMethod/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/unlistedMethod/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/unlistedProperty/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/unlistedProperty/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package2/4.5.6/Module3/Class Two {}.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/localhost(3a)0/birds/0.5.0/allFruit/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/localhost(3a)0/birds/0.5.0/catalog/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/baseModule/BaseClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/Comments1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/Comments2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/Comments3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/Comments4.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/Comments5.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/Comments6.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/Comments7.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classComments/Comments8.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/docExampleSubject1/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/docExampleSubject2/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/methodAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleExtend/ExtendClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/unlistedMethod/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/unlistedMethod/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/unlistedProperty/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/unlistedProperty/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package2/4.5.6/Module3/Class Two {}.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.5.0/allFruit/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.5.0/catalog/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.6.0/allFruit/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.6.0/catalog/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.7.0/allFruit/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/birds/0.7.0/catalog/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/Module Containing Spaces/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classAnnotations/AnnotatedClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classAnnotations/AnnotatedClss.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classMethodComments/Comments.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classMethodModifiers/Modifiers.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classMethodTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyComments/Comments.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classTypeConstraints/Person1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classTypeConstraints/Person2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classTypeConstraints/Project.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleMethodModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/modulePropertyAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/modulePropertyModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/typeAliasInheritance/Person2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/localhost(3a)0/deprecated/1.0.0/deprecated/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /pkl-commons-test/src/main/files/packages/badMetadataJson@1.0.0/badMetadataJson@1.0.0.json: -------------------------------------------------------------------------------- 1 | this is not json 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/globtest/child/moduleC.pkl: -------------------------------------------------------------------------------- 1 | name = "child/moduleC" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/annotation/annotation6.pkl: -------------------------------------------------------------------------------- 1 | @Int someProperty: String = "hi" -------------------------------------------------------------------------------- /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/classes/invalidInstantiation1.pkl: -------------------------------------------------------------------------------- 1 | res1 = new String {} 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/abstractOpenMember.pkl: -------------------------------------------------------------------------------- 1 | abstract open class Person 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/cannotAssignToNothing.pkl: -------------------------------------------------------------------------------- 1 | value: nothing = "foo" 2 | -------------------------------------------------------------------------------- /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/invalidBytes1.pkl: -------------------------------------------------------------------------------- 1 | foo = Bytes(0, 1, 2, 3, 0xffff) 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidBytes3.pkl: -------------------------------------------------------------------------------- 1 | bytes = Bytes(0, 1, 2, 3, 0xffff) 2 | -------------------------------------------------------------------------------- /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/invalidTypeName3.pkl: -------------------------------------------------------------------------------- 1 | class Foo 2 | bar = new Foo.Bar {} -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/localHiddenMember.pkl: -------------------------------------------------------------------------------- 1 | local hidden name: String 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleAmendsSelf.pkl: -------------------------------------------------------------------------------- 1 | amends "moduleAmendsSelf.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/shebang.pkl: -------------------------------------------------------------------------------- 1 | foo = 1 2 | #!/usr/bin/env pkl eval 3 | -------------------------------------------------------------------------------- /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/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/syntax/shebang.pkl: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env pkl eval 2 | foo = 1 3 | -------------------------------------------------------------------------------- /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/moduleRefLibrary.pcf: -------------------------------------------------------------------------------- 1 | a = 42 2 | aa = 42 3 | foo {} 4 | -------------------------------------------------------------------------------- /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/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/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/this1.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | bar = 4 3 | baz = 3 4 | } 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/helpers/someModule.pcf: -------------------------------------------------------------------------------- 1 | foo = "foo" 2 | bar = 42 3 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classInheritance/MyClass3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classInheritance/MyClass4.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classMethodComments/Comments.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classMethodComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classMethodModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classTypeConstraints/Person1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classTypeConstraints/Person2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classTypeConstraints/Project.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classTypeConstraints/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/moduleInfoAnnotation/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/moduleMethodModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/modulePropertyModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/typeAliasInheritance/Person2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/typeAliasInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/localhost(3a)0/deprecated/1.0.0/deprecated/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classInheritance/MyClass3.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classInheritance/MyClass4.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classMethodComments/Comments.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classMethodComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classMethodModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyComments/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classTypeConstraints/Person1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classTypeConstraints/Person2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classTypeConstraints/Project.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classTypeConstraints/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleInfoAnnotation/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleMethodModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/modulePropertyModifiers/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/typeAliasInheritance/Person2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/typeAliasInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/localhost(3a)0/deprecated/1.0.0/deprecated/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classMethodTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyModifiers/Modifiers.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleMethodCommentInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleMethodTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/moduleMethodTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/modulePropertyTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/modulePropertyTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/nested/nested2/nestedModule/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /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.1.0/package/Fruit.pkl: -------------------------------------------------------------------------------- 1 | module fruit.Fruit 2 | 3 | name: String 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input-helper/analyze/cannotFindModule.pkl: -------------------------------------------------------------------------------- 1 | import "bogusModule.pkl" 2 | -------------------------------------------------------------------------------- /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/invalidBytes4.pkl: -------------------------------------------------------------------------------- 1 | res = List(1, 2, 3, 0xffff).toBytes() 2 | -------------------------------------------------------------------------------- /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/invalidTypeAliasModifier.pkl: -------------------------------------------------------------------------------- 1 | abstract typealias Foo = Int -------------------------------------------------------------------------------- /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/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/parser8.pkl: -------------------------------------------------------------------------------- 1 | res1 = """ 2 | mismatched indent 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/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/typedModuleProperties3.pkl: -------------------------------------------------------------------------------- 1 | res1: String(!isEmpty) = "" 2 | -------------------------------------------------------------------------------- /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/projects/badProjectDeps1/PklProject.deps.json: -------------------------------------------------------------------------------- 1 | this is not json 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project3/PklProject: -------------------------------------------------------------------------------- 1 | amends "../project1/PklProject" 2 | -------------------------------------------------------------------------------- /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/output/api/propertiesRenderer1.properties: -------------------------------------------------------------------------------- 1 | name = pigeon 2 | age = 30 3 | -------------------------------------------------------------------------------- /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/fixedProperty2.pcf: -------------------------------------------------------------------------------- 1 | p { 2 | name = "The Person" 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/basic/typeResolution1.pcf: -------------------------------------------------------------------------------- 1 | p1 { 2 | name = "person1" 3 | } 4 | -------------------------------------------------------------------------------- /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/projects/notAProject/goodImport.pcf: -------------------------------------------------------------------------------- 1 | res { 2 | res = 1 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/types/typeAliasConstraint2.pcf: -------------------------------------------------------------------------------- 1 | foo = 1 2 | bar {} 3 | qux {} 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/Module Containing Spaces/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classAnnotations/AnnotatedClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classAnnotations/AnnotatedClss.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classMethodModifiers/Modifiers.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classMethodTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classMethodTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyComments/Comments.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyModifiers/Modifiers.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/moduleMethodTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/moduleMethodTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/modulePropertyAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/modulePropertyTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/nested/nested2/nestedModule/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/Module Containing Spaces/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classAnnotations/AnnotatedClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classAnnotations/AnnotatedClss.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classMethodModifiers/Modifiers.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classMethodTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classMethodTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyComments/Comments.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyModifiers/Modifiers.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleMethodTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleMethodTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/modulePropertyAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/modulePropertyTypeReferences/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/nested/nested2/nestedModule/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/modulePropertyCommentInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /docs/antora.yml: -------------------------------------------------------------------------------- 1 | name: main 2 | title: Main Project 3 | version: 0.31.0-dev 4 | prerelease: true 5 | nav: 6 | - nav.adoc 7 | -------------------------------------------------------------------------------- /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/test/files/LanguageSnippetTests/input/basic/fixedProperty5.pkl: -------------------------------------------------------------------------------- 1 | myObj = new { 2 | fixed bar = "bar" 3 | } 4 | -------------------------------------------------------------------------------- /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/errors/baseModule.pkl: -------------------------------------------------------------------------------- 1 | open module baseModule 2 | 3 | x: Int = 42 4 | -------------------------------------------------------------------------------- /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/missingMapSeparator.pkl: -------------------------------------------------------------------------------- 1 | map = Map(1, 2, 3 4, 5, 6) -------------------------------------------------------------------------------- /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/missingRawStringDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = #"abc 2 | 3 | -------------------------------------------------------------------------------- /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/functionNotFoundMaybeProperty.pkl: -------------------------------------------------------------------------------- 1 | prop = 42 2 | call = prop() 3 | -------------------------------------------------------------------------------- /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/parser9.pkl: -------------------------------------------------------------------------------- 1 | res1 = #""" 2 | mismatched indent 3 | """# -------------------------------------------------------------------------------- /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/modules/amendModule6.pkl: -------------------------------------------------------------------------------- 1 | amends ".../input-helper/modules/Birds.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/projects/badPklProject2/PklProject: -------------------------------------------------------------------------------- 1 | output { 2 | value = 5 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/projects/project6/children.pkl: -------------------------------------------------------------------------------- 1 | children = import*("children/*.pkl") 2 | -------------------------------------------------------------------------------- /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/parser/trailingCommas.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | ["hello"] = "world" 3 | } 4 | -------------------------------------------------------------------------------- /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/types/typeAliasConstraint1.pcf: -------------------------------------------------------------------------------- 1 | res1 = "a" 2 | res2 = List("a", "b") 3 | -------------------------------------------------------------------------------- /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/output/run-1/data/com.package1/1.2.3/moduleMethodCommentInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/modulePropertyCommentInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/modulePropertyTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/moduleMethodCommentInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/modulePropertyCommentInheritance/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/modulePropertyTypeAnnotations/index.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /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-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/classes/externalFunction.pkl: -------------------------------------------------------------------------------- 1 | class Foo { 2 | external function bar() 3 | } -------------------------------------------------------------------------------- /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/delimiters/missingContainerAmendDefDelimiter.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | x = 1 3 | -------------------------------------------------------------------------------- /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/missingObjectAmendDefDelimiter.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | x = 1 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/duplicateTypeParameter.pkl: -------------------------------------------------------------------------------- 1 | typealias MyType = List -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/emptyParenthesizedTypeAnnotation.pkl: -------------------------------------------------------------------------------- 1 | foo: Int|()|String = "foo" 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/invalidObjectPropertyModifier.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | abstract bar = 42 3 | } -------------------------------------------------------------------------------- /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/spreadSyntaxNullValue.pkl: -------------------------------------------------------------------------------- 1 | source = null 2 | 3 | res { ...source } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/userDefinedTypeParameter1.pkl: -------------------------------------------------------------------------------- 1 | class Box { 2 | element: A 3 | } -------------------------------------------------------------------------------- /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/directPackageImport.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("@birds") 2 | -------------------------------------------------------------------------------- /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/basic/localProperty1.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | bar { 3 | baz = 2 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /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/listings/cacheStealingTypeCheck.pcf: -------------------------------------------------------------------------------- 1 | foo { 2 | "abcdx" 3 | "ax" 4 | } 5 | -------------------------------------------------------------------------------- /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/parser/constraintsTrailingComma.pcf: -------------------------------------------------------------------------------- 1 | res1 = 6 2 | res2 = 6 3 | res3 = 6 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/project/badProjectChecksum2/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@fruit/Fruit.pkl" 2 | 3 | res = Fruit 4 | -------------------------------------------------------------------------------- /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/output/run-1/data/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/output/data/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-formatter/src/test/files/FormatterSnippetTests/input/modifiers.pkl: -------------------------------------------------------------------------------- 1 | hidden const foo = 1 2 | 3 | open local class Foo {} 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/packageContainingWildcardCharacters@1.0.0/package/name with [wildcard]! characters~~.pkl: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /pkl-config-java/src/test/resources/org/pkl/config/java/mapper/BytesToByteArrayTest.pkl: -------------------------------------------------------------------------------- 1 | ex1 = Bytes() 2 | ex2 = Bytes(1, 2, 3, 4) 3 | -------------------------------------------------------------------------------- /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/errors/const/constObjectMember.pkl: -------------------------------------------------------------------------------- 1 | foo = new Dyn { 2 | const foo = 10 3 | } 4 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/decodingException.pkl: -------------------------------------------------------------------------------- 1 | res = Bytes(0xc0, 0xc1).decodeToString("UTF-8") 2 | -------------------------------------------------------------------------------- /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/missingMapDelimiter.pkl: -------------------------------------------------------------------------------- 1 | map = Map("one", 1, "two", 2 2 | 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/missingRawMultiLineStringDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = #"""abc 2 | 3 | -------------------------------------------------------------------------------- /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/invalidTypeName4.pkl: -------------------------------------------------------------------------------- 1 | class Foo 2 | local Foo2 = Foo 3 | foo2 = new Foo2 {} -------------------------------------------------------------------------------- /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/moduleAmendsVersionCheck.pkl: -------------------------------------------------------------------------------- 1 | amends "moduleWithHighMinPklVersion.pkl" 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/moduleExtendsVersionCheck.pkl: -------------------------------------------------------------------------------- 1 | extends "moduleWithHighMinPklVersion.pkl" 2 | -------------------------------------------------------------------------------- /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/parser/typeAnnotationInAmends.pkl: -------------------------------------------------------------------------------- 1 | bird: Listing { 2 | "Crow" 3 | } 4 | -------------------------------------------------------------------------------- /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/badProjectDeps6/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@birds/Bird.pkl" 2 | 3 | bird: Bird 4 | -------------------------------------------------------------------------------- /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/project1/badRead1.error.pkl: -------------------------------------------------------------------------------- 1 | res = read("@doesnotexist/bar/baz.pkl") 2 | -------------------------------------------------------------------------------- /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/classes/functions4.pcf: -------------------------------------------------------------------------------- 1 | res1 = 9 2 | res2 = 12 3 | res3 = 20 4 | res4 = 24 5 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/output/modules/library.pcf: -------------------------------------------------------------------------------- 1 | name = "Pigeon" 2 | pigeon { 3 | name = "Pigeon" 4 | } 5 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-formatter/src/test/files/FormatterSnippetTests/output/modifiers.pkl: -------------------------------------------------------------------------------- 1 | hidden const foo = 1 2 | 3 | open local class Foo {} 4 | -------------------------------------------------------------------------------- /docs/modules/ROOT/pages/integrations.adoc: -------------------------------------------------------------------------------- 1 | = Framework Integrations 2 | 3 | * xref:spring:ROOT:index.adoc[Spring (Boot) Integration] 4 | -------------------------------------------------------------------------------- /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-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/errors/delimiters/missingConstrainedTypeSeparator.pkl: -------------------------------------------------------------------------------- 1 | x: Int(isPositive this > 10) 2 | -------------------------------------------------------------------------------- /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/forGeneratorCannotIterateOverThisValue.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | for (n in 5) { n } 3 | } -------------------------------------------------------------------------------- /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/functionNotFoundMaybeLambda.pkl: -------------------------------------------------------------------------------- 1 | listing = (it) -> it 2 | call = listing(10) 3 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/invalidBytes2.pkl: -------------------------------------------------------------------------------- 1 | local num = 0xfff 2 | 3 | res = Bytes(0, 1, 2, 3, num) 4 | -------------------------------------------------------------------------------- /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/refusingToLoadModule.pkl: -------------------------------------------------------------------------------- 1 | import "birds:///foo.pkl" 2 | 3 | output = foo 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/filename with spaces 2.pkl: -------------------------------------------------------------------------------- 1 | otherFile = import("filename with spaces.pkl") 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/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/parser/constantStringInterpolation.pkl: -------------------------------------------------------------------------------- 1 | import "\(name).pkl" 2 | 3 | name = "Bird" 4 | -------------------------------------------------------------------------------- /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/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/lambdas/lambda1.pcf: -------------------------------------------------------------------------------- 1 | res1 = "abc" 2 | res2 = true 3 | res3 = false 4 | res4 = 6 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/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/project6/globWithinDependency.pkl: -------------------------------------------------------------------------------- 1 | import "@project7/main.pkl" 2 | 3 | res = main.res 4 | -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-1/data/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/output/run-2/data/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.json: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /pkl-formatter/src/test/resources/META-INF/services/org.junit.platform.engine.TestEngine: -------------------------------------------------------------------------------- 1 | org.pkl.formatter.FormatterSnippetTestsEngine 2 | -------------------------------------------------------------------------------- /docs/modules/release-notes/images/test_sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/docs/modules/release-notes/images/test_sample.png -------------------------------------------------------------------------------- /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-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/fruit@1.1.0/package/catalog/pineapple.pkl: -------------------------------------------------------------------------------- 1 | amends "../Fruit.pkl" 2 | 3 | name = "Pineapple 🍍" 4 | -------------------------------------------------------------------------------- /pkl-core/src/generator/resources/META-INF/services/javax.annotation.processing.Processor: -------------------------------------------------------------------------------- 1 | org.pkl.core.generator.MemberRegistryGenerator 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/modules/Birds2.pkl: -------------------------------------------------------------------------------- 1 | module Birds2 2 | 3 | abstract class Bird 4 | 5 | bird: Bird 6 | -------------------------------------------------------------------------------- /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/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/missingMultiLineStringDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = """abc 2 | res2 = 42 3 | 4 | -------------------------------------------------------------------------------- /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/invalidImportUri.pkl: -------------------------------------------------------------------------------- 1 | import "file:///foo^bar.pkl" as _foo 2 | 3 | foo = _foo 4 | -------------------------------------------------------------------------------- /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/userDefinedTypeParameter2.pkl: -------------------------------------------------------------------------------- 1 | class DoIt { 2 | function doit(a: A): A = a 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/modules/duplicateProperty1.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:test" 2 | 3 | test = "test" // duplicate 4 | -------------------------------------------------------------------------------- /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/invalidExtend3.pkl: -------------------------------------------------------------------------------- 1 | // extend an amended module 2 | extends "amendModule1.pkl" 3 | -------------------------------------------------------------------------------- /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/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@bird/Bird.pkl" 2 | 3 | res: Bird = new {} 4 | -------------------------------------------------------------------------------- /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/missingProjectDeps/bug.pkl: -------------------------------------------------------------------------------- 1 | import "@birds/Bird.pkl" 2 | 3 | res = new Bird {} 4 | -------------------------------------------------------------------------------- /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/types/currentModuleType3.pkl: -------------------------------------------------------------------------------- 1 | extends "currentModuleType2.pkl" 2 | 3 | res1 = module 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/output/basic/constModifier3.pcf: -------------------------------------------------------------------------------- 1 | res = 25 2 | res2 = 26 3 | res3 = "hihihi" 4 | res4 = "hihihi" 5 | -------------------------------------------------------------------------------- /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/modules/amendModule1.pcf: -------------------------------------------------------------------------------- 1 | name = "pigeon1" 2 | pigeon { 3 | name = "pigeon1" 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/objects/implicitReceiver3.pcf: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | bar { 4 | y = 3 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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/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 | -------------------------------------------------------------------------------- /docs/modules/release-notes/images/error_sample.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/docs/modules/release-notes/images/error_sample.png -------------------------------------------------------------------------------- /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/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/errors/cannotFindStdLibModule.pkl: -------------------------------------------------------------------------------- 1 | import "pkl:nonExisting" 2 | 3 | res1 = nonExisting.bar 4 | -------------------------------------------------------------------------------- /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/delimiters/missingObjectAmendDefDelimiter2.pkl: -------------------------------------------------------------------------------- 1 | foo { 2 | bar { 3 | x = 1 4 | } 5 | -------------------------------------------------------------------------------- /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/invalidTypeName1.pkl: -------------------------------------------------------------------------------- 1 | local base = import("pkl:base") 2 | listing = new base.Listing {} 3 | -------------------------------------------------------------------------------- /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/mappingTypeCheckError1.pkl: -------------------------------------------------------------------------------- 1 | res = new Mapping { 2 | ["foo"] = 1 3 | } 4 | -------------------------------------------------------------------------------- /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/undefinedProperty1.pkl: -------------------------------------------------------------------------------- 1 | class Person { 2 | name: String 3 | } 4 | 5 | res1: Person 6 | -------------------------------------------------------------------------------- /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/objects/implicitReceiver3.pkl: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | bar { 4 | y = x + 3 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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/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/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 | -------------------------------------------------------------------------------- /docs/modules/pkl-doc/assets/images/pkldoc-search.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/docs/modules/pkl-doc/assets/images/pkldoc-search.gif -------------------------------------------------------------------------------- /docs/modules/release-notes/images/pkl-cli-help-new.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/docs/modules/release-notes/images/pkl-cli-help-new.png -------------------------------------------------------------------------------- /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/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/api/propertiesRenderer10.properties.pkl: -------------------------------------------------------------------------------- 1 | foo = new PropertiesRenderer {}.renderValue(List("bar")) 2 | -------------------------------------------------------------------------------- /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/errors/cannotAssignFixedProperty2.pkl: -------------------------------------------------------------------------------- 1 | amends "../basic/fixedProperty1.pkl" 2 | 3 | res1 = "bye" 4 | -------------------------------------------------------------------------------- /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/invalidGlobImport1.pkl: -------------------------------------------------------------------------------- 1 | import* "{foo{bar}}.pkl" as invalidGlob 2 | 3 | res = invalidGlob 4 | -------------------------------------------------------------------------------- /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/listingTypeCheckError2.pkl: -------------------------------------------------------------------------------- 1 | one = 1 2 | 3 | res = new Listing { 4 | one 5 | } 6 | -------------------------------------------------------------------------------- /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/generators/duplicateDefinition3.pkl: -------------------------------------------------------------------------------- 1 | x { 2 | when (true) { y = 1 } 3 | when (true) { y = 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/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/badImport7.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/badMetadataJson@1.0.0#/Bug.pkl") 2 | -------------------------------------------------------------------------------- /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/output/objects/implicitReceiver2.pcf: -------------------------------------------------------------------------------- 1 | x = 0 2 | foo { 3 | x = 1 4 | bar { 5 | y = 4 6 | } 7 | } 8 | -------------------------------------------------------------------------------- /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/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/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/api/moduleOutput.pkl: -------------------------------------------------------------------------------- 1 | amends "../snippetTest.pkl" 2 | 3 | output { 4 | text = "some string" 5 | } 6 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/errors/binopDifferentLine.pkl: -------------------------------------------------------------------------------- 1 | binop_result: Int = 1 2 | 3 | /*comment*/- 4 | 5 | /*comment*/ 1 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/delimiters/missingContainerAmendExprDelimiter.pkl: -------------------------------------------------------------------------------- 1 | foo = (bar) { 2 | x = 1 3 | 4 | class Foo 5 | -------------------------------------------------------------------------------- /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/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/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/forGeneratorCannotGenerateProperties.pkl: -------------------------------------------------------------------------------- 1 | res { 2 | for (n in List(1, 2, 3)) { foo = n } 3 | } 4 | -------------------------------------------------------------------------------- /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/mappingTypeCheckError8.pkl: -------------------------------------------------------------------------------- 1 | res: Mapping = new { 2 | ...Map("foo", 1) 3 | } 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/underscoreLambda.pkl: -------------------------------------------------------------------------------- 1 | local lambda = (_, x: Int) -> `_` + x 2 | 3 | res = lambda.apply(1, 1) 4 | -------------------------------------------------------------------------------- /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/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/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/lambdaStackTrace3.pkl: -------------------------------------------------------------------------------- 1 | hidden fs = List(() -> 42, () -> throw("ouch")) 2 | 3 | res1 = fs[1].apply() -------------------------------------------------------------------------------- /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/modules/invalidAmend2.pkl: -------------------------------------------------------------------------------- 1 | amends "library.pkl" 2 | 3 | // non-existing property 4 | other = "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/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/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/output/api/jsonnetRenderer2.jsonnet: -------------------------------------------------------------------------------- 1 | { hello: { world: [1, 'foo\nbar'] }, emptyArray: [], emptyObject: {} } 2 | -------------------------------------------------------------------------------- /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/resources/org/pkl/core/module/test.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/pkl-core/src/test/resources/org/pkl/core/module/test.jar -------------------------------------------------------------------------------- /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/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/repl/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.repl; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /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/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/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/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/stringError1.pkl: -------------------------------------------------------------------------------- 1 | singleLineStringCannotSpanLines = " 2 | How are you today? 3 | Are you hungry? 4 | " 5 | -------------------------------------------------------------------------------- /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/const/constAmend.pkl: -------------------------------------------------------------------------------- 1 | amends "../../basic/constModifier.pkl" 2 | 3 | constDyn { 4 | bar = 1 5 | } 6 | -------------------------------------------------------------------------------- /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/missingMethodArgumentListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1 = "abc".substring(0, 1 + "def" 2 | res2 = 42 3 | -------------------------------------------------------------------------------- /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/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/invalidGlobImport4.pkl: -------------------------------------------------------------------------------- 1 | import* ".../input-helper/**.pkl" as invalidGlob 2 | 3 | result = invalidGlob 4 | -------------------------------------------------------------------------------- /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/moduleAmendsVersionCheck2.pkl: -------------------------------------------------------------------------------- 1 | @ModuleInfo { minPklVersion = "99.9.9" } 2 | amends "baseModule.pkl" 3 | -------------------------------------------------------------------------------- /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/objectCannotHavePredicateMember.pkl: -------------------------------------------------------------------------------- 1 | class Foo 2 | 3 | res1 = new Foo { 4 | [[true]] = 42 5 | } 6 | -------------------------------------------------------------------------------- /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/stackTraceWithQuotedMemberName.pkl: -------------------------------------------------------------------------------- 1 | one { 2 | `two three` { 3 | four = throw("ouch") 4 | } 5 | } -------------------------------------------------------------------------------- /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/projects/project6/PklProject.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "resolvedDependencies": {} 4 | } 5 | -------------------------------------------------------------------------------- /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/generators/predicateMembersThis.pcf: -------------------------------------------------------------------------------- 1 | res1 { 2 | 99 3 | new { 4 | name = "Barn Owl" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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/parser/spread.pcf: -------------------------------------------------------------------------------- 1 | qux { 2 | new { 3 | bar = 1 4 | new { 5 | qux = 1 6 | } 7 | } 8 | } 9 | -------------------------------------------------------------------------------- /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-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-server/src/test/resources/org/pkl/server/resource1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/pkl-server/src/test/resources/org/pkl/server/resource1.jar -------------------------------------------------------------------------------- /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/stdlib/package-info.java: -------------------------------------------------------------------------------- 1 | @NonnullByDefault 2 | package org.pkl.core.stdlib; 3 | 4 | import org.pkl.core.util.NonnullByDefault; 5 | -------------------------------------------------------------------------------- /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/typeResolution1.pkl: -------------------------------------------------------------------------------- 1 | open module typeResolution1 2 | 3 | class Person1 { name = "person1" } 4 | 5 | p1: Person1 -------------------------------------------------------------------------------- /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/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/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/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/delimiters/missingFunctionParameterListSeparator.pkl: -------------------------------------------------------------------------------- 1 | f = (arg1, arg2 arg3) -> arg1 + arg2 + arg3 2 | res1 = 42 -------------------------------------------------------------------------------- /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/missingTypeConstraintListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | res1: String(!isEmpty, length < 5 = "abc" 2 | res2 = 42 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/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/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/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/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/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/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/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/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/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/badRead2.error.pkl: -------------------------------------------------------------------------------- 1 | // invalid semver 2 | res = read("package://localhost:0/foo@notAVersion#/bar.pkl") 3 | -------------------------------------------------------------------------------- /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/badProjectDeps3/PklProject.deps.json: -------------------------------------------------------------------------------- 1 | { 2 | "schemaVersion": 1, 3 | "resolvedDependencies": {} 4 | } 5 | -------------------------------------------------------------------------------- /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/project4/main.pkl: -------------------------------------------------------------------------------- 1 | import "@fruit/Fruit.pkl" 2 | 3 | orange = new Fruit { 4 | name = "Orange" 5 | } 6 | -------------------------------------------------------------------------------- /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/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/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/parser/lineCommentBetween.pcf: -------------------------------------------------------------------------------- 1 | foo = 1 2 | theComment = """ 3 | doc comment 4 | doc continuation 5 | """ 6 | -------------------------------------------------------------------------------- /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/types/modifiersForTypes.pcf: -------------------------------------------------------------------------------- 1 | res1 = "Foo" 2 | res2 = "modifiersForTypes#Bar" 3 | res3 = Set() 4 | res4 = Set() 5 | -------------------------------------------------------------------------------- /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/birds@0.6.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/birds@0.7.0/package/some/dir/Bird.pkl: -------------------------------------------------------------------------------- 1 | amends "..." 2 | 3 | name = "Bird" 4 | 5 | favoriteFruit { 6 | name = "Fruit" 7 | } 8 | -------------------------------------------------------------------------------- /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/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/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/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/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/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/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/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/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/errors/cannotAmendFixedProperty2.pkl: -------------------------------------------------------------------------------- 1 | amends "../basic/fixedProperty1.pkl" 2 | 3 | res3 { 4 | name = "Osprey" 5 | } 6 | -------------------------------------------------------------------------------- /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/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/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/delimiters/missingFunctionNParameterListDelimiter.pkl: -------------------------------------------------------------------------------- 1 | f = (arg1, arg2, arg3 -> arg1 + arg2 + arg3 2 | res1 = 42 3 | -------------------------------------------------------------------------------- /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/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/invalidGlobImport6.pkl: -------------------------------------------------------------------------------- 1 | // prevention of CVE-2010-2632 2 | res = import*("../*/../*/../*/../*/../*/../*/../*.") 3 | -------------------------------------------------------------------------------- /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/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/recursiveModule2.pkl: -------------------------------------------------------------------------------- 1 | import "recursiveModule1.pkl" 2 | 3 | class Bar { 4 | foo: recursiveModule1.Foo 5 | } 6 | -------------------------------------------------------------------------------- /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/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/badImport9.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/badImportsWithinPackage@1.0.0#/invalidPath.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/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/prettyTraceMode/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | evaluatorSettings { 4 | traceMode = "pretty" 5 | } 6 | -------------------------------------------------------------------------------- /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/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/minPklVersion.pcf: -------------------------------------------------------------------------------- 1 | examples { 2 | ["minPklVersion check"] { 3 | Class1 {} 4 | Class2 {} 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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/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/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/resources/org/pkl/core/resource/resource1.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/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/HEAD/pkl-core/src/test/resources/org/pkl/core/resource/resource2.zip -------------------------------------------------------------------------------- /pkl-doc/src/main/resources/org/pkl/doc/images/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/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/HEAD/pkl-doc/src/main/resources/org/pkl/doc/images/favicon-32x32.png -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocGeneratorTest/input/com.package1/moduleInfoAnnotation.pkl: -------------------------------------------------------------------------------- 1 | @ModuleInfo { minPklVersion = "0.10.0" } 2 | module com.package1.moduleInfoAnnotation 3 | -------------------------------------------------------------------------------- /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-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-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/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/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/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/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/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/localPropertyAmendInAmendingModule.pkl: -------------------------------------------------------------------------------- 1 | amends "baseModule.pkl" 2 | 3 | local object { 4 | property = "value" 5 | } 6 | -------------------------------------------------------------------------------- /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/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/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/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/invalidGlobImport7.pkl: -------------------------------------------------------------------------------- 1 | import* "../../input-helper/globtest/**.pkl" as globbedImports 2 | 3 | res: globbedImports 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/moduleImportVersionCheck.pkl: -------------------------------------------------------------------------------- 1 | import "moduleWithHighMinPklVersion.pkl" 2 | 3 | res1 = moduleWithHighMinPklVersion.x 4 | -------------------------------------------------------------------------------- /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/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/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/badRead8.error.pkl: -------------------------------------------------------------------------------- 1 | res = import("package://localhost:0/badImportsWithinPackage@1.0.0#/unknownDependencyRead.pkl") 2 | -------------------------------------------------------------------------------- /pkl-core/src/test/files/LanguageSnippetTests/input/pklbinary/pair.msgpack.yaml.pkl: -------------------------------------------------------------------------------- 1 | extends ".../pklbinaryTest.pkl" 2 | 3 | res1 = Pair(1, 2) 4 | res2 = Pair("foo", "bar") 5 | -------------------------------------------------------------------------------- /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/compactTraceMode/PklProject: -------------------------------------------------------------------------------- 1 | amends "pkl:Project" 2 | 3 | evaluatorSettings { 4 | traceMode = "compact" 5 | } 6 | -------------------------------------------------------------------------------- /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/output/projects/project2/penguin.pcf: -------------------------------------------------------------------------------- 1 | bird { 2 | name = "Penguin" 3 | favoriteFruit { 4 | name = "Ice Fruit" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /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-doc/src/main/resources/org/pkl/doc/images/apple-touch-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/apple/pkl/HEAD/pkl-doc/src/main/resources/org/pkl/doc/images/apple-touch-icon.png -------------------------------------------------------------------------------- /pkl-doc/src/test/files/DocMigratorTest/input/version-1/data/com.package1/1.2.3/index.js: -------------------------------------------------------------------------------- 1 | runtimeData.links('known-versions','[{"text":"1.2.3","classes":"current-version"}]'); 2 | -------------------------------------------------------------------------------- /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-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/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.6.0/package/catalog.pkl: -------------------------------------------------------------------------------- 1 | module birds.catalog 2 | 3 | catalog = import*("catalog/*.pkl") 4 | catalogFiles = read*("catalog/*.pkl") 5 | --------------------------------------------------------------------------------