Rhino.Ast.ElementGet.SetTarget C# (CSharp) Method

SetTarget() public method

Sets target object, and sets its parent to this node.
Sets target object, and sets its parent to this node.
/// if target is /// null ///
public SetTarget ( AstNode target ) : void
target AstNode /// expression evaluating to the object upon which /// to do the element lookup ///
return void
		public virtual void SetTarget(AstNode target)
		{
			AssertNotNull(target);
			this.target = target;
			target.SetParent(this);
		}