Class IntArg
Represents an integer argument to a function.
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: Fluency.Execution.Parsing.Entities.ArgumentTypes
Assembly: Execution.dll
Syntax
public class IntArg : Argument
Properties
| Improve this Doc View SourceType
The Fluency type this object is.
Declaration
public override FluencyType Type { get; }
Property Value
| Type | Description |
|---|---|
| FluencyType |
Overrides
Methods
| Improve this Doc View SourceToString()
Return the stored integer as a string.
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()
|
Improve this Doc
View Source
TryParseArg(String)
If str represents an integer, make an IntArg. Otherwise, return null.
Declaration
public static IntArg TryParseArg(string str)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | str |
Returns
| Type | Description |
|---|---|
| IntArg |
Value()
Get the value this argument represents.
Declaration
protected override object Value()
Returns
| Type | Description |
|---|---|
| System.Object |