Constant parameter.
More...
Constant parameter.
Definition at line 43 of file FormalParameter.cs.
| Mercury.Interpreting.ConstantParameter.ConstantParameter |
( |
object |
value, |
|
|
ParameterType |
type |
|
) |
| |
Creates a new ConstantParameter instance.
- Parameters
-
| value | The value of this constant. |
| type | Parameter type. |
- Exceptions
-
| System.ArgumentNullException | When value is null. |
Definition at line 53 of file FormalParameter.cs.
| static ConstantParameter Mercury.Interpreting.ConstantParameter.AutoCreate |
( |
string |
value | ) |
|
|
static |
Tries to parse the string value and infers its type.
- Parameters
-
| value | String constant value. |
- Returns
- A constant parameter.
Definition at line 98 of file FormalParameter.cs.
| static ConstantParameter Mercury.Interpreting.ConstantParameter.BooleanParameter |
( |
bool |
value | ) |
|
|
static |
Creates a new boolean constant parameter
- Parameters
-
- Returns
- The constant parameter.
Definition at line 84 of file FormalParameter.cs.
| override bool Mercury.Interpreting.ConstantParameter.Equals |
( |
object |
obj | ) |
|
| override int Mercury.Interpreting.ConstantParameter.GetHashCode |
( |
| ) |
|
| static ConstantParameter Mercury.Interpreting.ConstantParameter.IntegralParameter |
( |
int |
value | ) |
|
|
static |
Creates a new integral constant parameter.
- Parameters
-
- Returns
- The constant parameter.
Definition at line 72 of file FormalParameter.cs.
| static ConstantParameter Mercury.Interpreting.ConstantParameter.RealParameter |
( |
double |
value | ) |
|
|
static |
Creates a new real constant parameter.
- Parameters
-
- Returns
- The constant parameter.
Definition at line 78 of file FormalParameter.cs.
| static ConstantParameter Mercury.Interpreting.ConstantParameter.StringParameter |
( |
string |
value | ) |
|
|
static |
Creates a new string constant parameter.
- Parameters
-
- Returns
- The constant parameter.
Definition at line 90 of file FormalParameter.cs.
| override string Mercury.Interpreting.ConstantParameter.ToString |
( |
| ) |
|
| object Mercury.Interpreting.ConstantParameter.Value |
|
getset |
The documentation for this class was generated from the following file: