EnumCaseBuilders Module
Type extensions
| Type extension |
Description
|
Full Usage:
Ast.EnumCase(name, field)
Parameters:
string
-
The name of the enum case.
field : WidgetBuilder<Expr>
-
The field of the enum case.
Returns: WidgetBuilder<EnumCaseNode>
|
Create an enum case with the given name and field.
Extended Type:
|
Full Usage:
Ast.EnumCase(name, field)
Parameters:
string
-
The name of the enum case.
field : WidgetBuilder<Constant>
-
The field of the enum case.
Returns: WidgetBuilder<EnumCaseNode>
|
Create an enum case with the given name and field.
Extended Type:
|
Full Usage:
Ast.EnumCase(name, field)
Parameters:
string
-
The name of the enum case.
field : string
-
The field of the enum case.
Returns: WidgetBuilder<EnumCaseNode>
|
Create an enum case with the given name and field.
Extended Type:
|
Fabulous.AST