W3cubDocs

/Haxe

Case

package haxe.macro

import haxe.macro.Expr

Available on all platforms

Represents a switch case.

See also:

Fields

values:Array<Expr>

The value expressions of the case.

optionalguard:Null<Expr>

The optional guard expressions of the case, if available.

expr:Null<Expr>

The expression of the case, if available.

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