Exemple #1
0
        S IAstVisitor <T, S> .VisitArraySpecifier(ArraySpecifier arraySpecifier, T data)
        {
            var handler = ArraySpecifierVisited;

            if (handler != null)
            {
                handler(arraySpecifier, data);
            }
            return(VisitChildren(arraySpecifier, data));
        }
Exemple #2
0
 void IAstVisitor.VisitArraySpecifier(ArraySpecifier arraySpecifier)
 {
     Visit(EnterArraySpecifier, LeaveArraySpecifier, arraySpecifier);
 }
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            ArraySpecifier o = other as ArraySpecifier;

            return(o != null && this.Dimensions == o.Dimensions);
        }