Represents a type path in the AST.

Fields

@:optionaloptionalsub:Null<String>

Sub is set on module sub-type access: `pack.Module.Type` has `name = "Module"`, `sub = "Type"`, if available.

@:optionaloptionalposPath:Null<Position>

The position of the dot-path itself, without type parameters.

@:optionaloptionalpos:Null<Position>

The full position of the type path, including type parameters.

@:optionaloptionalparams:Null<Array<TypeParam>>

Optional parameters of the type path.

pack:Array<String>

Represents the package of the type path.

name:String

The name of the type path.