// Example
            // <input` checked="hello-world @false"`/>
            //  Name=checked
            //  Prefix= checked="
            //  Suffix="
            public override void VisitAttributeBlock(AttributeBlockChunkGenerator chunkGenerator, Block block)
            {
                _builder.Push(new HtmlAttributeIntermediateNode()
                {
                    AttributeName = chunkGenerator.Name,
                    Prefix        = chunkGenerator.Prefix,
                    Suffix        = chunkGenerator.Suffix,
                    Source        = BuildSourceSpanFromNode(block),
                });

                VisitDefault(block);

                _builder.Pop();
            }
示例#2
0
 public virtual void VisitAttributeBlock(AttributeBlockChunkGenerator chunkGenerator, Block block)
 {
     VisitDefault(block);
 }