public override void Visit(SqlNumberPathExpression sqlNumberPathExpression) { if (sqlNumberPathExpression.ParentPath != null) { sqlNumberPathExpression.ParentPath.Accept(this); } this.writer.Write("["); sqlNumberPathExpression.Value.Accept(this); this.writer.Write("]"); }
public override int Visit(SqlNumberPathExpression sqlNumberPathExpression) { int hashCode = SqlNumberPathExpressionHashCode; if (sqlNumberPathExpression.ParentPath != null) { hashCode = CombineHashes(hashCode, sqlNumberPathExpression.ParentPath.Accept(this)); } hashCode = CombineHashes(hashCode, sqlNumberPathExpression.Value.Accept(this)); return(hashCode); }
public override SqlObject Visit(SqlNumberPathExpression sqlNumberPathExpression) { return(SqlNumberPathExpression.Create( sqlNumberPathExpression.ParentPath?.Accept(this) as SqlPathExpression, sqlNumberPathExpression.Value.Accept(this) as SqlNumberLiteral)); }
public abstract void Visit(SqlNumberPathExpression sqlObject);