Terraria
v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
Operand.cs
Go to the documentation of this file.
1
using
System.Xml.XPath
;
2
3
namespace
MS.Internal.Xml.XPath
;
4
5
internal
sealed
class
Operand
:
AstNode
6
{
7
private
readonly
XPathResultType
_type
;
8
9
private
readonly
object
_val
;
10
11
public
override
AstType
Type
=>
AstType
.ConstantOperand;
12
13
public
override
XPathResultType
ReturnType
=>
_type
;
14
15
public
object
OperandValue
=>
_val
;
16
17
public
Operand
(
string
val)
18
{
19
_type
=
XPathResultType
.String;
20
_val
= val;
21
}
22
23
public
Operand
(
double
val)
24
{
25
_type
=
XPathResultType
.Number;
26
_val
= val;
27
}
28
}
MS.Internal.Xml.XPath.AstNode.AstType
AstType
Definition
AstNode.cs:8
MS.Internal.Xml.XPath.AstNode
Definition
AstNode.cs:6
MS.Internal.Xml.XPath.Operand.Operand
Operand(double val)
Definition
Operand.cs:23
MS.Internal.Xml.XPath.Operand._val
readonly object _val
Definition
Operand.cs:9
MS.Internal.Xml.XPath.Operand.OperandValue
object OperandValue
Definition
Operand.cs:15
MS.Internal.Xml.XPath.Operand.ReturnType
override XPathResultType ReturnType
Definition
Operand.cs:13
MS.Internal.Xml.XPath.Operand.Operand
Operand(string val)
Definition
Operand.cs:17
MS.Internal.Xml.XPath.Operand._type
readonly XPathResultType _type
Definition
Operand.cs:7
MS.Internal.Xml.XPath.Operand
Definition
Operand.cs:6
System.Type
Definition
Type.cs:14
MS.Internal.Xml.XPath
Definition
AbsoluteQuery.cs:3
System.Xml.XPath.XPathResultType
XPathResultType
Definition
XPathResultType.cs:4
System.Xml.XPath
Definition
Extensions.cs:5
source
System.Private.Xml
MS.Internal.Xml.XPath
Operand.cs
Generated by
1.10.0