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

◆ IsConstant()

override bool System.Data.BinaryNode.IsConstant ( )
inlinepackageinherited

Definition at line 88 of file BinaryNode.cs.

89 {
90 if (_left.IsConstant())
91 {
92 return _right.IsConstant();
93 }
94 return false;
95 }
ExpressionNode _left
Definition BinaryNode.cs:51
ExpressionNode _right
Definition BinaryNode.cs:53

References System.Data.BinaryNode._left, System.Data.BinaryNode._right, and System.Data.ExpressionNode.IsConstant().

Referenced by System.Data.BinaryNode.Optimize().