From ef4989aa356b8e4ec598ef33ba61e8de64802390 Mon Sep 17 00:00:00 2001 From: Daniel Chao Date: Mon, 27 Oct 2025 16:00:48 -0700 Subject: [PATCH] Wrap comments in base.pkl to 100 chars (#1258) Also, strip line numbers from reflectedDeclaration.pcf --- .../output/api/reflectedDeclaration.pcf | 1205 +++++++++-------- .../output/errors/invalidOutput3.err | 4 +- .../pkl/core/LanguageSnippetTestsEngine.kt | 20 +- .../1.2.3/Module Containing Spaces/index.html | 16 +- .../1.2.3/baseModule/BaseClass.html | 3 +- .../com.package1/1.2.3/baseModule/index.html | 16 +- .../classAnnotations/AnnotatedClass.html | 3 +- .../1.2.3/classAnnotations/AnnotatedClss.html | 3 +- .../AnnotatedClssWithExpandableComment.html | 3 +- .../1.2.3/classAnnotations/index.html | 16 +- .../1.2.3/classComments/Comments1.html | 3 +- .../1.2.3/classComments/Comments2.html | 3 +- .../1.2.3/classComments/Comments3.html | 3 +- .../1.2.3/classComments/Comments4.html | 3 +- .../1.2.3/classComments/Comments5.html | 3 +- .../1.2.3/classComments/Comments6.html | 3 +- .../1.2.3/classComments/Comments7.html | 3 +- .../1.2.3/classComments/Comments8.html | 3 +- .../1.2.3/classComments/index.html | 16 +- .../1.2.3/classInheritance/MyClass1.html | 3 +- .../1.2.3/classInheritance/MyClass2.html | 3 +- .../1.2.3/classInheritance/MyClass3.html | 3 +- .../1.2.3/classInheritance/MyClass4.html | 3 +- .../1.2.3/classInheritance/index.html | 16 +- .../1.2.3/classMethodComments/Comments.html | 3 +- .../1.2.3/classMethodComments/index.html | 16 +- .../1.2.3/classMethodModifiers/Modifiers.html | 3 +- .../1.2.3/classMethodModifiers/index.html | 16 +- .../TypeAnnotations.html | 3 +- .../classMethodTypeAnnotations/index.html | 16 +- .../classMethodTypeReferences/MyClass.html | 3 +- .../TypeReferences.html | 3 +- .../classMethodTypeReferences/index.html | 16 +- .../ClassWithAnnotatedProperty.html | 3 +- .../UserDefinedAnnotation.html | 3 +- .../1.2.3/classPropertyAnnotations/index.html | 16 +- .../1.2.3/classPropertyComments/Comments.html | 3 +- .../1.2.3/classPropertyComments/index.html | 16 +- .../classPropertyModifiers/Modifiers.html | 3 +- .../1.2.3/classPropertyModifiers/index.html | 16 +- .../TypeAnnotations.html | 3 +- .../classPropertyTypeAnnotations/index.html | 16 +- .../classPropertyTypeReferences/MyClass.html | 3 +- .../TypeReferences.html | 3 +- .../classPropertyTypeReferences/index.html | 16 +- .../1.2.3/classTypeConstraints/Address.html | 3 +- .../1.2.3/classTypeConstraints/Person1.html | 3 +- .../1.2.3/classTypeConstraints/Person2.html | 3 +- .../1.2.3/classTypeConstraints/Project.html | 3 +- .../1.2.3/classTypeConstraints/index.html | 16 +- .../1.2.3/docExampleSubject1/index.html | 16 +- .../1.2.3/docExampleSubject2/index.html | 16 +- .../com.package1/1.2.3/docLinks/Person.html | 3 +- .../com.package1/1.2.3/docLinks/index.html | 16 +- .../1.2.3/methodAnnotations/index.html | 16 +- .../1.2.3/moduleComments/index.html | 16 +- .../1.2.3/moduleExtend/ExtendClass.html | 3 +- .../1.2.3/moduleExtend/index.html | 16 +- .../1.2.3/moduleInfoAnnotation/index.html | 16 +- .../moduleMethodCommentInheritance/index.html | 16 +- .../1.2.3/moduleMethodComments/index.html | 16 +- .../1.2.3/moduleMethodModifiers/index.html | 16 +- .../moduleMethodTypeAnnotations/index.html | 16 +- .../moduleMethodTypeReferences/MyClass.html | 3 +- .../moduleMethodTypeReferences/index.html | 16 +- .../UserDefinedAnnotation.html | 3 +- .../UserDefinedAnnotation1.html | 3 +- .../UserDefinedAnnotation2.html | 3 +- .../modulePropertyAnnotations/index.html | 16 +- .../index.html | 16 +- .../1.2.3/modulePropertyComments/index.html | 16 +- .../1.2.3/modulePropertyModifiers/index.html | 16 +- .../modulePropertyTypeAnnotations/index.html | 16 +- .../modulePropertyTypeReferences/MyClass.html | 3 +- .../modulePropertyTypeReferences/index.html | 16 +- .../1.2.3/moduleTypes1/index.html | 16 +- .../com.package1/1.2.3/moduleTypes2/Foo.html | 3 +- .../1.2.3/moduleTypes2/index.html | 16 +- .../nested/nested2/nestedModule/MyClass.html | 3 +- .../nested/nested2/nestedModule/index.html | 16 +- .../com.package1/1.2.3/shared/MyClass.html | 3 +- .../com.package1/1.2.3/shared/index.html | 16 +- .../1.2.3/ternalPackage/index.html | 16 +- .../1.2.3/typeAliasInheritance/Person2.html | 3 +- .../1.2.3/typeAliasInheritance/index.html | 16 +- .../1.2.3/typealiases/Person.html | 3 +- .../com.package1/1.2.3/typealiases/index.html | 16 +- .../com.package1/1.2.3/typealiases2/Foo.html | 3 +- .../1.2.3/typealiases2/Person.html | 3 +- .../1.2.3/typealiases2/index.html | 16 +- .../com.package1/1.2.3/unionTypes/index.html | 16 +- .../1.2.3/unlistedClass/index.html | 16 +- .../1.2.3/unlistedMethod/MyClass.html | 3 +- .../1.2.3/unlistedMethod/index.html | 16 +- .../1.2.3/unlistedProperty/MyClass.html | 3 +- .../1.2.3/unlistedProperty/index.html | 16 +- .../4.5.6/Module3/Class Two {}.html | 3 +- .../com.package2/4.5.6/Module3/Class3.html | 3 +- .../com.package2/4.5.6/Module3/index.html | 16 +- .../birds/0.5.0/Bird/index.html | 16 +- .../birds/0.5.0/allFruit/index.html | 16 +- .../birds/0.5.0/catalog/index.html | 16 +- .../deprecated/1.0.0/deprecated/index.html | 16 +- .../fruit/1.1.0/Fruit/index.html | 16 +- .../1.2.3/Module Containing Spaces/index.html | 16 +- .../1.2.3/baseModule/BaseClass.html | 3 +- .../com.package1/1.2.3/baseModule/index.html | 16 +- .../classAnnotations/AnnotatedClass.html | 3 +- .../1.2.3/classAnnotations/AnnotatedClss.html | 3 +- .../AnnotatedClssWithExpandableComment.html | 3 +- .../1.2.3/classAnnotations/index.html | 16 +- .../1.2.3/classComments/Comments1.html | 3 +- .../1.2.3/classComments/Comments2.html | 3 +- .../1.2.3/classComments/Comments3.html | 3 +- .../1.2.3/classComments/Comments4.html | 3 +- .../1.2.3/classComments/Comments5.html | 3 +- .../1.2.3/classComments/Comments6.html | 3 +- .../1.2.3/classComments/Comments7.html | 3 +- .../1.2.3/classComments/Comments8.html | 3 +- .../1.2.3/classComments/index.html | 16 +- .../1.2.3/classInheritance/MyClass1.html | 3 +- .../1.2.3/classInheritance/MyClass2.html | 3 +- .../1.2.3/classInheritance/MyClass3.html | 3 +- .../1.2.3/classInheritance/MyClass4.html | 3 +- .../1.2.3/classInheritance/index.html | 16 +- .../1.2.3/classMethodComments/Comments.html | 3 +- .../1.2.3/classMethodComments/index.html | 16 +- .../1.2.3/classMethodModifiers/Modifiers.html | 3 +- .../1.2.3/classMethodModifiers/index.html | 16 +- .../TypeAnnotations.html | 3 +- .../classMethodTypeAnnotations/index.html | 16 +- .../classMethodTypeReferences/MyClass.html | 3 +- .../TypeReferences.html | 3 +- .../classMethodTypeReferences/index.html | 16 +- .../ClassWithAnnotatedProperty.html | 3 +- .../UserDefinedAnnotation.html | 3 +- .../1.2.3/classPropertyAnnotations/index.html | 16 +- .../1.2.3/classPropertyComments/Comments.html | 3 +- .../1.2.3/classPropertyComments/index.html | 16 +- .../classPropertyModifiers/Modifiers.html | 3 +- .../1.2.3/classPropertyModifiers/index.html | 16 +- .../TypeAnnotations.html | 3 +- .../classPropertyTypeAnnotations/index.html | 16 +- .../classPropertyTypeReferences/MyClass.html | 3 +- .../TypeReferences.html | 3 +- .../classPropertyTypeReferences/index.html | 16 +- .../1.2.3/classTypeConstraints/Address.html | 3 +- .../1.2.3/classTypeConstraints/Person1.html | 3 +- .../1.2.3/classTypeConstraints/Person2.html | 3 +- .../1.2.3/classTypeConstraints/Project.html | 3 +- .../1.2.3/classTypeConstraints/index.html | 16 +- .../1.2.3/docExampleSubject1/index.html | 16 +- .../1.2.3/docExampleSubject2/index.html | 16 +- .../com.package1/1.2.3/docLinks/Person.html | 3 +- .../com.package1/1.2.3/docLinks/index.html | 16 +- .../1.2.3/methodAnnotations/index.html | 16 +- .../1.2.3/moduleComments/index.html | 16 +- .../1.2.3/moduleExtend/ExtendClass.html | 3 +- .../1.2.3/moduleExtend/index.html | 16 +- .../1.2.3/moduleInfoAnnotation/index.html | 16 +- .../moduleMethodCommentInheritance/index.html | 16 +- .../1.2.3/moduleMethodComments/index.html | 16 +- .../1.2.3/moduleMethodModifiers/index.html | 16 +- .../moduleMethodTypeAnnotations/index.html | 16 +- .../moduleMethodTypeReferences/MyClass.html | 3 +- .../moduleMethodTypeReferences/index.html | 16 +- .../UserDefinedAnnotation.html | 3 +- .../UserDefinedAnnotation1.html | 3 +- .../UserDefinedAnnotation2.html | 3 +- .../modulePropertyAnnotations/index.html | 16 +- .../index.html | 16 +- .../1.2.3/modulePropertyComments/index.html | 16 +- .../1.2.3/modulePropertyModifiers/index.html | 16 +- .../modulePropertyTypeAnnotations/index.html | 16 +- .../modulePropertyTypeReferences/MyClass.html | 3 +- .../modulePropertyTypeReferences/index.html | 16 +- .../1.2.3/moduleTypes1/index.html | 16 +- .../com.package1/1.2.3/moduleTypes2/Foo.html | 3 +- .../1.2.3/moduleTypes2/index.html | 16 +- .../nested/nested2/nestedModule/MyClass.html | 3 +- .../nested/nested2/nestedModule/index.html | 16 +- .../com.package1/1.2.3/shared/MyClass.html | 3 +- .../com.package1/1.2.3/shared/index.html | 16 +- .../1.2.3/ternalPackage/index.html | 16 +- .../1.2.3/typeAliasInheritance/Person2.html | 3 +- .../1.2.3/typeAliasInheritance/index.html | 16 +- .../1.2.3/typealiases/Person.html | 3 +- .../com.package1/1.2.3/typealiases/index.html | 16 +- .../com.package1/1.2.3/typealiases2/Foo.html | 3 +- .../1.2.3/typealiases2/Person.html | 3 +- .../1.2.3/typealiases2/index.html | 16 +- .../com.package1/1.2.3/unionTypes/index.html | 16 +- .../1.2.3/unlistedClass/index.html | 16 +- .../1.2.3/unlistedMethod/MyClass.html | 3 +- .../1.2.3/unlistedMethod/index.html | 16 +- .../1.2.3/unlistedProperty/MyClass.html | 3 +- .../1.2.3/unlistedProperty/index.html | 16 +- .../4.5.6/Module3/Class Two {}.html | 3 +- .../com.package2/4.5.6/Module3/Class3.html | 3 +- .../com.package2/4.5.6/Module3/index.html | 16 +- .../birds/0.5.0/Bird/index.html | 16 +- .../birds/0.5.0/allFruit/index.html | 16 +- .../birds/0.5.0/catalog/index.html | 16 +- .../birds/0.6.0/Bird/index.html | 16 +- .../birds/0.6.0/allFruit/index.html | 16 +- .../birds/0.6.0/catalog/index.html | 16 +- .../birds/0.7.0/Bird/index.html | 16 +- .../birds/0.7.0/allFruit/index.html | 16 +- .../birds/0.7.0/catalog/index.html | 16 +- .../deprecated/1.0.0/deprecated/index.html | 16 +- .../fruit/1.1.0/Fruit/index.html | 16 +- stdlib/base.pkl | 146 +- 212 files changed, 2020 insertions(+), 1383 deletions(-) diff --git a/pkl-core/src/test/files/LanguageSnippetTests/output/api/reflectedDeclaration.pcf b/pkl-core/src/test/files/LanguageSnippetTests/output/api/reflectedDeclaration.pcf index 2b55a344..fde86b4d 100644 --- a/pkl-core/src/test/files/LanguageSnippetTests/output/api/reflectedDeclaration.pcf +++ b/pkl-core/src/test/files/LanguageSnippetTests/output/api/reflectedDeclaration.pcf @@ -1,6 +1,6 @@ alias { location { - line = 3 + line = X column = 1 displayUri = "file:///$snippetsDir/input/api/reflectedDeclaration.pkl" } @@ -13,9 +13,9 @@ alias { members = List(new { referent { location { - line = 1122 + line = XXXX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1122" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ A boolean value, either [true] or [false]. @@ -33,9 +33,9 @@ alias { typeParameters = List() superclass { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -65,9 +65,9 @@ alias { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -77,9 +77,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -93,14 +93,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -115,9 +116,9 @@ alias { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -127,9 +128,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -143,14 +144,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -167,9 +169,9 @@ alias { supertype { referent { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -199,9 +201,9 @@ alias { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -211,9 +213,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -227,14 +229,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -249,9 +252,9 @@ alias { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -261,9 +264,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -277,14 +280,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -304,9 +308,9 @@ alias { allProperties = Map() methods = Map("xor", new { location { - line = 1132 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1132" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells if exactly one of [this] and [other] is [true] (exclusive or). @@ -328,9 +332,9 @@ alias { }) }, "implies", new { location { - line = 1145 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1145" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells if [this] implies [other] (logical consequence). @@ -355,9 +359,9 @@ alias { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -367,9 +371,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -383,14 +387,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -404,9 +409,9 @@ alias { }) }, "xor", new { location { - line = 1132 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1132" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells if exactly one of [this] and [other] is [true] (exclusive or). @@ -428,9 +433,9 @@ alias { }) }, "implies", new { location { - line = 1145 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1145" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells if [this] implies [other] (logical consequence). @@ -458,9 +463,9 @@ alias { }, new { referent { location { - line = 1158 + line = XXXX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1158" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ A sequence of Unicode characters (code points). @@ -477,9 +482,9 @@ alias { typeParameters = List() superclass { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -509,9 +514,9 @@ alias { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -521,9 +526,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -537,14 +542,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -559,9 +565,9 @@ alias { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -571,9 +577,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -587,14 +593,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -611,9 +618,9 @@ alias { supertype { referent { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -643,9 +650,9 @@ alias { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -655,9 +662,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -671,14 +678,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -693,9 +701,9 @@ alias { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -705,9 +713,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -721,14 +729,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -746,9 +755,9 @@ alias { } properties = Map("length", new { location { - line = 1169 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1169" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The number of characters in this string. @@ -778,9 +787,9 @@ alias { }) }, "lastIndex", new { location { - line = 1182 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1182" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The index of the last character in this string (same as `length - 1`). @@ -802,9 +811,9 @@ alias { allAnnotations = List() }, "isEmpty", new { location { - line = 1192 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1192" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells whether this string is empty. @@ -823,9 +832,9 @@ alias { allAnnotations = List() }, "isBlank", new { location { - line = 1203 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1203" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells if all characters in this string have Unicode property "White_Space". @@ -845,9 +854,9 @@ alias { allAnnotations = List() }, "isRegex", new { location { - line = 1206 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1206" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells if this string is a valid regular expression according to [Regex]." annotations = List() @@ -857,9 +866,9 @@ alias { allAnnotations = List() }, "isBase64", new { location { - line = 1216 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1216" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells if this is a valid base64-encoded string. @@ -881,9 +890,9 @@ alias { }) }, "md5", new { location { - line = 1223 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1223" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The [MD5](https://en.wikipedia.org/wiki/MD5) @@ -899,9 +908,9 @@ alias { allAnnotations = List() }, "sha1", new { location { - line = 1229 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1229" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The [SHA-1](https://en.wikipedia.org/wiki/SHA-1) @@ -916,9 +925,9 @@ alias { allAnnotations = List() }, "sha256", new { location { - line = 1234 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1234" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The [SHA-256](https://en.wikipedia.org/wiki/SHA-2) @@ -932,9 +941,9 @@ alias { allAnnotations = List() }, "sha256Int", new { location { - line = 1238 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1238" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The first 64 bits of the [SHA-256](https://en.wikipedia.org/wiki/SHA-2) @@ -947,9 +956,9 @@ alias { allAnnotations = List() }, "base64", new { location { - line = 1241 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1241" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "The Base64 encoding of this string's UTF-8 byte sequence." annotations = List() @@ -959,9 +968,9 @@ alias { allAnnotations = List() }, "base64Decoded", new { location { - line = 1249 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1249" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The inverse of [base64]. @@ -978,9 +987,9 @@ alias { allAnnotations = List() }, "base64DecodedBytes", new { location { - line = 1258 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1258" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Converts this base64-format string into [Bytes]. @@ -1001,9 +1010,9 @@ alias { }) }, "chars", new { location { - line = 1266 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1266" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The Unicode characters in this string. @@ -1020,9 +1029,9 @@ alias { allAnnotations = List() }, "codePoints", new { location { - line = 1274 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1274" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The Unicode code points in this string. @@ -1040,9 +1049,9 @@ alias { }) allProperties = Map("length", new { location { - line = 1169 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1169" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The number of characters in this string. @@ -1072,9 +1081,9 @@ alias { }) }, "lastIndex", new { location { - line = 1182 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1182" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The index of the last character in this string (same as `length - 1`). @@ -1096,9 +1105,9 @@ alias { allAnnotations = List() }, "isEmpty", new { location { - line = 1192 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1192" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells whether this string is empty. @@ -1117,9 +1126,9 @@ alias { allAnnotations = List() }, "isBlank", new { location { - line = 1203 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1203" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells if all characters in this string have Unicode property "White_Space". @@ -1139,9 +1148,9 @@ alias { allAnnotations = List() }, "isRegex", new { location { - line = 1206 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1206" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells if this string is a valid regular expression according to [Regex]." annotations = List() @@ -1151,9 +1160,9 @@ alias { allAnnotations = List() }, "isBase64", new { location { - line = 1216 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1216" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Tells if this is a valid base64-encoded string. @@ -1175,9 +1184,9 @@ alias { }) }, "md5", new { location { - line = 1223 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1223" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The [MD5](https://en.wikipedia.org/wiki/MD5) @@ -1193,9 +1202,9 @@ alias { allAnnotations = List() }, "sha1", new { location { - line = 1229 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1229" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The [SHA-1](https://en.wikipedia.org/wiki/SHA-1) @@ -1210,9 +1219,9 @@ alias { allAnnotations = List() }, "sha256", new { location { - line = 1234 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1234" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The [SHA-256](https://en.wikipedia.org/wiki/SHA-2) @@ -1226,9 +1235,9 @@ alias { allAnnotations = List() }, "sha256Int", new { location { - line = 1238 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1238" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The first 64 bits of the [SHA-256](https://en.wikipedia.org/wiki/SHA-2) @@ -1241,9 +1250,9 @@ alias { allAnnotations = List() }, "base64", new { location { - line = 1241 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1241" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "The Base64 encoding of this string's UTF-8 byte sequence." annotations = List() @@ -1253,9 +1262,9 @@ alias { allAnnotations = List() }, "base64Decoded", new { location { - line = 1249 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1249" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The inverse of [base64]. @@ -1272,9 +1281,9 @@ alias { allAnnotations = List() }, "base64DecodedBytes", new { location { - line = 1258 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1258" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Converts this base64-format string into [Bytes]. @@ -1295,9 +1304,9 @@ alias { }) }, "chars", new { location { - line = 1266 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1266" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The Unicode characters in this string. @@ -1314,9 +1323,9 @@ alias { allAnnotations = List() }, "codePoints", new { location { - line = 1274 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1274" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ The Unicode code points in this string. @@ -1334,9 +1343,9 @@ alias { }) methods = Map("getOrNull", new { location { - line = 1286 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1286" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the character at [index], or [null] if [index] is out of range. @@ -1359,14 +1368,15 @@ alias { }) }, "substring", new { location { - line = 1300 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1300" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the substring from [start] until [exclusiveEnd]. - Throws if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range [start]..[length]. + Throws if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range + [start]..[length]. Facts: ``` @@ -1388,14 +1398,15 @@ alias { }) }, "substringOrNull", new { location { - line = 1318 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1318" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the substring from [start] until [exclusiveEnd]. - Returns [null] if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range [start]..[length]. + Returns [null] if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range + [start]..[length]. Facts: ``` @@ -1421,9 +1432,9 @@ alias { }) }, "repeat", new { location { - line = 1328 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1328" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Concatenates [count] copies of this string. @@ -1444,9 +1455,9 @@ alias { }) }, "contains", new { location { - line = 1331 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1331" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells whether this string contains [pattern]." annotations = List() @@ -1458,9 +1469,9 @@ alias { }) }, "matches", new { location { - line = 1335 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1335" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells whether this string matches [regex] in its entirety." annotations = List(new { @@ -1476,9 +1487,9 @@ alias { }) }, "startsWith", new { location { - line = 1338 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1338" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells whether this string starts with [pattern]." annotations = List() @@ -1490,9 +1501,9 @@ alias { }) }, "endsWith", new { location { - line = 1341 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1341" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells whether this string ends with [pattern]." annotations = List() @@ -1504,9 +1515,9 @@ alias { }) }, "indexOf", new { location { - line = 1347 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1347" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the zero-based index of the first occurrence of [pattern] @@ -1523,9 +1534,9 @@ alias { }) }, "indexOfOrNull", new { location { - line = 1351 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1351" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the zero-based index of the first occurrence of [pattern] @@ -1540,9 +1551,9 @@ alias { }) }, "lastIndexOf", new { location { - line = 1357 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1357" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the zero-based index of the last occurrence of [pattern] @@ -1559,9 +1570,9 @@ alias { }) }, "lastIndexOfOrNull", new { location { - line = 1361 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1361" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the zero-based index of the last occurrence of [pattern] @@ -1576,9 +1587,9 @@ alias { }) }, "take", new { location { - line = 1367 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1367" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the first [n] characters of this string. @@ -1598,9 +1609,9 @@ alias { }) }, "takeWhile", new { location { - line = 1370 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1370" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Returns the longest prefix of this string that satisfies [predicate]." annotations = List() @@ -1612,9 +1623,9 @@ alias { }) }, "takeLast", new { location { - line = 1375 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1375" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the last [n] characters of this string. @@ -1630,9 +1641,9 @@ alias { }) }, "takeLastWhile", new { location { - line = 1378 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1378" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Returns the longest suffix of this string that satisfies [predicate]." annotations = List() @@ -1644,9 +1655,9 @@ alias { }) }, "drop", new { location { - line = 1384 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1384" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Removes the first [n] characters of this string. @@ -1666,9 +1677,9 @@ alias { }) }, "dropWhile", new { location { - line = 1388 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1388" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Removes the longest prefix of this string that satisfies [predicate]." annotations = List(new { @@ -1684,9 +1695,9 @@ alias { }) }, "dropLast", new { location { - line = 1394 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1394" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Removes the last [n] characters of this string. @@ -1706,9 +1717,9 @@ alias { }) }, "dropLastWhile", new { location { - line = 1398 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1398" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Removes the longest suffix of this string that satisfies [predicate]." annotations = List(new { @@ -1724,9 +1735,9 @@ alias { }) }, "replaceFirst", new { location { - line = 1403 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1403" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the first occurrence of [pattern] in this string with [replacement]. @@ -1744,9 +1755,9 @@ alias { }) }, "replaceLast", new { location { - line = 1408 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1408" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the last occurrence of [pattern] in this string with [replacement]. @@ -1764,9 +1775,9 @@ alias { }) }, "replaceAll", new { location { - line = 1413 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1413" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces all occurrences of [pattern] in this string with [replacement]. @@ -1784,9 +1795,9 @@ alias { }) }, "replaceFirstMapped", new { location { - line = 1418 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1418" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the first occurrence of [pattern] in this string with the return value of [mapper]. @@ -1804,9 +1815,9 @@ alias { }) }, "replaceLastMapped", new { location { - line = 1426 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1426" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the last occurrence of [pattern] in this string with the return value of [mapper]. @@ -1824,9 +1835,9 @@ alias { }) }, "replaceAllMapped", new { location { - line = 1434 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1434" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces all occurrences of [pattern] in this string with the return value of [mapper]. @@ -1844,9 +1855,9 @@ alias { }) }, "replaceRange", new { location { - line = 1442 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1442" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the characters between [start] and [exclusiveEnd] with [replacement]. @@ -1866,9 +1877,9 @@ alias { }) }, "toUpperCase", new { location { - line = 1445 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1445" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Performs a locale-independent character-by-character conversion of this string to uppercase." annotations = List() @@ -1878,9 +1889,9 @@ alias { parameters = Map() }, "toLowerCase", new { location { - line = 1448 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1448" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Performs a locale-independent character-by-character conversion of this string to lowercase." annotations = List() @@ -1890,9 +1901,9 @@ alias { parameters = Map() }, "reverse", new { location { - line = 1451 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1451" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Reverses the order of characters in this string." annotations = List() @@ -1902,11 +1913,14 @@ alias { parameters = Map() }, "trim", new { location { - line = 1455 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1455" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } - docComment = "Removes any leading and trailing characters with Unicode property \"White_Space\" from this string." + docComment = """ + Removes any leading and trailing characters with Unicode property "White_Space" from this + string. + """ annotations = List(new { names { "strip" @@ -1918,9 +1932,9 @@ alias { parameters = Map() }, "trimStart", new { location { - line = 1459 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1459" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Removes any leading characters with Unicode property \"White_Space\" from this string." annotations = List(new { @@ -1938,9 +1952,9 @@ alias { parameters = Map() }, "trimEnd", new { location { - line = 1463 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1463" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Removes any trailing characters with Unicode property \"White_Space\" from this string." annotations = List(new { @@ -1958,9 +1972,9 @@ alias { parameters = Map() }, "padStart", new { location { - line = 1469 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1469" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Increases the length of this string to [width] by adding leading [char]s. @@ -1982,9 +1996,9 @@ alias { }) }, "padEnd", new { location { - line = 1475 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1475" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Increases the length of this string to [width] by adding trailing [char]s. @@ -2006,9 +2020,9 @@ alias { }) }, "split", new { location { - line = 1478 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1478" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Splits this string around matches of [pattern]." annotations = List() @@ -2020,15 +2034,16 @@ alias { }) }, "splitLimit", new { location { - line = 1493 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1493" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Splits this string matches of [pattern], up to [limit] substrings. Returns a [List] with at most [limit] elements. - If the limit has been reached, the last entry will contain the un-split remainder of this string. + If the limit has been reached, the last entry will contain the un-split remainder of this + string. Facts: ``` @@ -2051,9 +2066,9 @@ alias { }) }, "capitalize", new { location { - line = 1503 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1503" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Converts the first character of this string to title case. @@ -2072,9 +2087,9 @@ alias { parameters = Map() }, "decapitalize", new { location { - line = 1513 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1513" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Converts the first character of this string to lower case. @@ -2093,9 +2108,9 @@ alias { parameters = Map() }, "toInt", new { location { - line = 1519 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1519" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses this string as a signed decimal (base 10) integer. @@ -2110,9 +2125,9 @@ alias { parameters = Map() }, "toIntOrNull", new { location { - line = 1525 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1525" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses this string as a signed decimal (base 10) integer. @@ -2127,9 +2142,9 @@ alias { parameters = Map() }, "toFloat", new { location { - line = 1530 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1530" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses this string as a floating point number. @@ -2143,9 +2158,9 @@ alias { parameters = Map() }, "toFloatOrNull", new { location { - line = 1535 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1535" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses this string as a floating point number. @@ -2159,9 +2174,9 @@ alias { parameters = Map() }, "toBoolean", new { location { - line = 1540 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1540" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses `"true"` to [true] and `"false"` to [false] (case-insensitive). @@ -2175,9 +2190,9 @@ alias { parameters = Map() }, "toBooleanOrNull", new { location { - line = 1545 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1545" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses `"true"` to [true] and `"false"` to [false] (case-insensitive). @@ -2191,9 +2206,9 @@ alias { parameters = Map() }, "encodeToBytes", new { location { - line = 1554 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1554" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the bytes of this string, encoded using [charset]. @@ -2215,9 +2230,9 @@ alias { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -2227,9 +2242,9 @@ alias { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -2243,14 +2258,15 @@ alias { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -2264,9 +2280,9 @@ alias { }) }, "getOrNull", new { location { - line = 1286 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1286" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the character at [index], or [null] if [index] is out of range. @@ -2289,14 +2305,15 @@ alias { }) }, "substring", new { location { - line = 1300 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1300" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the substring from [start] until [exclusiveEnd]. - Throws if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range [start]..[length]. + Throws if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range + [start]..[length]. Facts: ``` @@ -2318,14 +2335,15 @@ alias { }) }, "substringOrNull", new { location { - line = 1318 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1318" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the substring from [start] until [exclusiveEnd]. - Returns [null] if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range [start]..[length]. + Returns [null] if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range + [start]..[length]. Facts: ``` @@ -2351,9 +2369,9 @@ alias { }) }, "repeat", new { location { - line = 1328 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1328" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Concatenates [count] copies of this string. @@ -2374,9 +2392,9 @@ alias { }) }, "contains", new { location { - line = 1331 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1331" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells whether this string contains [pattern]." annotations = List() @@ -2388,9 +2406,9 @@ alias { }) }, "matches", new { location { - line = 1335 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1335" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells whether this string matches [regex] in its entirety." annotations = List(new { @@ -2406,9 +2424,9 @@ alias { }) }, "startsWith", new { location { - line = 1338 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1338" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells whether this string starts with [pattern]." annotations = List() @@ -2420,9 +2438,9 @@ alias { }) }, "endsWith", new { location { - line = 1341 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1341" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells whether this string ends with [pattern]." annotations = List() @@ -2434,9 +2452,9 @@ alias { }) }, "indexOf", new { location { - line = 1347 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1347" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the zero-based index of the first occurrence of [pattern] @@ -2453,9 +2471,9 @@ alias { }) }, "indexOfOrNull", new { location { - line = 1351 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1351" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the zero-based index of the first occurrence of [pattern] @@ -2470,9 +2488,9 @@ alias { }) }, "lastIndexOf", new { location { - line = 1357 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1357" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the zero-based index of the last occurrence of [pattern] @@ -2489,9 +2507,9 @@ alias { }) }, "lastIndexOfOrNull", new { location { - line = 1361 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1361" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the zero-based index of the last occurrence of [pattern] @@ -2506,9 +2524,9 @@ alias { }) }, "take", new { location { - line = 1367 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1367" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the first [n] characters of this string. @@ -2528,9 +2546,9 @@ alias { }) }, "takeWhile", new { location { - line = 1370 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1370" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Returns the longest prefix of this string that satisfies [predicate]." annotations = List() @@ -2542,9 +2560,9 @@ alias { }) }, "takeLast", new { location { - line = 1375 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1375" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the last [n] characters of this string. @@ -2560,9 +2578,9 @@ alias { }) }, "takeLastWhile", new { location { - line = 1378 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1378" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Returns the longest suffix of this string that satisfies [predicate]." annotations = List() @@ -2574,9 +2592,9 @@ alias { }) }, "drop", new { location { - line = 1384 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1384" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Removes the first [n] characters of this string. @@ -2596,9 +2614,9 @@ alias { }) }, "dropWhile", new { location { - line = 1388 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1388" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Removes the longest prefix of this string that satisfies [predicate]." annotations = List(new { @@ -2614,9 +2632,9 @@ alias { }) }, "dropLast", new { location { - line = 1394 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1394" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Removes the last [n] characters of this string. @@ -2636,9 +2654,9 @@ alias { }) }, "dropLastWhile", new { location { - line = 1398 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1398" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Removes the longest suffix of this string that satisfies [predicate]." annotations = List(new { @@ -2654,9 +2672,9 @@ alias { }) }, "replaceFirst", new { location { - line = 1403 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1403" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the first occurrence of [pattern] in this string with [replacement]. @@ -2674,9 +2692,9 @@ alias { }) }, "replaceLast", new { location { - line = 1408 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1408" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the last occurrence of [pattern] in this string with [replacement]. @@ -2694,9 +2712,9 @@ alias { }) }, "replaceAll", new { location { - line = 1413 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1413" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces all occurrences of [pattern] in this string with [replacement]. @@ -2714,9 +2732,9 @@ alias { }) }, "replaceFirstMapped", new { location { - line = 1418 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1418" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the first occurrence of [pattern] in this string with the return value of [mapper]. @@ -2734,9 +2752,9 @@ alias { }) }, "replaceLastMapped", new { location { - line = 1426 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1426" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the last occurrence of [pattern] in this string with the return value of [mapper]. @@ -2754,9 +2772,9 @@ alias { }) }, "replaceAllMapped", new { location { - line = 1434 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1434" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces all occurrences of [pattern] in this string with the return value of [mapper]. @@ -2774,9 +2792,9 @@ alias { }) }, "replaceRange", new { location { - line = 1442 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1442" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Replaces the characters between [start] and [exclusiveEnd] with [replacement]. @@ -2796,9 +2814,9 @@ alias { }) }, "toUpperCase", new { location { - line = 1445 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1445" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Performs a locale-independent character-by-character conversion of this string to uppercase." annotations = List() @@ -2808,9 +2826,9 @@ alias { parameters = Map() }, "toLowerCase", new { location { - line = 1448 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1448" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Performs a locale-independent character-by-character conversion of this string to lowercase." annotations = List() @@ -2820,9 +2838,9 @@ alias { parameters = Map() }, "reverse", new { location { - line = 1451 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1451" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Reverses the order of characters in this string." annotations = List() @@ -2832,11 +2850,14 @@ alias { parameters = Map() }, "trim", new { location { - line = 1455 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1455" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } - docComment = "Removes any leading and trailing characters with Unicode property \"White_Space\" from this string." + docComment = """ + Removes any leading and trailing characters with Unicode property "White_Space" from this + string. + """ annotations = List(new { names { "strip" @@ -2848,9 +2869,9 @@ alias { parameters = Map() }, "trimStart", new { location { - line = 1459 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1459" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Removes any leading characters with Unicode property \"White_Space\" from this string." annotations = List(new { @@ -2868,9 +2889,9 @@ alias { parameters = Map() }, "trimEnd", new { location { - line = 1463 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1463" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Removes any trailing characters with Unicode property \"White_Space\" from this string." annotations = List(new { @@ -2888,9 +2909,9 @@ alias { parameters = Map() }, "padStart", new { location { - line = 1469 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1469" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Increases the length of this string to [width] by adding leading [char]s. @@ -2912,9 +2933,9 @@ alias { }) }, "padEnd", new { location { - line = 1475 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1475" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Increases the length of this string to [width] by adding trailing [char]s. @@ -2936,9 +2957,9 @@ alias { }) }, "split", new { location { - line = 1478 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1478" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Splits this string around matches of [pattern]." annotations = List() @@ -2950,15 +2971,16 @@ alias { }) }, "splitLimit", new { location { - line = 1493 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1493" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Splits this string matches of [pattern], up to [limit] substrings. Returns a [List] with at most [limit] elements. - If the limit has been reached, the last entry will contain the un-split remainder of this string. + If the limit has been reached, the last entry will contain the un-split remainder of this + string. Facts: ``` @@ -2981,9 +3003,9 @@ alias { }) }, "capitalize", new { location { - line = 1503 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1503" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Converts the first character of this string to title case. @@ -3002,9 +3024,9 @@ alias { parameters = Map() }, "decapitalize", new { location { - line = 1513 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1513" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Converts the first character of this string to lower case. @@ -3023,9 +3045,9 @@ alias { parameters = Map() }, "toInt", new { location { - line = 1519 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1519" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses this string as a signed decimal (base 10) integer. @@ -3040,9 +3062,9 @@ alias { parameters = Map() }, "toIntOrNull", new { location { - line = 1525 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1525" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses this string as a signed decimal (base 10) integer. @@ -3057,9 +3079,9 @@ alias { parameters = Map() }, "toFloat", new { location { - line = 1530 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1530" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses this string as a floating point number. @@ -3073,9 +3095,9 @@ alias { parameters = Map() }, "toFloatOrNull", new { location { - line = 1535 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1535" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses this string as a floating point number. @@ -3089,9 +3111,9 @@ alias { parameters = Map() }, "toBoolean", new { location { - line = 1540 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1540" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses `"true"` to [true] and `"false"` to [false] (case-insensitive). @@ -3105,9 +3127,9 @@ alias { parameters = Map() }, "toBooleanOrNull", new { location { - line = 1545 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1545" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Parses `"true"` to [true] and `"false"` to [false] (case-insensitive). @@ -3121,9 +3143,9 @@ alias { parameters = Map() }, "encodeToBytes", new { location { - line = 1554 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1554" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the bytes of this string, encoded using [charset]. @@ -3151,7 +3173,7 @@ alias { rec { referent { location { - line = 5 + line = X column = 1 displayUri = "file:///$snippetsDir/input/api/reflectedDeclaration.pkl" } @@ -3162,14 +3184,15 @@ rec { typeParameters = List() superclass { location { - line = 1849 + line = XXXX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1849" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Base class for objects whose members are described by a class definition. - User-defined classes (that is, classes without `external` modifier) implicitly extend this class. + User-defined classes (that is, classes without `external` modifier) implicitly extend this + class. """ annotations = List() modifiers = Set("abstract") @@ -3177,9 +3200,9 @@ rec { typeParameters = List() superclass { location { - line = 1844 + line = XXXX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1844" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ A composite value containing members (properties, elements, entries). @@ -3236,9 +3259,9 @@ rec { typeParameters = List() superclass { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -3268,9 +3291,9 @@ rec { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3280,9 +3303,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3296,14 +3319,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3318,9 +3342,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3330,9 +3354,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3346,14 +3370,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3370,9 +3395,9 @@ rec { supertype { referent { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -3402,9 +3427,9 @@ rec { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3414,9 +3439,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3430,14 +3455,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3452,9 +3478,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3464,9 +3490,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3480,14 +3506,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3508,9 +3535,9 @@ rec { methods = Map() allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3520,9 +3547,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3536,14 +3563,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3560,9 +3588,9 @@ rec { supertype { referent { location { - line = 1844 + line = XXXX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1844" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ A composite value containing members (properties, elements, entries). @@ -3619,9 +3647,9 @@ rec { typeParameters = List() superclass { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -3651,9 +3679,9 @@ rec { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3663,9 +3691,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3679,14 +3707,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3701,9 +3730,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3713,9 +3742,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3729,14 +3758,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3753,9 +3783,9 @@ rec { supertype { referent { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -3785,9 +3815,9 @@ rec { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3797,9 +3827,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3813,14 +3843,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3835,9 +3866,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3847,9 +3878,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3863,14 +3894,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3891,9 +3923,9 @@ rec { methods = Map() allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -3903,9 +3935,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -3919,14 +3951,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -3946,9 +3979,9 @@ rec { allProperties = Map() methods = Map("hasProperty", new { location { - line = 1851 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1851" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells if this object has a property with the given [name]." annotations = List() @@ -3960,9 +3993,9 @@ rec { }) }, "getProperty", new { location { - line = 1856 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1856" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the value of the property with the given [name]. @@ -3978,9 +4011,9 @@ rec { }) }, "getPropertyOrNull", new { location { - line = 1861 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1861" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the value of the property with the given [name]. @@ -3996,9 +4029,9 @@ rec { }) }, "toDynamic", new { location { - line = 1864 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1864" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Converts this object to a [Dynamic] object." annotations = List() @@ -4008,9 +4041,9 @@ rec { parameters = Map() }, "toMap", new { location { - line = 1867 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1867" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Converts this object to a [Map]." annotations = List() @@ -4021,9 +4054,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4033,9 +4066,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4049,14 +4082,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4070,9 +4104,9 @@ rec { }) }, "hasProperty", new { location { - line = 1851 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1851" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells if this object has a property with the given [name]." annotations = List() @@ -4084,9 +4118,9 @@ rec { }) }, "getProperty", new { location { - line = 1856 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1856" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the value of the property with the given [name]. @@ -4102,9 +4136,9 @@ rec { }) }, "getPropertyOrNull", new { location { - line = 1861 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1861" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the value of the property with the given [name]. @@ -4120,9 +4154,9 @@ rec { }) }, "toDynamic", new { location { - line = 1864 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1864" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Converts this object to a [Dynamic] object." annotations = List() @@ -4132,9 +4166,9 @@ rec { parameters = Map() }, "toMap", new { location { - line = 1867 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1867" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Converts this object to a [Map]." annotations = List() @@ -4147,14 +4181,15 @@ rec { supertype { referent { location { - line = 1849 + line = XXXX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1849" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Base class for objects whose members are described by a class definition. - User-defined classes (that is, classes without `external` modifier) implicitly extend this class. + User-defined classes (that is, classes without `external` modifier) implicitly extend this + class. """ annotations = List() modifiers = Set("abstract") @@ -4162,9 +4197,9 @@ rec { typeParameters = List() superclass { location { - line = 1844 + line = XXXX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1844" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ A composite value containing members (properties, elements, entries). @@ -4221,9 +4256,9 @@ rec { typeParameters = List() superclass { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -4253,9 +4288,9 @@ rec { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4265,9 +4300,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4281,14 +4316,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4303,9 +4339,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4315,9 +4351,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4331,14 +4367,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4355,9 +4392,9 @@ rec { supertype { referent { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -4387,9 +4424,9 @@ rec { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4399,9 +4436,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4415,14 +4452,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4437,9 +4475,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4449,9 +4487,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4465,14 +4503,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4493,9 +4532,9 @@ rec { methods = Map() allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4505,9 +4544,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4521,14 +4560,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4545,9 +4585,9 @@ rec { supertype { referent { location { - line = 1844 + line = XXXX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1844" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ A composite value containing members (properties, elements, entries). @@ -4604,9 +4644,9 @@ rec { typeParameters = List() superclass { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -4636,9 +4676,9 @@ rec { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4648,9 +4688,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4664,14 +4704,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4686,9 +4727,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4698,9 +4739,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4714,14 +4755,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4738,9 +4780,9 @@ rec { supertype { referent { location { - line = 44 + line = XX column = 1 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L44" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ The top type of the type hierarchy. @@ -4770,9 +4812,9 @@ rec { allProperties = Map() methods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4782,9 +4824,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4798,14 +4840,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4820,9 +4863,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4832,9 +4875,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4848,14 +4891,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4876,9 +4920,9 @@ rec { methods = Map() allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -4888,9 +4932,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -4904,14 +4948,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -4931,9 +4976,9 @@ rec { allProperties = Map() methods = Map("hasProperty", new { location { - line = 1851 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1851" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells if this object has a property with the given [name]." annotations = List() @@ -4945,9 +4990,9 @@ rec { }) }, "getProperty", new { location { - line = 1856 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1856" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the value of the property with the given [name]. @@ -4963,9 +5008,9 @@ rec { }) }, "getPropertyOrNull", new { location { - line = 1861 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1861" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the value of the property with the given [name]. @@ -4981,9 +5026,9 @@ rec { }) }, "toDynamic", new { location { - line = 1864 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1864" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Converts this object to a [Dynamic] object." annotations = List() @@ -4993,9 +5038,9 @@ rec { parameters = Map() }, "toMap", new { location { - line = 1867 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1867" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Converts this object to a [Map]." annotations = List() @@ -5006,9 +5051,9 @@ rec { }) allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L46" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = "Returns the class of [this]." annotations = List() @@ -5018,9 +5063,9 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L51" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns a string representation of [this]. @@ -5034,14 +5079,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L56" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXX" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -5055,9 +5101,9 @@ rec { }) }, "hasProperty", new { location { - line = 1851 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1851" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Tells if this object has a property with the given [name]." annotations = List() @@ -5069,9 +5115,9 @@ rec { }) }, "getProperty", new { location { - line = 1856 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1856" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the value of the property with the given [name]. @@ -5087,9 +5133,9 @@ rec { }) }, "getPropertyOrNull", new { location { - line = 1861 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1861" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = """ Returns the value of the property with the given [name]. @@ -5105,9 +5151,9 @@ rec { }) }, "toDynamic", new { location { - line = 1864 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1864" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Converts this object to a [Dynamic] object." annotations = List() @@ -5117,9 +5163,9 @@ rec { parameters = Map() }, "toMap", new { location { - line = 1867 + line = XXXX column = 3 - displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#L1867" + displayUri = "https://github.com/apple/pkl/blob/$commitId/stdlib/base.pkl#LXXXX" } docComment = "Converts this object to a [Map]." annotations = List() @@ -5133,7 +5179,7 @@ rec { } properties = Map("rec", new { location { - line = 6 + line = X column = 3 displayUri = "file:///$snippetsDir/input/api/reflectedDeclaration.pkl" } @@ -5146,7 +5192,7 @@ rec { }) allProperties = Map("rec", new { location { - line = 6 + line = X column = 3 displayUri = "file:///$snippetsDir/input/api/reflectedDeclaration.pkl" } @@ -5160,7 +5206,7 @@ rec { methods = Map() allMethods = Map("getClass", new { location { - line = 46 + line = XX column = 3 displayUri = "pkl:base" } @@ -5172,7 +5218,7 @@ rec { parameters = Map() }, "toString", new { location { - line = 51 + line = XX column = 3 displayUri = "pkl:base" } @@ -5188,14 +5234,15 @@ rec { parameters = Map() }, "ifNonNull", new { location { - line = 56 + line = XX column = 3 displayUri = "pkl:base" } docComment = """ Returns `this |> transform` if [this] is non-null, and [null] otherwise. - This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + This method is the complement of the `??` operator and the equivalent of an `Option` type's + `map` and `flatMap` methods. """ annotations = List() modifiers = Set() @@ -5209,7 +5256,7 @@ rec { }) }, "hasProperty", new { location { - line = 1851 + line = XXXX column = 3 displayUri = "pkl:base" } @@ -5223,7 +5270,7 @@ rec { }) }, "getProperty", new { location { - line = 1856 + line = XXXX column = 3 displayUri = "pkl:base" } @@ -5241,7 +5288,7 @@ rec { }) }, "getPropertyOrNull", new { location { - line = 1861 + line = XXXX column = 3 displayUri = "pkl:base" } @@ -5259,7 +5306,7 @@ rec { }) }, "toDynamic", new { location { - line = 1864 + line = XXXX column = 3 displayUri = "pkl:base" } @@ -5271,7 +5318,7 @@ rec { parameters = Map() }, "toMap", new { location { - line = 1867 + line = XXXX column = 3 displayUri = "pkl:base" } diff --git a/pkl-core/src/test/files/LanguageSnippetTests/output/errors/invalidOutput3.err b/pkl-core/src/test/files/LanguageSnippetTests/output/errors/invalidOutput3.err index b05e3443..ab69c844 100644 --- a/pkl-core/src/test/files/LanguageSnippetTests/output/errors/invalidOutput3.err +++ b/pkl-core/src/test/files/LanguageSnippetTests/output/errors/invalidOutput3.err @@ -1,8 +1,8 @@ –– Pkl Error –– Expected value of type `ModuleOutput`, but got `null`. -xx | hidden output: ModuleOutput = new { - ^^^^^^^^^^^^ +xxx | hidden output: ModuleOutput = new { + ^^^^^^^^^^^^ at pkl.base#Module.output (pkl:base) x | output = null diff --git a/pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt b/pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt index 9c1e4a77..19e3d9b7 100644 --- a/pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt +++ b/pkl-core/src/test/kotlin/org/pkl/core/LanguageSnippetTestsEngine.kt @@ -50,6 +50,8 @@ private fun exclusionsForThisJvm(): List = abstract class AbstractLanguageSnippetTestsEngine : InputOutputTestEngine() { private val lineNumberRegex = Regex("(?m)^(( ║ )*)(\\d+) \\|") + private val locationLineNumberRegex = Regex("#L(\\d+)") + private val reflectedDeclarationLineNumberRegex = Regex("line = (\\d+)") private val hiddenExtensionRegex = Regex(".*[.]([^.]*)[.]pkl") private val msgpackExtensionRegex = Regex(".*[.]msgpack[.]yaml[.]pkl") @@ -118,9 +120,15 @@ abstract class AbstractLanguageSnippetTestsEngine : InputOutputTestEngine() { protected fun String.stripLineNumbers(): String = replace(lineNumberRegex) { result -> - // replace line number with equivalent number of 'x' characters to keep formatting intact - (result.groups[1]!!.value) + "x".repeat(result.groups[3]!!.value.length) + " |" - } + // replace line number with equivalent number of 'x' characters to keep formatting intact + (result.groups[1]!!.value) + "x".repeat(result.groups[3]!!.value.length) + " |" + } + .replace(locationLineNumberRegex) { result -> + "#L" + "X".repeat(result.groups[1]!!.value.length) + } + .replace(reflectedDeclarationLineNumberRegex) { result -> + "line = " + "X".repeat(result.groups[1]!!.value.length) + } protected fun String.stripWebsite(): String = replace(Release.current().documentation().homepage(), "https://\$pklWebsite/") @@ -199,7 +207,11 @@ class LanguageSnippetTestsEngine : AbstractLanguageSnippetTestsEngine() { } .build() evaluator.use { ev -> - true to ev.evaluateOutputBytes(ModuleSource.path(inputFile)).decodeOutput(inputFile) + true to + ev + .evaluateOutputBytes(ModuleSource.path(inputFile)) + .decodeOutput(inputFile) + .stripLineNumbers() } } catch (e: PklBugException) { false to e.stackTraceToString() diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/Module Containing Spaces/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/Module Containing Spaces/index.html index 797eb69f..38a5fcc8 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/Module Containing Spaces/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/Module Containing Spaces/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/baseModule/BaseClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/baseModule/BaseClass.html index bc5522ff..ddb2f542 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/baseModule/BaseClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/baseModule/BaseClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/baseModule/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/baseModule/index.html index 3aa1504a..b1a22093 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/baseModule/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/baseModule/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClass.html index 849bcf94..084024b0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClass.html @@ -84,7 +84,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClss.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClss.html index 0aeac16d..ded131e9 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClss.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClss.html @@ -86,7 +86,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.html index 92880843..40baa3c9 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.html @@ -86,7 +86,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/index.html index 25dbd698..a3ede57b 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments1.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments1.html index a3a8372a..3fd66de1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments1.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments1.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments2.html index 02c0f005..7251e67e 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments2.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments3.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments3.html index a6431630..cbdd4786 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments3.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments3.html @@ -82,7 +82,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments4.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments4.html index 869ecb56..6811e2f6 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments4.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments4.html @@ -86,7 +86,8 @@ Class with multi-line and multi-paragraph doc comment (paragraph2, line2).

Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- + diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments5.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments5.html index 230dbeeb..47e1e53c 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments5.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments5.html @@ -82,7 +82,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments6.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments6.html index cb1d2fd6..0445ff44 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments6.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments6.html @@ -84,7 +84,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments7.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments7.html index e00621bb..5184fba2 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments7.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments7.html @@ -82,7 +82,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments8.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments8.html index 440ae583..2f5d6936 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments8.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/Comments8.html @@ -133,7 +133,8 @@ class Person {
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/index.html index 482949f8..035a74f6 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classComments/index.html @@ -130,7 +130,8 @@ class Person {

The output of this module.

- +
@@ -176,7 +177,8 @@ class Person {
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -256,10 +258,12 @@ class Person {
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass1.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass1.html index 9e77f367..5474396d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass1.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass1.html @@ -100,7 +100,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass2.html index b024ba4c..0070cc5b 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass2.html @@ -111,7 +111,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass3.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass3.html index 1f6e7309..3c0b294a 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass3.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass3.html @@ -111,7 +111,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass4.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass4.html index 55d0f5ef..487022ee 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass4.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/MyClass4.html @@ -122,7 +122,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/index.html index 7e9f79b8..aa47831e 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classInheritance/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodComments/Comments.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodComments/Comments.html index 514a9bfe..a7968c27 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodComments/Comments.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodComments/Comments.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodComments/index.html index 5117f468..9802bf47 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodComments/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodModifiers/Modifiers.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodModifiers/Modifiers.html index ddb1d765..fad4c9c1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodModifiers/Modifiers.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodModifiers/Modifiers.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodModifiers/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodModifiers/index.html index 858d89ca..f7455836 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodModifiers/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodModifiers/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.html index f3cb827d..4f504e52 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeAnnotations/index.html index 015bb308..50ad8e81 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeAnnotations/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/MyClass.html index b4ffbcb9..01b9b698 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.html index 270020b2..ccb964fa 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/index.html index f0c5b270..642f29be 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classMethodTypeReferences/index.html @@ -62,7 +62,8 @@ the same module, a different module, and external modules.

The output of this module.

- +
@@ -108,7 +109,8 @@ the same module, a different module, and external modules.

ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -188,10 +190,12 @@ the same module, a different module, and external modules.

relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.html index c5759844..612bfb05 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.html index 285c7519..8eea5a54 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/index.html index d0451703..416e8a3d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyComments/Comments.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyComments/Comments.html index 155ad233..a60749d1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyComments/Comments.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyComments/Comments.html @@ -174,7 +174,8 @@ doc comment.

Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyComments/index.html index f05cf8c3..06a1af20 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyComments/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyModifiers/Modifiers.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyModifiers/Modifiers.html index 47307c5d..4c6ac89e 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyModifiers/Modifiers.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyModifiers/Modifiers.html @@ -124,7 +124,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyModifiers/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyModifiers/index.html index 5903a334..7e9bc2a4 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyModifiers/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyModifiers/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.html index 33060243..351f800d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.html @@ -208,7 +208,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeAnnotations/index.html index ec5202b1..75963961 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeAnnotations/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/MyClass.html index 8f1ff164..6f733663 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.html index 76ffdca5..6738f8a7 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.html @@ -196,7 +196,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/index.html index 681f3975..e757f293 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classPropertyTypeReferences/index.html @@ -62,7 +62,8 @@ the same module, a different module, and external modules.

The output of this module.

- +
@@ -108,7 +109,8 @@ the same module, a different module, and external modules.

ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -188,10 +190,12 @@ the same module, a different module, and external modules.

relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Address.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Address.html index cac4ae1c..8498c3fb 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Address.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Address.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Person1.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Person1.html index 3cc3c065..a2804180 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Person1.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Person1.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Person2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Person2.html index ceec1ce4..87f4b6b1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Person2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Person2.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Project.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Project.html index e74ac54b..3fa13b66 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Project.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/Project.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/index.html index 880b0e6c..94c9f4cf 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/classTypeConstraints/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docExampleSubject1/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docExampleSubject1/index.html index cd9b19a6..0bbbbc07 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docExampleSubject1/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docExampleSubject1/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -118,7 +119,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -198,10 +200,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docExampleSubject2/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docExampleSubject2/index.html index a734d6a4..e4e622d0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docExampleSubject2/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docExampleSubject2/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -118,7 +119,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -198,10 +200,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docLinks/Person.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docLinks/Person.html index 3fb535b2..00696b31 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docLinks/Person.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docLinks/Person.html @@ -118,7 +118,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docLinks/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docLinks/index.html index d51dfcae..3a061c53 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docLinks/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/docLinks/index.html @@ -70,7 +70,8 @@

The output of this module.

- +
@@ -136,7 +137,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -216,10 +218,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/methodAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/methodAnnotations/index.html index 24e41d76..834311fd 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/methodAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/methodAnnotations/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -105,7 +106,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -185,10 +187,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleComments/index.html index 16c9a857..e62704f1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleComments/index.html @@ -111,7 +111,8 @@ class Person {

The output of this module.

- +
@@ -157,7 +158,8 @@ class Person {
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -237,10 +239,12 @@ class Person {
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleExtend/ExtendClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleExtend/ExtendClass.html index d8f970f5..781c7470 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleExtend/ExtendClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleExtend/ExtendClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleExtend/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleExtend/index.html index 09a5e404..051796cc 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleExtend/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleExtend/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -128,7 +129,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -208,10 +210,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleInfoAnnotation/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleInfoAnnotation/index.html index af05b6fe..96d2e0f3 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleInfoAnnotation/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleInfoAnnotation/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodCommentInheritance/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodCommentInheritance/index.html index affa3909..1af9eee4 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodCommentInheritance/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodCommentInheritance/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -105,7 +106,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -185,10 +187,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodComments/index.html index e67be739..0fdd243a 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodComments/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodModifiers/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodModifiers/index.html index c7974ac0..57362080 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodModifiers/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodModifiers/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeAnnotations/index.html index 4d26dc83..b1bc4c07 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeReferences/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeReferences/MyClass.html index 63bf7c04..e0a019a5 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeReferences/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeReferences/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeReferences/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeReferences/index.html index a899ceb8..939ebf73 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeReferences/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleMethodTypeReferences/index.html @@ -62,7 +62,8 @@ the same module, a different module, and external modules.

The output of this module.

- +
@@ -108,7 +109,8 @@ the same module, a different module, and external modules.

ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -188,10 +190,12 @@ the same module, a different module, and external modules.

relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation.html index 8fbd7111..993894f4 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.html index 07ef9d08..a13e63fb 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.html index 4eeada63..e1b71757 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/index.html index 4ad58ec1..fd448c89 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -188,7 +189,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -268,10 +270,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyCommentInheritance/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyCommentInheritance/index.html index 3412321f..fb6fcbc0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyCommentInheritance/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyCommentInheritance/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -238,7 +239,8 @@ code = 2
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -318,10 +320,12 @@ code = 2
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyComments/index.html index bae3fb3d..5ae1d42b 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyComments/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -239,7 +240,8 @@ code = 2
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -319,10 +321,12 @@ code = 2
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyModifiers/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyModifiers/index.html index d33c5a47..91622fcd 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyModifiers/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyModifiers/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -118,7 +119,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -198,10 +200,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeAnnotations/index.html index 87ea86e8..d4a128e4 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -226,7 +227,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -306,10 +308,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeReferences/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeReferences/MyClass.html index 590b8d21..1de8cc07 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeReferences/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeReferences/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeReferences/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeReferences/index.html index d05a1550..5f4cad3a 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeReferences/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/modulePropertyTypeReferences/index.html @@ -62,7 +62,8 @@ the same module, a different module, and external modules.

The output of this module.

- +
@@ -216,7 +217,8 @@ the same module, a different module, and external modules.

ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -296,10 +298,12 @@ the same module, a different module, and external modules.

relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes1/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes1/index.html index e5c2ef57..76233af0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes1/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes1/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -116,7 +117,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -196,10 +198,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes2/Foo.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes2/Foo.html index 816afd6e..e6e4735c 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes2/Foo.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes2/Foo.html @@ -176,7 +176,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes2/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes2/index.html index 62fd6efb..76bfbe85 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes2/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/moduleTypes2/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -194,7 +195,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -274,10 +276,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.html index 5528ec58..0d7b9a59 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/nested/nested2/nestedModule/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/nested/nested2/nestedModule/index.html index 0c7d17b9..322980f8 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/nested/nested2/nestedModule/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/nested/nested2/nestedModule/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/shared/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/shared/MyClass.html index aec3bb68..031f92a6 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/shared/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/shared/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/shared/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/shared/index.html index bbf52a40..190d3585 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/shared/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/shared/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/ternalPackage/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/ternalPackage/index.html index c15d642d..57dc9fb0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/ternalPackage/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/ternalPackage/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typeAliasInheritance/Person2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typeAliasInheritance/Person2.html index 1e078fc0..09ead29e 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typeAliasInheritance/Person2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typeAliasInheritance/Person2.html @@ -155,7 +155,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typeAliasInheritance/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typeAliasInheritance/index.html index 522b041a..1653952d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typeAliasInheritance/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typeAliasInheritance/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -174,7 +175,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -254,10 +256,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases/Person.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases/Person.html index 32cae26b..d2c348a5 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases/Person.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases/Person.html @@ -133,7 +133,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases/index.html index 42c4f510..f40e98f6 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -152,7 +153,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -232,10 +234,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/Foo.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/Foo.html index 60fb9e1d..a73865ab 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/Foo.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/Foo.html @@ -187,7 +187,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/Person.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/Person.html index db9fb56c..cdb428f7 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/Person.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/Person.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/index.html index 834227a6..e4340119 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/typealiases2/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -206,7 +207,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -286,10 +288,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unionTypes/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unionTypes/index.html index 6588f46e..6229ded8 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unionTypes/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unionTypes/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -171,7 +172,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -251,10 +253,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedClass/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedClass/index.html index 70b9c5c5..1e54c731 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedClass/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedClass/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -116,7 +117,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -196,10 +198,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedMethod/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedMethod/MyClass.html index 680bb1f0..e8402620 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedMethod/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedMethod/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedMethod/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedMethod/index.html index 46306f8a..ec46e855 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedMethod/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedMethod/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedProperty/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedProperty/MyClass.html index 0a0761e1..92a5073c 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedProperty/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedProperty/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedProperty/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedProperty/index.html index 62774943..ff585229 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedProperty/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package1/1.2.3/unlistedProperty/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/Class Two {}.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/Class Two {}.html index f838db6b..c6cca18f 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/Class Two {}.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/Class Two {}.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/Class3.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/Class3.html index afb02a89..194e613b 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/Class3.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/Class3.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/index.html index ed03a18a..15a454b8 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/com.package2/4.5.6/Module3/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -129,7 +130,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -209,10 +211,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/Bird/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/Bird/index.html index fe9fff80..520be309 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/Bird/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/Bird/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/allFruit/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/allFruit/index.html index 68f133e8..9a189840 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/allFruit/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/allFruit/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/catalog/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/catalog/index.html index c373bddd..e0f043a5 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/catalog/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/birds/0.5.0/catalog/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/deprecated/1.0.0/deprecated/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/deprecated/1.0.0/deprecated/index.html index ea1a3e64..d2804448 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/deprecated/1.0.0/deprecated/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/deprecated/1.0.0/deprecated/index.html @@ -58,7 +58,8 @@

The output of this module.

- +
@@ -129,7 +130,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -209,10 +211,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/fruit/1.1.0/Fruit/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/fruit/1.1.0/Fruit/index.html index cae9661d..50707f71 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/fruit/1.1.0/Fruit/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-1/localhost(3a)0/fruit/1.1.0/Fruit/index.html @@ -57,7 +57,8 @@

The output of this module.

- +
@@ -114,7 +115,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -194,10 +196,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/Module Containing Spaces/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/Module Containing Spaces/index.html index 797eb69f..38a5fcc8 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/Module Containing Spaces/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/Module Containing Spaces/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/baseModule/BaseClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/baseModule/BaseClass.html index bc5522ff..ddb2f542 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/baseModule/BaseClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/baseModule/BaseClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/baseModule/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/baseModule/index.html index 3aa1504a..b1a22093 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/baseModule/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/baseModule/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClass.html index 849bcf94..084024b0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClass.html @@ -84,7 +84,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClss.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClss.html index 0aeac16d..ded131e9 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClss.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClss.html @@ -86,7 +86,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.html index 92880843..40baa3c9 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/AnnotatedClssWithExpandableComment.html @@ -86,7 +86,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/index.html index 25dbd698..a3ede57b 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments1.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments1.html index a3a8372a..3fd66de1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments1.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments1.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments2.html index 02c0f005..7251e67e 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments2.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments3.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments3.html index a6431630..cbdd4786 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments3.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments3.html @@ -82,7 +82,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments4.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments4.html index 869ecb56..6811e2f6 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments4.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments4.html @@ -86,7 +86,8 @@ Class with multi-line and multi-paragraph doc comment (paragraph2, line2).

Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- + diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments5.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments5.html index 230dbeeb..47e1e53c 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments5.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments5.html @@ -82,7 +82,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments6.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments6.html index cb1d2fd6..0445ff44 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments6.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments6.html @@ -84,7 +84,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments7.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments7.html index e00621bb..5184fba2 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments7.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments7.html @@ -82,7 +82,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments8.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments8.html index 440ae583..2f5d6936 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments8.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/Comments8.html @@ -133,7 +133,8 @@ class Person {
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/index.html index 482949f8..035a74f6 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classComments/index.html @@ -130,7 +130,8 @@ class Person {

The output of this module.

- +
@@ -176,7 +177,8 @@ class Person {
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -256,10 +258,12 @@ class Person {
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass1.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass1.html index 9e77f367..5474396d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass1.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass1.html @@ -100,7 +100,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass2.html index b024ba4c..0070cc5b 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass2.html @@ -111,7 +111,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass3.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass3.html index 1f6e7309..3c0b294a 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass3.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass3.html @@ -111,7 +111,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass4.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass4.html index 55d0f5ef..487022ee 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass4.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/MyClass4.html @@ -122,7 +122,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/index.html index 7e9f79b8..aa47831e 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classInheritance/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodComments/Comments.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodComments/Comments.html index 514a9bfe..a7968c27 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodComments/Comments.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodComments/Comments.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodComments/index.html index 5117f468..9802bf47 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodComments/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodModifiers/Modifiers.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodModifiers/Modifiers.html index ddb1d765..fad4c9c1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodModifiers/Modifiers.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodModifiers/Modifiers.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodModifiers/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodModifiers/index.html index 858d89ca..f7455836 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodModifiers/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodModifiers/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.html index f3cb827d..4f504e52 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeAnnotations/TypeAnnotations.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeAnnotations/index.html index 015bb308..50ad8e81 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeAnnotations/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/MyClass.html index b4ffbcb9..01b9b698 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.html index 270020b2..ccb964fa 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/TypeReferences.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/index.html index f0c5b270..642f29be 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classMethodTypeReferences/index.html @@ -62,7 +62,8 @@ the same module, a different module, and external modules.

The output of this module.

- +
@@ -108,7 +109,8 @@ the same module, a different module, and external modules.

ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -188,10 +190,12 @@ the same module, a different module, and external modules.

relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.html index c5759844..612bfb05 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/ClassWithAnnotatedProperty.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.html index 285c7519..8eea5a54 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/UserDefinedAnnotation.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/index.html index d0451703..416e8a3d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyComments/Comments.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyComments/Comments.html index 155ad233..a60749d1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyComments/Comments.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyComments/Comments.html @@ -174,7 +174,8 @@ doc comment.

Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyComments/index.html index f05cf8c3..06a1af20 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyComments/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyModifiers/Modifiers.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyModifiers/Modifiers.html index 47307c5d..4c6ac89e 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyModifiers/Modifiers.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyModifiers/Modifiers.html @@ -124,7 +124,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyModifiers/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyModifiers/index.html index 5903a334..7e9bc2a4 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyModifiers/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyModifiers/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.html index 33060243..351f800d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeAnnotations/TypeAnnotations.html @@ -208,7 +208,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeAnnotations/index.html index ec5202b1..75963961 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeAnnotations/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/MyClass.html index 8f1ff164..6f733663 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.html index 76ffdca5..6738f8a7 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/TypeReferences.html @@ -196,7 +196,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/index.html index 681f3975..e757f293 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classPropertyTypeReferences/index.html @@ -62,7 +62,8 @@ the same module, a different module, and external modules.

The output of this module.

- +
@@ -108,7 +109,8 @@ the same module, a different module, and external modules.

ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -188,10 +190,12 @@ the same module, a different module, and external modules.

relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Address.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Address.html index cac4ae1c..8498c3fb 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Address.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Address.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Person1.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Person1.html index 3cc3c065..a2804180 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Person1.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Person1.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Person2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Person2.html index ceec1ce4..87f4b6b1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Person2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Person2.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Project.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Project.html index e74ac54b..3fa13b66 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Project.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/Project.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/index.html index 880b0e6c..94c9f4cf 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/classTypeConstraints/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docExampleSubject1/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docExampleSubject1/index.html index cd9b19a6..0bbbbc07 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docExampleSubject1/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docExampleSubject1/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -118,7 +119,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -198,10 +200,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docExampleSubject2/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docExampleSubject2/index.html index a734d6a4..e4e622d0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docExampleSubject2/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docExampleSubject2/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -118,7 +119,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -198,10 +200,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docLinks/Person.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docLinks/Person.html index 3fb535b2..00696b31 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docLinks/Person.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docLinks/Person.html @@ -118,7 +118,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docLinks/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docLinks/index.html index d51dfcae..3a061c53 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docLinks/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/docLinks/index.html @@ -70,7 +70,8 @@

The output of this module.

- +
@@ -136,7 +137,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -216,10 +218,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/methodAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/methodAnnotations/index.html index 24e41d76..834311fd 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/methodAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/methodAnnotations/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -105,7 +106,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -185,10 +187,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleComments/index.html index 16c9a857..e62704f1 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleComments/index.html @@ -111,7 +111,8 @@ class Person {

The output of this module.

- +
@@ -157,7 +158,8 @@ class Person {
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -237,10 +239,12 @@ class Person {
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleExtend/ExtendClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleExtend/ExtendClass.html index d8f970f5..781c7470 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleExtend/ExtendClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleExtend/ExtendClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleExtend/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleExtend/index.html index 09a5e404..051796cc 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleExtend/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleExtend/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -128,7 +129,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -208,10 +210,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleInfoAnnotation/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleInfoAnnotation/index.html index af05b6fe..96d2e0f3 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleInfoAnnotation/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleInfoAnnotation/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -107,7 +108,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -187,10 +189,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodCommentInheritance/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodCommentInheritance/index.html index affa3909..1af9eee4 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodCommentInheritance/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodCommentInheritance/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -105,7 +106,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -185,10 +187,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodComments/index.html index e67be739..0fdd243a 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodComments/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodModifiers/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodModifiers/index.html index c7974ac0..57362080 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodModifiers/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodModifiers/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeAnnotations/index.html index 4d26dc83..b1bc4c07 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeReferences/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeReferences/MyClass.html index 63bf7c04..e0a019a5 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeReferences/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeReferences/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeReferences/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeReferences/index.html index a899ceb8..939ebf73 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeReferences/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleMethodTypeReferences/index.html @@ -62,7 +62,8 @@ the same module, a different module, and external modules.

The output of this module.

- +
@@ -108,7 +109,8 @@ the same module, a different module, and external modules.

ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -188,10 +190,12 @@ the same module, a different module, and external modules.

relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation.html index 8fbd7111..993894f4 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation.html @@ -110,7 +110,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.html index 07ef9d08..a13e63fb 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation1.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.html index 4eeada63..e1b71757 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/UserDefinedAnnotation2.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/index.html index 4ad58ec1..fd448c89 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -188,7 +189,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -268,10 +270,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyCommentInheritance/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyCommentInheritance/index.html index 3412321f..fb6fcbc0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyCommentInheritance/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyCommentInheritance/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -238,7 +239,8 @@ code = 2
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -318,10 +320,12 @@ code = 2
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyComments/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyComments/index.html index bae3fb3d..5ae1d42b 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyComments/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyComments/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -239,7 +240,8 @@ code = 2
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -319,10 +321,12 @@ code = 2
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyModifiers/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyModifiers/index.html index d33c5a47..91622fcd 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyModifiers/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyModifiers/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -118,7 +119,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -198,10 +200,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeAnnotations/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeAnnotations/index.html index 87ea86e8..d4a128e4 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeAnnotations/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeAnnotations/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -226,7 +227,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -306,10 +308,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeReferences/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeReferences/MyClass.html index 590b8d21..1de8cc07 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeReferences/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeReferences/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeReferences/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeReferences/index.html index d05a1550..5f4cad3a 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeReferences/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/modulePropertyTypeReferences/index.html @@ -62,7 +62,8 @@ the same module, a different module, and external modules.

The output of this module.

- +
@@ -216,7 +217,8 @@ the same module, a different module, and external modules.

ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -296,10 +298,12 @@ the same module, a different module, and external modules.

relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes1/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes1/index.html index e5c2ef57..76233af0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes1/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes1/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -116,7 +117,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -196,10 +198,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes2/Foo.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes2/Foo.html index 816afd6e..e6e4735c 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes2/Foo.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes2/Foo.html @@ -176,7 +176,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes2/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes2/index.html index 62fd6efb..76bfbe85 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes2/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/moduleTypes2/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -194,7 +195,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -274,10 +276,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.html index 5528ec58..0d7b9a59 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/nested/nested2/nestedModule/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/nested/nested2/nestedModule/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/nested/nested2/nestedModule/index.html index 0c7d17b9..322980f8 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/nested/nested2/nestedModule/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/nested/nested2/nestedModule/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/shared/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/shared/MyClass.html index aec3bb68..031f92a6 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/shared/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/shared/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/shared/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/shared/index.html index bbf52a40..190d3585 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/shared/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/shared/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/ternalPackage/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/ternalPackage/index.html index c15d642d..57dc9fb0 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/ternalPackage/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/ternalPackage/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typeAliasInheritance/Person2.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typeAliasInheritance/Person2.html index 1e078fc0..09ead29e 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typeAliasInheritance/Person2.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typeAliasInheritance/Person2.html @@ -155,7 +155,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typeAliasInheritance/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typeAliasInheritance/index.html index 522b041a..1653952d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typeAliasInheritance/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typeAliasInheritance/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -174,7 +175,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -254,10 +256,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases/Person.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases/Person.html index 32cae26b..d2c348a5 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases/Person.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases/Person.html @@ -133,7 +133,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases/index.html index 42c4f510..f40e98f6 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -152,7 +153,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -232,10 +234,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/Foo.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/Foo.html index 60fb9e1d..a73865ab 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/Foo.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/Foo.html @@ -187,7 +187,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/Person.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/Person.html index db9fb56c..cdb428f7 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/Person.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/Person.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/index.html index 834227a6..e4340119 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/typealiases2/index.html @@ -61,7 +61,8 @@

The output of this module.

- +
@@ -206,7 +207,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -286,10 +288,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unionTypes/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unionTypes/index.html index 6588f46e..6229ded8 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unionTypes/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unionTypes/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -171,7 +172,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -251,10 +253,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedClass/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedClass/index.html index 70b9c5c5..1e54c731 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedClass/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedClass/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -116,7 +117,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -196,10 +198,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedMethod/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedMethod/MyClass.html index 680bb1f0..e8402620 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedMethod/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedMethod/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedMethod/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedMethod/index.html index 46306f8a..ec46e855 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedMethod/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedMethod/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -117,7 +118,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -197,10 +199,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedProperty/MyClass.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedProperty/MyClass.html index 0a0761e1..92a5073c 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedProperty/MyClass.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedProperty/MyClass.html @@ -81,7 +81,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedProperty/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedProperty/index.html index 62774943..ff585229 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedProperty/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package1/1.2.3/unlistedProperty/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -106,7 +107,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -186,10 +188,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/Class Two {}.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/Class Two {}.html index f838db6b..c6cca18f 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/Class Two {}.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/Class Two {}.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/Class3.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/Class3.html index afb02a89..194e613b 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/Class3.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/Class3.html @@ -99,7 +99,8 @@
Any.ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/index.html index ed03a18a..15a454b8 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/com.package2/4.5.6/Module3/index.html @@ -60,7 +60,8 @@

The output of this module.

- +
@@ -129,7 +130,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -209,10 +211,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/Bird/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/Bird/index.html index fe9fff80..520be309 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/Bird/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/Bird/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/allFruit/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/allFruit/index.html index 68f133e8..9a189840 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/allFruit/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/allFruit/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/catalog/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/catalog/index.html index c373bddd..e0f043a5 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/catalog/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.5.0/catalog/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/Bird/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/Bird/index.html index 8c7aac12..5be9d038 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/Bird/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/Bird/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/allFruit/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/allFruit/index.html index 7993706e..2e499f5a 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/allFruit/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/allFruit/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/catalog/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/catalog/index.html index 57e57808..d72c0277 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/catalog/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.6.0/catalog/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/Bird/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/Bird/index.html index 73789352..4ee512d9 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/Bird/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/Bird/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/allFruit/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/allFruit/index.html index dca4fbb8..552e05ca 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/allFruit/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/allFruit/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/catalog/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/catalog/index.html index 4ff93923..4c2d5e4d 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/catalog/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/birds/0.7.0/catalog/index.html @@ -59,7 +59,8 @@

The output of this module.

- +
@@ -127,7 +128,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -207,10 +209,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/deprecated/1.0.0/deprecated/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/deprecated/1.0.0/deprecated/index.html index ea1a3e64..d2804448 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/deprecated/1.0.0/deprecated/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/deprecated/1.0.0/deprecated/index.html @@ -58,7 +58,8 @@

The output of this module.

- +
@@ -129,7 +130,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -209,10 +211,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/fruit/1.1.0/Fruit/index.html b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/fruit/1.1.0/Fruit/index.html index cae9661d..50707f71 100644 --- a/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/fruit/1.1.0/Fruit/index.html +++ b/pkl-doc/src/test/files/DocGeneratorTest/output/run-2/localhost(3a)0/fruit/1.1.0/Fruit/index.html @@ -57,7 +57,8 @@

The output of this module.

- +
@@ -114,7 +115,8 @@
ifNonNull<Result>(transform: (NonNull) -> Result): Result? (pkl.base)Source

Returns this |> transform if this is non-null, and null otherwise.

- +
@@ -194,10 +196,12 @@
relativePathTo(other: Module): List<String> (pkl.base)Source

Returns the relative, descendent directory path between this module and other.

diff --git a/stdlib/base.pkl b/stdlib/base.pkl index 530189f7..b15b4c0f 100644 --- a/stdlib/base.pkl +++ b/stdlib/base.pkl @@ -52,7 +52,8 @@ abstract external class Any { /// Returns `this |> transform` if [this] is non-null, and [null] otherwise. /// - /// This method is the complement of the `??` operator and the equivalent of an `Option` type's `map` and `flatMap` methods. + /// This method is the complement of the `??` operator and the equivalent of an `Option` type's + /// `map` and `flatMap` methods. external function ifNonNull(transform: (NonNull) -> Result): Result? } @@ -79,11 +80,13 @@ abstract external class Module { /// /// Throws if no such path exists. /// - /// For example, if module `mod1` has path `/dir1/mod1.pkl`, and module `mod2` has path `/dir1/dir2/dir3/mod2.pkl`, - /// then `mod1.relativePathTo(mod2)` will return `List("dir2", "dir3")`. + /// For example, if module `mod1` has path `/dir1/mod1.pkl`, and module `mod2` has path + /// `/dir1/dir2/dir3/mod2.pkl`, then `mod1.relativePathTo(mod2)` will return + /// `List("dir2", "dir3")`. /// - /// A common use case is to compute the directory path between a template located at the root of a hierarchy - /// (say `rootModule.pkl`) and the currently evaluated module (accessible via the `module` keyword): + /// A common use case is to compute the directory path between a template located at the root of a + /// hierarchy (say `rootModule.pkl`) and the currently evaluated module (accessible via the + /// `module` keyword): /// ``` /// import "rootModule.pkl" // self-import /// path = rootModule.relativePathTo(module) @@ -92,7 +95,8 @@ abstract external class Module { /// The output of this module. /// - /// Defaults to all module properties rendered as either Pcf or the format specified on the command line. + /// Defaults to all module properties rendered as either Pcf or the format specified on the + /// command line. hidden output: ModuleOutput = new { value = outer renderer = @@ -145,14 +149,16 @@ class Deprecated extends Annotation { /// A message explaining how to deal with the deprecation. /// - /// The message may contain member links, should end with a period, and should not contain line breaks. + /// The message may contain member links, should end with a period, and should not contain line + /// breaks. /// /// Example: `"Use [String.codePoints] instead."` message: String? /// The code fragment to replace usages of the deprecated member with. /// - /// Setting this property instructs tools to automatically replace usages of the deprecated member. + /// Setting this property instructs tools to automatically replace usages of the deprecated + /// member. /// For human instructions, use [message]. /// /// Examples: @@ -350,7 +356,8 @@ abstract class BaseValueRenderer { /// Base class for rendering Pkl values in some textual output format. /// -/// A renderer's output is guaranteed to be well-formed unless [RenderDirective] is part of the input. +/// A renderer's output is guaranteed to be well-formed unless [RenderDirective] is part of the +/// input. abstract class ValueRenderer extends BaseValueRenderer { /// Renders [value] as a complete document. /// @@ -366,7 +373,8 @@ abstract class ValueRenderer extends BaseValueRenderer { /// Base class for rendering Pkl values in some binary output format. /// -/// A renderer's output is guaranteed to be well-formed unless [RenderDirective] is part of the input. +/// A renderer's output is guaranteed to be well-formed unless [RenderDirective] is part of the +/// input. @Since { version = "0.30.0" } abstract class BytesRenderer extends BaseValueRenderer { /// Renders [value] as a complete document. @@ -509,7 +517,8 @@ class YamlRenderer extends ValueRenderer { external function renderValue(value: Any): String } -/// Renders values as [XML property lists](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/PropertyLists/UnderstandXMLPlist/UnderstandXMLPlist.html). +/// Renders values as +/// [XML property lists](https://developer.apple.com/library/content/documentation/Cocoa/Conceptual/PropertyLists/UnderstandXMLPlist/UnderstandXMLPlist.html). /// /// XML property lists do not support [null] values. /// This renderer handles [null] values as follows: @@ -526,7 +535,8 @@ class PListRenderer extends ValueRenderer { external function renderValue(value: Any): String } -/// Renders values as [Java Properties](https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html). +/// Renders values as +/// [Java Properties](https://docs.oracle.com/javase/8/docs/api/java/util/Properties.html). /// /// Pkl object properties and keys of type [Boolean], [String], [Int], and [Float] /// are flattened into dot-separated Java property keys. @@ -803,8 +813,8 @@ abstract external class Number extends Any { /// /// If [this] is an [Int], returns [this]. /// If [this] is [NaN], [Infinity], -[Infinity], `0.0`, or `-0.0`, returns [this]. - /// If [this] is less than zero, returns the smallest [Float] that is greater than or equal to [this] - /// and is equal to a mathematical integer. + /// If [this] is less than zero, returns the smallest [Float] that is greater than or equal to + /// [this] and is equal to a mathematical integer. /// Otherwise, returns the largest [Float] that is less than or equal to [this] /// and is equal to a mathematical integer. abstract function truncate(): Number @@ -827,7 +837,8 @@ abstract external class Number extends Any { /// Converts this number to its decimal string representation. abstract function toString(): String - /// Converts this number to a decimal fixed-point representation with [fractionDigits] digits after the decimal point. + /// Converts this number to a decimal fixed-point representation with [fractionDigits] digits + /// after the decimal point. abstract function toFixed(fractionDigits: Int(this.isBetween(0, 20))): String /// Converts this number to a duration with [this] value and the given [unit]. @@ -864,13 +875,15 @@ abstract external class Number extends Any { /// Tells if this number is [NaN]. /// /// Always use this method when testing for [NaN]. - /// Note that `x == NaN` is *not* a correct way to test for [NaN] because `NaN != NaN` as per the IEEE spec. + /// Note that `x == NaN` is *not* a correct way to test for [NaN] because `NaN != NaN` as per the + /// IEEE spec. abstract isNaN: Boolean /// Tells if this number is not 0. abstract isNonZero: Boolean - /// Tells if this number is greater than or equal to [start] and less than or equal to [inclusiveEnd]. + /// Tells if this number is greater than or equal to [start] and less than or equal to + /// [inclusiveEnd]. /// /// Facts: /// ``` @@ -1287,7 +1300,8 @@ external class String extends Any { /// Returns the substring from [start] until [exclusiveEnd]. /// - /// Throws if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range [start]..[length]. + /// Throws if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range + /// [start]..[length]. /// /// Facts: /// ``` @@ -1301,7 +1315,8 @@ external class String extends Any { /// Returns the substring from [start] until [exclusiveEnd]. /// - /// Returns [null] if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range [start]..[length]. + /// Returns [null] if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range + /// [start]..[length]. /// /// Facts: /// ``` @@ -1450,7 +1465,8 @@ external class String extends Any { /// Reverses the order of characters in this string. external function reverse(): String - /// Removes any leading and trailing characters with Unicode property "White_Space" from this string. + /// Removes any leading and trailing characters with Unicode property "White_Space" from this + /// string. @AlsoKnownAs { names { "strip" } } external function trim(): String @@ -1480,7 +1496,8 @@ external class String extends Any { /// Splits this string matches of [pattern], up to [limit] substrings. /// /// Returns a [List] with at most [limit] elements. - /// If the limit has been reached, the last entry will contain the un-split remainder of this string. + /// If the limit has been reached, the last entry will contain the un-split remainder of this + /// string. /// /// Facts: /// ``` @@ -1642,7 +1659,8 @@ external class Duration extends Any { /// ``` external value: Number - /// An [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) representation of this duration. + /// An [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601#Durations) representation of this + /// duration. /// /// The ISO representation has the format `[-]PT{hours}H{minutes}M{seconds}S`, where /// @@ -1679,7 +1697,8 @@ external class Duration extends Any { /// ``` external isPositive: Boolean - /// Tells if this duration is greater than or equal to [start] and less than or equal to [inclusiveEnd]. + /// Tells if this duration is greater than or equal to [start] and less than or equal to + /// [inclusiveEnd]. /// /// Facts: /// ``` @@ -1735,7 +1754,8 @@ external class DataSize extends Any { /// ``` external isPositive: Boolean - /// Tells if this data size is greater than or equal to [start] and less than or equal to [inclusiveEnd]. + /// Tells if this data size is greater than or equal to [start] and less than or equal to + /// [inclusiveEnd]. /// /// Facts: /// ``` @@ -1845,7 +1865,8 @@ abstract external class Object extends Any /// Base class for objects whose members are described by a class definition. /// -/// User-defined classes (that is, classes without `external` modifier) implicitly extend this class. +/// User-defined classes (that is, classes without `external` modifier) implicitly extend this +/// class. abstract class Typed extends Object { /// Tells if this object has a property with the given [name]. external function hasProperty(name: String): Boolean @@ -1878,7 +1899,8 @@ abstract class Typed extends Object { /// } /// ``` /// -/// Unlike a [Typed] object, a dynamic object does not have an associated class describing its shape. +/// Unlike a [Typed] object, a dynamic object does not have an associated class describing its +/// shape. class Dynamic extends Object { /// The function used to compute the default value for an object element or entry given its key. hidden default: (unknown) -> Any = (_) -> new Dynamic {} @@ -1920,7 +1942,8 @@ class Dynamic extends Object { /// Notable behavior: /// - Elements and entries of [this] are ignored. /// - Properties of [this] that have no corresponding property in [clazz] are ignored. - /// - [clazz] properties that have no corresponding property in [this] have their defaults preserved. + /// - [clazz] properties that have no corresponding property in [this] have their defaults + /// preserved. /// - [clazz] properties that have neither a default nor a corresponding property in [this] /// throw an "undefined property" error (only) when accessed. /// @@ -2050,7 +2073,8 @@ class Listing extends Object { @Since { version = "0.27.0" } external singleOrNull: Element? - /// Removes elements that are duplicates after applying [selector] from this listing, preserving the first occurrence. + /// Removes elements that are duplicates after applying [selector] from this listing, preserving + /// the first occurrence. /// /// Facts: /// ``` @@ -2095,7 +2119,8 @@ class Listing extends Object { operator: (Int, Result, Element) -> Result, ): Result - /// Converts the elements of this listing to strings and concatenates them inserting [separator] between elements. + /// Converts the elements of this listing to strings and concatenates them inserting [separator] + /// between elements. external function join(separator: String): String /// Converts this listing to a [List]. @@ -2144,7 +2169,8 @@ class Mapping extends Object { @Since { version = "0.29.0" } external function getOrDefault(key: Any): Value - /// Folds the entries of this mapping in iteration order using [operator], starting with [initial]. + /// Folds the entries of this mapping in iteration order using [operator], starting with + /// [initial]. external function fold(initial: Result, operator: (Result, Key, Value) -> Result): Result /// Tells if [predicate] holds for every entry of this mapping. @@ -2435,7 +2461,8 @@ abstract external class Collection extends Any { /// ``` abstract function find(predicate: (Element) -> Boolean): Element - /// Same as [find()] but returns [null] if [predicate] does not hold for any element in this collection. + /// Same as [find()] but returns [null] if [predicate] does not hold for any element in this + /// collection. abstract function findOrNull(predicate: (Element) -> Boolean): Element? /// The last element for which [predicate] returns [true]. @@ -2450,7 +2477,8 @@ abstract external class Collection extends Any { /// ``` abstract function findLast(predicate: (Element) -> Boolean): Any - /// Same as [findLast()] but returns [null] if [predicate] does not hold for any element in this collection. + /// Same as [findLast()] but returns [null] if [predicate] does not hold for any element in this + /// collection. abstract function findLastOrNull(predicate: (Element) -> Boolean): Element? /// The index of the first element for which [predicate] returns [true]. @@ -2466,7 +2494,8 @@ abstract external class Collection extends Any { @AlsoKnownAs { names { "indexWhere" } } abstract function findIndex(predicate: (Element) -> Boolean): Int - /// Same as [findIndex()] but returns [null] if [predicate] does not hold for any element in this collection. + /// Same as [findIndex()] but returns [null] if [predicate] does not hold for any element in this + /// collection. @AlsoKnownAs { names { "indexWhere" } } abstract function findIndexOrNull(predicate: (Element) -> Boolean): Int? @@ -2483,7 +2512,8 @@ abstract external class Collection extends Any { @AlsoKnownAs { names { "lastIndexWhere" } } abstract function findLastIndex(predicate: (Element) -> Boolean): Int - /// Same as [findLastIndex()] but returns [null] if [predicate] does not hold for any element in this collection. + /// Same as [findLastIndex()] but returns [null] if [predicate] does not hold for any element in + /// this collection. @AlsoKnownAs { names { "lastIndexWhere" } } abstract function findLastIndexOrNull(predicate: (Element) -> Boolean): Int? @@ -2580,7 +2610,8 @@ abstract external class Collection extends Any { /// ``` abstract function mapIndexed(transform: (Int, Element) -> Result): Collection - /// Transforms this collection by applying [transform] to each element and removing resulting [null] elements. + /// Transforms this collection by applying [transform] to each element and removing resulting + /// [null] elements. /// /// Equivalent to `map(transform).filterNonNull()`. /// @@ -2593,7 +2624,8 @@ abstract external class Collection extends Any { transform: (Element) -> Result, ): Collection - /// Transforms this collection by applying [transform] to each element and removing resulting [null] elements. + /// Transforms this collection by applying [transform] to each element and removing resulting + /// [null] elements. /// /// [transform] takes two arguments: the index of the element, and the element itself. /// @@ -2702,7 +2734,8 @@ abstract external class Collection extends Any { /// Same as [min] but returns [null] if this collection is empty. abstract minOrNull: Element? - /// Returns the first element in this collection that is less than or equal to any other element after applying [selector]. + /// Returns the first element in this collection that is less than or equal to any other element + /// after applying [selector]. /// /// Shorthand for `minWith((a, b) -> selector.apply(a) < selector.apply(b))`. /// @@ -2712,9 +2745,11 @@ abstract external class Collection extends Any { /// Same as [minBy()] but returns [null] if this collection is empty. abstract function minByOrNull(selector: (Element) -> Comparable): Element? - /// Returns the first element in this collection that is less than or equal to any other element according to [comparator]. + /// Returns the first element in this collection that is less than or equal to any other element + /// according to [comparator]. /// - /// [comparator] should return [true] if its first argument is less than its second argument, and [false] otherwise. + /// [comparator] should return [true] if its first argument is less than its second argument, and + /// [false] otherwise. /// /// Throws if this collection is empty. abstract function minWith(comparator: (Element, Element) -> Boolean): Element @@ -2722,7 +2757,8 @@ abstract external class Collection extends Any { /// Same as [minWith()] but returns [null] if this collection is empty. abstract function minWithOrNull(comparator: (Element, Element) -> Boolean): Element? - /// Returns the first element in this collection that is greater than or equal to any other element. + /// Returns the first element in this collection that is greater than or equal to any other + /// element. /// /// Shorthand for `maxWith((a, b) -> a < b)`. /// @@ -2732,19 +2768,23 @@ abstract external class Collection extends Any { /// Same as [max] but returns [null] if this collection empty. abstract maxOrNull: Element - /// Returns the first element in this collection that is greater than or equal to any other element after applying [selector]. + /// Returns the first element in this collection that is greater than or equal to any other + /// element after applying [selector]. /// /// Shorthand for `maxWith((a, b) -> selector.apply(a) < selector.apply(b))`. /// - /// Throws if this collection is empty, or if any two elements cannot be compared with `<` after applying [selector]. + /// Throws if this collection is empty, or if any two elements cannot be compared with `<` after + /// applying [selector]. abstract function maxBy(selector: (Element) -> Comparable): Element /// Same as [maxBy()] but returns [null] if this collection is empty. abstract function maxByOrNull(selector: (Element) -> Comparable): Element? - /// Returns the first element in this collection that is greater than or equal to any other element according to [comparator]. + /// Returns the first element in this collection that is greater than or equal to any other + /// element according to [comparator]. /// - /// [comparator] should return [true] if its first argument is less than its second argument, and [false] otherwise. + /// [comparator] should return [true] if its first argument is less than its second argument, and + /// [false] otherwise. /// /// Throws if this collection is empty. abstract function maxWith(comparator: (Element, Element) -> Boolean | /*Deprecated*/ Int): Element @@ -2765,7 +2805,8 @@ abstract external class Collection extends Any { /// /// Shorthand for `sortWith((a, b) -> selector.apply(a) < selector.apply(b))`. /// - /// Throws if any two elements in this collection cannot be compared with `<` after applying [selector]. + /// Throws if any two elements in this collection cannot be compared with `<` after applying + /// [selector]. abstract function sortBy(selector: (Element) -> Comparable): Collection /// Sorts this collection according to [comparator]. @@ -2803,7 +2844,8 @@ abstract external class Collection extends Any { /* Note: Can't specify return type precisely. */ abstract function transpose(): Collection - /// Converts the elements of this collection to strings and concatenates them inserting [separator] between elements. + /// Converts the elements of this collection to strings and concatenates them inserting + /// [separator] between elements. abstract function join(separator: String): String /// Converts this collection to a list. @@ -2816,7 +2858,8 @@ abstract external class Collection extends Any { /// Returns this collection if it already is a set. abstract function toSet(): Set - /// Converts this collection to a map by extracting a key and value from each element using the given functions. + /// Converts this collection to a map by extracting a key and value from each element using the + /// given functions. abstract function toMap( keyExtractor: (Element) -> Key, valueExtractor: (Element) -> Value, @@ -2994,7 +3037,8 @@ external class List extends Collection { /// Returns the sublist from [start] until [exclusiveEnd]. /// - /// Throws if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range [start]..[length]. + /// Throws if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range + /// [start]..[length]. /// /// Facts: /// ``` @@ -3010,7 +3054,8 @@ external class List extends Collection { /// Returns the sublist from [start] until [exclusiveEnd]. /// - /// Returns [null] if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range [start]..[length]. + /// Returns [null] if [start] is outside range `0`..[length] or [exclusiveEnd] is outside range + /// [start]..[length]. /// /// Facts: /// ``` @@ -3097,7 +3142,8 @@ external class List extends Collection { @AlsoKnownAs { names { "unique" } } external distinct: List - /// Removes elements that are duplicates after applying [selector] from this list, preserving the first occurrence. + /// Removes elements that are duplicates after applying [selector] from this list, preserving the + /// first occurrence. /// /// Facts: /// ```