Show / Hide Table of Contents

Class StringArg

Represents a string argument to a function.

Inheritance
System.Object
Argument
StringArg
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 StringArg : 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 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 a string (surrounded by quotes), make a StringArg. Otherwise, return null.

Declaration
public static StringArg TryParseArg(string str)
Parameters
Type Name Description
System.String str
Returns
Type Description
StringArg
| 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