mirror of
https://github.com/apple/pkl.git
synced 2026-09-10 20:01:46 +02:00
Add this as a self type (#1708)
This commit is contained in:
@@ -107,6 +107,9 @@ const bytesType: DeclaredType = DeclaredType(Class(Bytes))
|
||||
/// A mirror for the `module` type.
|
||||
external const moduleType: ModuleType
|
||||
|
||||
/// A mirror for the `this` type.
|
||||
external const thisType: ThisType
|
||||
|
||||
/// A mirror for the `unknown` type.
|
||||
external const unknownType: UnknownType
|
||||
|
||||
@@ -431,6 +434,11 @@ external class FunctionType extends Type {
|
||||
/// [moduleType] is an instance of this class.
|
||||
class ModuleType extends Type
|
||||
|
||||
/// The `this` type.
|
||||
///
|
||||
/// [thisType] is an instance of this class.
|
||||
class ThisType extends Type
|
||||
|
||||
/// The `unknown` type.
|
||||
///
|
||||
/// [unknownType] is an instance of this class.
|
||||
|
||||
Reference in New Issue
Block a user