Represents a type syntax in the AST.
Values
TFunction(args:Array<ComplexType>, ret:ComplexType)
TAnonymous(fields:Array<Field>)
Represents an anonymous structure type.
See also:
TExtend(p:Array<TypePath>, fields:Array<Field>)
Represents typedef extensions > Iterable<T>
.
The array p
holds the type paths to the given types.
See also:
TOptional(t:ComplexType)
Represents an optional type.
TNamed(n:String, t:ComplexType)
Represents a type with a name.
TIntersection(tl:Array<ComplexType>)
Represents an intersection type T1 & T2 & ... & TN
.