mirror of
https://github.com/apple/pkl.git
synced 2026-04-11 03:06:55 +02:00
Apply pkl formatter to codebase (#1236)
This applies the Pkl formatter to `stdlib/` and `.circleci/`
This commit is contained in:
@@ -216,7 +216,7 @@ external class Module extends Declaration {
|
||||
/// A class or type alias declaration.
|
||||
abstract external class TypeDeclaration extends Declaration {
|
||||
/// The class or type alias reflected upon.
|
||||
abstract hidden reflectee: base.Class|base.TypeAlias
|
||||
abstract hidden reflectee: base.Class | base.TypeAlias
|
||||
|
||||
/// The module enclosing this type declaration.
|
||||
///
|
||||
@@ -298,7 +298,7 @@ external class Property extends Declaration {
|
||||
allModifiers: Set<Modifier>
|
||||
|
||||
/// The annotations of this module, appended with any from the containing class's superclasses.
|
||||
///
|
||||
///
|
||||
/// Annotations are ordered starting with the current class and walking up the class hierarchy.
|
||||
@Since { version = "0.30.0" }
|
||||
allAnnotations: List<Annotation>
|
||||
@@ -341,13 +341,13 @@ external class TypeParameter {
|
||||
}
|
||||
|
||||
/// A modifier of a [Declaration].
|
||||
typealias Modifier = "abstract"|"external"|"hidden"|"open"|"fixed"|"const"
|
||||
typealias Modifier = "abstract" | "external" | "hidden" | "open" | "fixed" | "const"
|
||||
|
||||
/// The variance of a [TypeParameter].
|
||||
///
|
||||
/// An "in" type parameter is contravariant.
|
||||
/// An "out" type parameter is covariant.
|
||||
typealias Variance = "in"|"out"
|
||||
typealias Variance = "in" | "out"
|
||||
|
||||
/// A type as it occurs, say, in a type annotation.
|
||||
abstract external class Type {
|
||||
|
||||
Reference in New Issue
Block a user