Loyc.Syntax.StdLiteralNodeWithAttrs.WithAttrs C# (CSharp) Method

WithAttrs() public method

public WithAttrs ( Func selector ) : LNode
selector Func
return LNode
		public override LNode WithAttrs(Func<LNode, Maybe<LNode>> selector)
		{
			var newAttrs = Attrs.WhereSelect(selector);
			if (newAttrs == Attrs)
				return this;
			return WithAttrs(newAttrs);
		}
	}

Same methods

StdLiteralNodeWithAttrs::WithAttrs ( VList attrs ) : LNode