Module full_moon::ast::types [−][src]
Expand description
Contains the types necessary to parse Roblox’s typed Lua. Only usable when the “roblox” feature flag is enabled.
Structs
A Compound Assignment statement, such as x += 1
or x -= 1
An exported type declaration, such as export type Meters = number
The generics used in a TypeDeclaration
.
A type argument specified in a callback type, the count: number
in (count: number) -> ()
A type assertion using ::
, such as :: number
.
A type declaration, such as type Meters = number
A type field used within table types.
The foo: number
in { foo: number }
.
A type specifier, the : number
in local foo: number
Enums
Compound operators, such as X += Y or X -= Y
A subset of TypeInfo that consists of items which can only be used as an index, such as Foo
and Foo<Bar>
,
A key in a TypeField
. Can either be a name or an index signature.
Any type, such as string
, boolean?
, number | boolean
, etc.