Logo Fabulous.AST

InterpolatedStringBuilders Module

Type extensions

Type extension Description

Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)

Full Usage: Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)

Parameters:
    parts : TextSegment seq - The parts of the interpolated string.
    ?isTripleQuoted : bool - Whether the string is triple-quoted ($"""...""").
    ?dollars : int - The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.
    ?isVerbatim : bool - Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Create an interpolated string expression.

Extended Type: Ast

parts : TextSegment seq

The parts of the interpolated string.

?isTripleQuoted : bool

Whether the string is triple-quoted ($"""...""").

?dollars : int

The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.

?isVerbatim : bool

Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)

Full Usage: Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)

Parameters:
    part : TextSegment - The parts of the interpolated string.
    ?isTripleQuoted : bool - Whether the string is triple-quoted ($"""...""").
    ?dollars : int - The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.
    ?isVerbatim : bool - Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Create an interpolated string expression.

Extended Type: Ast

part : TextSegment

The parts of the interpolated string.

?isTripleQuoted : bool

Whether the string is triple-quoted ($"""...""").

?dollars : int

The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.

?isVerbatim : bool

Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)

Full Usage: Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)

Parameters:
    parts : WidgetBuilder<Expr> seq - The parts of the interpolated string.
    ?isTripleQuoted : bool - Whether the string is triple-quoted ($"""...""").
    ?dollars : int - The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.
    ?isVerbatim : bool - Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Create an interpolated string expression.

Extended Type: Ast

parts : WidgetBuilder<Expr> seq

The parts of the interpolated string.

?isTripleQuoted : bool

Whether the string is triple-quoted ($"""...""").

?dollars : int

The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.

?isVerbatim : bool

Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)

Full Usage: Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)

Parameters:
    part : WidgetBuilder<Expr> - The parts of the interpolated string.
    ?isTripleQuoted : bool - Whether the string is triple-quoted ($"""...""").
    ?dollars : int - The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.
    ?isVerbatim : bool - Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Create an interpolated string expression.

Extended Type: Ast

part : WidgetBuilder<Expr>

The parts of the interpolated string.

?isTripleQuoted : bool

Whether the string is triple-quoted ($"""...""").

?dollars : int

The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.

?isVerbatim : bool

Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)

Full Usage: Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)

Parameters:
    parts : WidgetBuilder<Constant> seq - The parts of the interpolated string.
    ?isTripleQuoted : bool - Whether the string is triple-quoted ($"""...""").
    ?dollars : int - The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.
    ?isVerbatim : bool - Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Create an interpolated string expression.

Extended Type: Ast

parts : WidgetBuilder<Constant> seq

The parts of the interpolated string.

?isTripleQuoted : bool

Whether the string is triple-quoted ($"""...""").

?dollars : int

The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.

?isVerbatim : bool

Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)

Full Usage: Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)

Parameters:
    part : WidgetBuilder<Constant> - The parts of the interpolated string.
    ?isTripleQuoted : bool - Whether the string is triple-quoted ($"""...""").
    ?dollars : int - The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.
    ?isVerbatim : bool - Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Create an interpolated string expression.

Extended Type: Ast

part : WidgetBuilder<Constant>

The parts of the interpolated string.

?isTripleQuoted : bool

Whether the string is triple-quoted ($"""...""").

?dollars : int

The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.

?isVerbatim : bool

Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)

Full Usage: Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)

Parameters:
    parts : string seq - The parts of the interpolated string.
    ?isTripleQuoted : bool - Whether the string is triple-quoted ($"""...""").
    ?dollars : int - The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.
    ?isVerbatim : bool - Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Create an interpolated string expression.

Extended Type: Ast

parts : string seq

The parts of the interpolated string.

?isTripleQuoted : bool

Whether the string is triple-quoted ($"""...""").

?dollars : int

The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.

?isVerbatim : bool

Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)

Full Usage: Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)

Parameters:
    part : string - The parts of the interpolated string.
    ?isTripleQuoted : bool - Whether the string is triple-quoted ($"""...""").
    ?dollars : int - The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.
    ?isVerbatim : bool - Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Create an interpolated string expression.

Extended Type: Ast

part : string

The parts of the interpolated string.

?isTripleQuoted : bool

Whether the string is triple-quoted ($"""...""").

?dollars : int

The number of $ (extended interpolation, $$"""{{x}}"""). More than one needs isTripleQuoted = true; expressions given without a brace count are wrapped in as many braces as there are dollars.

?isVerbatim : bool

Whether the string is verbatim ($@"..."). It cannot also be triple-quoted or have more than one $. Text segments are written as is, so double any " in them.

Returns: WidgetBuilder<Expr>

Type something to start searching.