Ejemplo n.º 1
0
 public ExpressionTreeNode(int index, int length, string text, object value, ExpressionTreeNodeType type, ExpressionTreeNode parent)
 {
     _index    = Math.Max(index, -1);
     _length   = Math.Max(length, 0);
     _text     = text;
     _type     = type;
     _value    = value;
     _parent   = parent;
     _children = new ExpressionTreeNodeCollection(this);
 }
		public ExpressionTreeNode(int index, int length, string text, object value, ExpressionTreeNodeType type, ExpressionTreeNode parent)
		{
			_index = Math.Max(index, -1);
			_length = Math.Max(length, 0);
			_text = text;
			_type = type;
			_value = value;
			_parent = parent;
			_children = new ExpressionTreeNodeCollection(this);
		}