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.

@: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.