Header menu logo Fabulous.AST

AttributeNodeBuilders Module

Type extensions

Type extension Description

Ast.Attribute(value)

Full Usage: Ast.Attribute(value)

Parameters:
    value : string - The name of the attribute.

Returns: WidgetBuilder<AttributeNode>

Creates an attribute with the specified name.

Extended Type: Ast

value : string

The name of the attribute.

Returns: WidgetBuilder<AttributeNode>

Ast.Attribute(value, expr)

Full Usage: Ast.Attribute(value, expr)

Parameters:
    value : string - The name of the attribute.
    expr : WidgetBuilder<Expr> - The expression value of the attribute.

Returns: WidgetBuilder<AttributeNode>

Creates an attribute with the specified name and expression value.

Extended Type: Ast

value : string

The name of the attribute.

expr : WidgetBuilder<Expr>

The expression value of the attribute.

Returns: WidgetBuilder<AttributeNode>

Ast.Attribute(value, expr)

Full Usage: Ast.Attribute(value, expr)

Parameters:
    value : string - The name of the attribute.
    expr : WidgetBuilder<Constant> - The constant value of the attribute.

Returns: WidgetBuilder<AttributeNode>

Creates an attribute with the specified name and constant value.

Extended Type: Ast

value : string

The name of the attribute.

expr : WidgetBuilder<Constant>

The constant value of the attribute.

Returns: WidgetBuilder<AttributeNode>

Ast.Attribute(value, expr)

Full Usage: Ast.Attribute(value, expr)

Parameters:
    value : string - The name of the attribute.
    expr : string - The string value of the attribute.

Returns: WidgetBuilder<AttributeNode>

Creates an attribute with the specified name and string value.

Extended Type: Ast

value : string

The name of the attribute.

expr : string

The string value of the attribute.

Returns: WidgetBuilder<AttributeNode>

Ast.AttributeTarget(value, target)

Full Usage: Ast.AttributeTarget(value, target)

Parameters:
    value : string - The name of the attribute.
    target : string - The target of the attribute.

Returns: WidgetBuilder<AttributeNode>

Creates an attribute with a specified target.

Extended Type: Ast

value : string

The name of the attribute.

target : string

The target of the attribute.

Returns: WidgetBuilder<AttributeNode>

Ast.AttributeTarget(value, expr, target)

Full Usage: Ast.AttributeTarget(value, expr, target)

Parameters:
    value : string - The name of the attribute.
    expr : WidgetBuilder<Expr> - The expression value of the attribute.
    target : string - The target of the attribute.

Returns: WidgetBuilder<AttributeNode>

Creates an attribute with a specified target and expression value.

Extended Type: Ast

value : string

The name of the attribute.

expr : WidgetBuilder<Expr>

The expression value of the attribute.

target : string

The target of the attribute.

Returns: WidgetBuilder<AttributeNode>

Ast.AttributeTarget(value, expr, target)

Full Usage: Ast.AttributeTarget(value, expr, target)

Parameters:
    value : string - The name of the attribute.
    expr : WidgetBuilder<Constant> - The constant value of the attribute.
    target : string - The target of the attribute.

Returns: WidgetBuilder<AttributeNode>

Creates an attribute with a specified target and constant value.

Extended Type: Ast

value : string

The name of the attribute.

expr : WidgetBuilder<Constant>

The constant value of the attribute.

target : string

The target of the attribute.

Returns: WidgetBuilder<AttributeNode>

Ast.AttributeTarget(value, expr, target)

Full Usage: Ast.AttributeTarget(value, expr, target)

Parameters:
    value : string - The name of the attribute.
    expr : string - The string value of the attribute.
    target : string - The target of the attribute.

Returns: WidgetBuilder<AttributeNode>

Creates an attribute with a specified target and string value.

Extended Type: Ast

value : string

The name of the attribute.

expr : string

The string value of the attribute.

target : string

The target of the attribute.

Returns: WidgetBuilder<AttributeNode>

Type something to start searching.