/// <summary> /// Initializes a new instance of the <see cref="Property" /> class. /// </summary> /// <param name="type">Type of AST node.</param> /// <param name="key">key.</param> /// <param name="value">value.</param> public Property(string type = default(string), PropertyKey key = default(PropertyKey), Expression value = default(Expression)) { this.Type = type; this.Key = key; this.Value = value; }
/// <summary> /// Initializes a new instance of the <see cref="MemberExpression" /> class. /// </summary> /// <param name="type">Type of AST node.</param> /// <param name="_object">_object.</param> /// <param name="property">property.</param> public MemberExpression(string type = default(string), Expression _object = default(Expression), PropertyKey property = default(PropertyKey)) { this.Type = type; this.Object = _object; this.Property = property; }