Class RegexpLiteral
Expressions begin and end with /
and are regular expressions with syntax accepted by RE2
Namespace: InfluxDB.Client.Api.Domain
Assembly: InfluxDB.Client.dll
Syntax
public class RegexpLiteral : Expression, IEquatable<Expression>, IEquatable<RegexpLiteral>
Constructors
RegexpLiteral(String, String)
Initializes a new instance of the Regexp
Declaration
public RegexpLiteral(string type = null, string value = null)
Parameters
Type | Name | Description |
---|---|---|
System. |
type | Type of AST node. |
System. |
value | value. |
Properties
Type
Type of AST node
Declaration
public string Type { get; set; }
Property Value
Type | Description |
---|---|
System. |
Type of AST node |
Value
Gets or Sets Value
Declaration
public string Value { get; set; }
Property Value
Type | Description |
---|---|
System. |
Methods
Equals(RegexpLiteral)
Returns true if RegexpLiteral instances are equal
Declaration
public bool Equals(RegexpLiteral input)
Parameters
Type | Name | Description |
---|---|---|
Regexp |
input | Instance of RegexpLiteral to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System. |
input | Object to be compared |
Returns
Type | Description |
---|---|
System. |
Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System. |
Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public override string ToJson()
Returns
Type | Description |
---|---|
System. |
JSON string presentation of the object |
Overrides
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System. |
String presentation of the object |
Overrides
Implements
IEquatable<>
IEquatable<>