public void OnAttribute( AttributeExp exp ) { writer.Write('@'); writer.Write( exp.Name ); writer.Write('['); exp.exp.Visit(this); writer.Write(']'); }
public override Expression OnAttribute(AttributeExp exp) { if (token.Accepts(exp)) { return(Expression.Empty); } else { return(Expression.NotAllowed); } }
public override bool Accepts(AttributeExp exp) { if (!exp.Name.Contains(uri, localName)) { return(false); } if (valueToken == null) { valueToken = new StringToken(value, builder, context); } if (ignorable && exp.exp.IsNullable) { return(true); } return(Residual.Calc(exp.exp, valueToken, builder).IsNullable); }
public Expression OnAttribute( AttributeExp exp ) { if( token.Accepts(exp) ) return Expression.Empty; else return Expression.NotAllowed; }
public override Expression OnAttribute(AttributeExp exp) { return(Expression.NotAllowed); }
public virtual Expression OnAttribute(AttributeExp exp) { return(exp); }
public void Visit(AttributeExp expression) { HandleFunction("attr"); }
// public void OnKey( KeyExp exp ) {} public void OnAttribute(AttributeExp exp) { }
public virtual bool Accepts(AttributeExp exp) { return(false); }