Example #1
0
        S IAstVisitor <T, S> .VisitAttributeSection(AttributeSection attributeSection, T data)
        {
            var handler = AttributeSectionVisited;

            if (handler != null)
            {
                handler(attributeSection, data);
            }
            return(VisitChildren(attributeSection, data));
        }
        protected internal override bool DoMatch(AstNode other, PatternMatching.Match match)
        {
            AttributeSection o = other as AttributeSection;

            return(o != null && MatchString(this.AttributeTarget, o.AttributeTarget) && this.Attributes.DoMatch(o.Attributes, match));
        }
Example #3
0
 void IAstVisitor.VisitAttributeSection(AttributeSection attributeSection)
 {
     Visit(EnterAttributeSection, LeaveAttributeSection, attributeSection);
 }