Exemplo n.º 1
0
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            QueryFromClause o = other as QueryFromClause;

            return(o != null && this.Type.DoMatch(o.Type, match) && MatchString(this.Identifier, o.Identifier) &&
                   this.Expression.DoMatch(o.Expression, match));
        }
        S IAstVisitor <T, S> .VisitQueryFromClause(QueryFromClause queryFromClause, T data)
        {
            var handler = QueryFromClauseVisited;

            if (handler != null)
            {
                handler(queryFromClause, data);
            }
            return(VisitChildren(queryFromClause, data));
        }
Exemplo n.º 3
0
 public virtual S VisitQueryFromClause(QueryFromClause queryFromClause, T data)
 {
     return(VisitChildren(queryFromClause, data));
 }