Header menu logo Fabulous.AST

ParameterBuilders Module

Type extensions

Type extension Description

Ast.ParameterPat(name, pType)

Full Usage: Ast.ParameterPat(name, pType)

Parameters:
Returns: WidgetBuilder<Pattern>

Creates a typed parameter pattern with a Pattern widget and Type widget.

Extended Type: Ast

name : WidgetBuilder<Pattern>

The pattern for the parameter name.

pType : WidgetBuilder<Type>

The type of the parameter.

Returns: WidgetBuilder<Pattern>

Ast.ParameterPat(name, pType)

Full Usage: Ast.ParameterPat(name, pType)

Parameters:
    name : WidgetBuilder<Pattern> - The pattern for the parameter name.
    pType : string - The type of the parameter as a string.

Returns: WidgetBuilder<Pattern>

Creates a typed parameter pattern with a Pattern widget and string type.

Extended Type: Ast

name : WidgetBuilder<Pattern>

The pattern for the parameter name.

pType : string

The type of the parameter as a string.

Returns: WidgetBuilder<Pattern>

Ast.ParameterPat(name, pType)

Full Usage: Ast.ParameterPat(name, pType)

Parameters:
Returns: WidgetBuilder<Pattern>

Creates a typed parameter pattern with a Constant widget and Type widget.

Extended Type: Ast

name : WidgetBuilder<Constant>

The constant for the parameter name.

pType : WidgetBuilder<Type>

The type of the parameter.

Returns: WidgetBuilder<Pattern>

Ast.ParameterPat(name, pType)

Full Usage: Ast.ParameterPat(name, pType)

Parameters:
    name : WidgetBuilder<Constant> - The constant for the parameter name.
    pType : string - The type of the parameter as a string.

Returns: WidgetBuilder<Pattern>

Creates a typed parameter pattern with a Constant widget and string type.

Extended Type: Ast

name : WidgetBuilder<Constant>

The constant for the parameter name.

pType : string

The type of the parameter as a string.

Returns: WidgetBuilder<Pattern>

Ast.ParameterPat(name, pType)

Full Usage: Ast.ParameterPat(name, pType)

Parameters:
    name : string - The name of the parameter as a string.
    pType : WidgetBuilder<Type> - The type of the parameter.

Returns: WidgetBuilder<Pattern>

Creates a typed parameter pattern with a string name and Type widget.

Extended Type: Ast

name : string

The name of the parameter as a string.

pType : WidgetBuilder<Type>

The type of the parameter.

Returns: WidgetBuilder<Pattern>

Ast.ParameterPat(name, pType)

Full Usage: Ast.ParameterPat(name, pType)

Parameters:
    name : string - The name of the parameter as a string.
    pType : string - The type of the parameter as a string.

Returns: WidgetBuilder<Pattern>

Creates a typed parameter pattern with a string name and string type.

Extended Type: Ast

name : string

The name of the parameter as a string.

pType : string

The type of the parameter as a string.

Returns: WidgetBuilder<Pattern>

Ast.ParameterPat(name)

Full Usage: Ast.ParameterPat(name)

Parameters:
Returns: WidgetBuilder<Pattern>

Creates an untyped parameter pattern with a Pattern widget.

Extended Type: Ast

name : WidgetBuilder<Pattern>

The pattern for the parameter name.

Returns: WidgetBuilder<Pattern>

Ast.ParameterPat(name)

Full Usage: Ast.ParameterPat(name)

Parameters:
Returns: WidgetBuilder<Pattern>

Creates an untyped parameter pattern with a Constant widget.

Extended Type: Ast

name : WidgetBuilder<Constant>

The constant for the parameter name.

Returns: WidgetBuilder<Pattern>

Ast.ParameterPat(name)

Full Usage: Ast.ParameterPat(name)

Parameters:
    name : string - The name of the parameter as a string.

Returns: WidgetBuilder<Pattern>

Creates an untyped parameter pattern with a string name.

Extended Type: Ast

name : string

The name of the parameter as a string.

Returns: WidgetBuilder<Pattern>

Type something to start searching.