Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches

◆ Eval() [2/3]

override object System.Data.NameNode.Eval ( DataRow row,
DataRowVersion version )
inlinepackage

Definition at line 77 of file NameNode.cs.

78 {
79 if (!_found)
80 {
81 throw ExprException.UnboundName(_name);
82 }
83 if (row == null)
84 {
85 if (IsTableConstant())
86 {
88 }
89 throw ExprException.UnboundName(_name);
90 }
91 return _column[row.GetRecordFromVersion(version)];
92 }
DataExpression? DataExpression
DataColumn _column
Definition NameNode.cs:13
override bool IsTableConstant()
Definition NameNode.cs:105

References System.Data.NameNode._column, System.Data.NameNode._found, System.Data.NameNode._name, System.Data.DataColumn.DataExpression, System.Data.DataExpression.Evaluate(), System.Data.NameNode.IsTableConstant(), and System.Data.ExprException.UnboundName().