public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitClassDeclaration(this);
        }
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitMarkupElement(this);
        }
Exemple #3
0
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitCSharpExpressionAttributeValue(this);
        }
Exemple #4
0
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitReferenceCapture(this);
        }
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitTagHelperDirectiveAttributeParameter(this);
        }
Exemple #6
0
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitHtmlAttribute(this);
        }
Exemple #7
0
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitComponentChildContent(this);
        }
Exemple #8
0
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitTagHelperBody(this);
        }
Exemple #9
0
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitComponentTypeInferenceMethod(this);
        }
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            visitor.VisitUsingDirective(this);
        }
        protected static void AcceptExtensionNode <TNode>(TNode node, IntermediateNodeVisitor visitor)
            where TNode : ExtensionIntermediateNode
        {
            var typedVisitor = visitor as IExtensionIntermediateNodeVisitor <TNode>;

            if (typedVisitor == null)
            {
                visitor.VisitExtension(node);
            }
            else
            {
                typedVisitor.VisitExtension(node);
            }
        }
Exemple #12
0
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     // This is the standard visitor boilerplate for an extension node.
     AcceptExtensionNode <TestExtensionIntermediateNode>(this, visitor);
 }
Exemple #13
0
 public abstract void Accept(IntermediateNodeVisitor visitor);
Exemple #14
0
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     visitor.VisitDirective(this);
 }
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     ((DerivedIntermediateNodeWalker)visitor).VisitBasic(this);
 }
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     throw new NotImplementedException();
 }