ConstantBuilders Module
Type extensions
| Type extension |
Description
|
Full Usage:
Ast.Backticks(value)
Parameters:
string
-
The identifier value.
Returns: WidgetBuilder<Constant>
|
Creates a backtick-quoted identifier constant.
Extended Type:
|
Full Usage:
Ast.Backticks(value)
Parameters:
WidgetBuilder<Constant>
-
The constant value to wrap in backticks.
Returns: WidgetBuilder<Constant>
|
Creates a backtick-quoted identifier constant from another constant.
Extended Type:
|
Full Usage:
Ast.Bool(value)
Parameters:
bool
-
The boolean value.
Returns: WidgetBuilder<Constant>
|
Creates a boolean constant.
Extended Type:
|
Full Usage:
Ast.Byte(value)
Parameters:
byte
-
The byte value.
Returns: WidgetBuilder<Constant>
|
Creates a byte constant.
Extended Type:
|
Full Usage:
Ast.Char(value)
Parameters:
char
-
The character value.
Returns: WidgetBuilder<Constant>
|
Creates a character constant.
Extended Type:
|
Full Usage:
Ast.Constant(value)
Parameters:
string
-
The constant value as a string.
Returns: WidgetBuilder<Constant>
|
Creates a custom constant with the specified value.
Extended Type:
|
Full Usage:
Ast.Decimal(value)
Parameters:
decimal
-
The decimal value.
Returns: WidgetBuilder<Constant>
|
Creates a decimal constant.
Extended Type:
|
Full Usage:
Ast.Double(value)
Parameters:
double
-
The double-precision floating-point value.
Returns: WidgetBuilder<Constant>
|
Creates a double-precision floating-point constant.
Extended Type:
|
Full Usage:
Ast.Float(value)
Parameters:
float
-
The floating-point value.
Returns: WidgetBuilder<Constant>
|
Creates a floating-point constant.
Extended Type:
|
Full Usage:
Ast.Float32(value)
Parameters:
float32
-
The 32-bit floating-point value.
Returns: WidgetBuilder<Constant>
|
Creates a 32-bit floating-point constant.
Extended Type:
|
Full Usage:
Ast.Int(value)
Parameters:
int
-
The 32-bit integer value.
Returns: WidgetBuilder<Constant>
|
Creates a 32-bit integer constant.
Extended Type:
|
Full Usage:
Ast.Int16(value)
Parameters:
int16
-
The 16-bit integer value.
Returns: WidgetBuilder<Constant>
|
Creates a 16-bit integer constant.
Extended Type:
|
Full Usage:
Ast.Int64(value)
Parameters:
int64
-
The 64-bit integer value.
Returns: WidgetBuilder<Constant>
|
Creates a 64-bit integer constant.
Extended Type:
|
Full Usage:
Ast.IntPtr(value)
Parameters:
IntPtr
-
The native integer value.
Returns: WidgetBuilder<Constant>
|
Creates a native integer constant.
Extended Type:
|
Full Usage:
Ast.SByte(value)
Parameters:
sbyte
-
The signed byte value.
Returns: WidgetBuilder<Constant>
|
Creates a signed byte constant.
Extended Type:
|
Full Usage:
Ast.Single(value)
Parameters:
single
-
The single-precision floating-point value.
Returns: WidgetBuilder<Constant>
|
Creates a single-precision floating-point constant.
Extended Type:
|
Full Usage:
Ast.String(value)
Parameters:
string
-
The string value.
Returns: WidgetBuilder<Constant>
|
Creates a string constant with proper escaping.
Extended Type:
|
Full Usage:
Ast.String(value)
Parameters:
WidgetBuilder<Constant>
-
The constant value to wrap as a string.
Returns: WidgetBuilder<Constant>
|
Creates a string constant from another constant.
Extended Type:
|
Full Usage:
Ast.TripleQuotedString(value)
Parameters:
string
-
The string value.
Returns: WidgetBuilder<Constant>
|
Creates a triple-quoted string constant using the """...""" syntax.
Extended Type:
|
Full Usage:
Ast.TripleQuotedString(value)
Parameters:
WidgetBuilder<Constant>
-
The constant value to wrap as a triple-quoted string.
Returns: WidgetBuilder<Constant>
|
Creates a triple-quoted string constant using the """...""" syntax from another constant.
Extended Type:
|
Full Usage:
Ast.UInt16(value)
Parameters:
uint16
-
The unsigned 16-bit integer value.
Returns: WidgetBuilder<Constant>
|
Creates an unsigned 16-bit integer constant.
Extended Type:
|
Full Usage:
Ast.UInt32(value)
Parameters:
uint32
-
The unsigned 32-bit integer value.
Returns: WidgetBuilder<Constant>
|
Creates an unsigned 32-bit integer constant.
Extended Type:
|
Full Usage:
Ast.UInt64(value)
Parameters:
uint64
-
The unsigned 64-bit integer value.
Returns: WidgetBuilder<Constant>
|
Creates an unsigned 64-bit integer constant.
Extended Type:
|
Full Usage:
Ast.UIntPtr(value)
Parameters:
UIntPtr
-
The unsigned native integer value.
Returns: WidgetBuilder<Constant>
|
Creates an unsigned native integer constant.
Extended Type:
|
Full Usage:
Ast.VerbatimString(value)
Parameters:
string
-
The raw string value.
Returns: WidgetBuilder<Constant>
|
Creates a raw (verbatim) string constant using the @"..." syntax.
Extended Type:
|
Full Usage:
Ast.VerbatimString(value)
Parameters:
WidgetBuilder<Constant>
-
The constant value to wrap as a raw string.
Returns: WidgetBuilder<Constant>
|
Creates a raw (verbatim) string constant using the @"..." syntax from another constant.
Extended Type:
|
Fabulous.AST