W3cubDocs

/Haxe

Case

package haxe.macro

import haxe.macro.Expr

Available on all platforms

Represents a switch case.

See:

Properties

expr:Null<Expr>

The expression of the case, if available.

@:optional guard:Null<Null<Expr>>

The optional guard expressions of the case, if available.

values:Array<Expr>

The value expressions of the case.

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