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

◆ LoadExpression()

void System.Data.ExpressionParser.LoadExpression ( string data)
inlinepackage

Definition at line 79 of file ExpressionParser.cs.

80 {
81 int num;
82 if (data == null)
83 {
84 num = 0;
85 _text = new char[num + 1];
86 }
87 else
88 {
89 num = data.Length;
90 _text = new char[num + 1];
91 data.CopyTo(0, _text, 0, num);
92 }
93 _text[num] = '\0';
94 if (_expression != null)
95 {
96 _expression = null;
97 }
98 }

References System.Data.ExpressionParser._expression, and System.Data.ExpressionParser._text.