W3cubDocs

/Haxe

TypePath

package haxe.macro

import haxe.macro.Expr

Available on all platforms

Represents a type path in the AST.

Fields

optionalsub:Null<String>

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

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

© 2005–2020 Haxe Foundation
Licensed under a MIT license.
https://api.haxe.org/haxe/macro/TypePath.html