InterpolatedStringBuilders Module
Type extensions
| Type extension |
Description
|
Full Usage:
Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)
Parameters:
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:
|
Full Usage:
Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)
Parameters:
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:
|
Full Usage:
Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)
Parameters:
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:
|
Full Usage:
Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)
Parameters:
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:
|
Full Usage:
Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)
Parameters:
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:
|
Full Usage:
Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)
Parameters:
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:
|
Full Usage:
Ast.InterpolatedStringExpr(parts, ?isTripleQuoted, ?dollars, ?isVerbatim)
Parameters:
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:
|
Full Usage:
Ast.InterpolatedStringExpr(part, ?isTripleQuoted, ?dollars, ?isVerbatim)
Parameters:
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:
|
Fabulous.AST