W3cubDocs

/Haxe

Ref<T>

package haxe.macro

import haxe.macro.Type

Available on all platforms

Represents a reference to internal compiler structure. It exists to avoid expensive encoding if it is not required and to ensure that physical equality remains intact.

A structure is only encoded when user requests it through ref.get().

Properties

get ():T

toString ():String

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