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));
            }

            AcceptExtensionNode <ComponentBodyExtensionNode>(this, visitor);
        }
Exemple #3
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.VisitTagHelperBody(this);
    }
Exemple #5
0
        public override void Accept(IntermediateNodeVisitor visitor)
        {
            if (visitor == null)
            {
                throw new ArgumentNullException(nameof(visitor));
            }

            AcceptExtensionNode <DesignTimeDirectiveIntermediateNode>(this, visitor);
        }
    public override void Accept(IntermediateNodeVisitor visitor)
    {
        if (visitor == null)
        {
            throw new ArgumentNullException(nameof(visitor));
        }

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

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

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

            AcceptExtensionNode <DefaultTagHelperBodyIntermediateNode>(this, visitor);
        }
    public override void Accept(IntermediateNodeVisitor visitor)
    {
        if (visitor == null)
        {
            throw new ArgumentNullException(nameof(visitor));
        }

        visitor.VisitTagHelperDirectiveAttributeParameter(this);
    }
    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));
        }

        AcceptExtensionNode <RazorCompiledItemAttributeIntermediateNode>(this, visitor);
    }
    public override void Accept(IntermediateNodeVisitor visitor)
    {
        if (visitor == null)
        {
            throw new ArgumentNullException(nameof(visitor));
        }

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

            AcceptExtensionNode <PreallocatedTagHelperHtmlAttributeValueIntermediateNode>(this, visitor);
        }
    public override void Accept(IntermediateNodeVisitor visitor)
    {
        if (visitor == null)
        {
            throw new ArgumentNullException(nameof(visitor));
        }

        visitor.VisitCSharpExpressionAttributeValue(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);
        }
    }
 public override void Accept(IntermediateNodeVisitor visitor) => AcceptExtensionNode(this, visitor);
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     visitor.VisitDirective(this);
 }
Exemple #19
0
 public abstract void Accept(IntermediateNodeVisitor visitor);
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     visitor.VisitDefault(this);
 }
Exemple #21
0
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     ((DerivedIntermediateNodeWalker)visitor).VisitBasic(this);
 }
Exemple #22
0
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     // This is the standard visitor boilerplate for an extension node.
     AcceptExtensionNode <TestExtensionIntermediateNode>(this, visitor);
 }
 public override void Accept(IntermediateNodeVisitor visitor)
 {
     throw new NotImplementedException();
 }