Show / Hide Table of Contents

Class IntArg

Represents an integer argument to a function.

Inheritance
System.Object
Argument
IntArg
Inherited Members
Argument.TryParse(String, Argument)
Argument.GetAs<T>()
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 Source

Type

The Fluency type this object is.

Declaration
public override FluencyType Type { get; }
Property Value
Type Description
FluencyType
Overrides
Argument.Type

Methods

| Improve this Doc View Source

ToString()

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
| Improve this Doc View Source

Value()

Get the value this argument represents.

Declaration
protected override object Value()
Returns
Type Description
System.Object
Overrides
Argument.Value()
  • Improve this Doc
  • View Source
Back to top Generated by DocFX