Package org.pkl.core
Class PType
java.lang.Object
org.pkl.core.PType
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
PType.Alias,PType.Class,PType.Constrained,PType.Function,PType.Nullable,PType.StringLiteral,PType.TypeVariable,PType.Union
A Pkl type as used in type annotations.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final classstatic final class -
Field Summary
Fields -
Method Summary
-
Field Details
-
UNKNOWN
The `unknown` type. Omitting a type annotation is equivalent to stating this type. -
NOTHING
The bottom type. -
MODULE
The type of the enclosing module.
-
-
Method Details
-
getTypeArguments
-