コード例 #1
0
 internal Green(XmlElementStartTagSyntax.Green startTag, GreenNode content, XmlElementEndTagSyntax.Green endTag)
     : base(SyntaxKind.XmlElement)
 {
     this.SlotCount = 3;
     this.startTag  = startTag;
     AdjustWidth(startTag);
     this.content = content;
     AdjustWidth(content);
     this.endTag = endTag;
     AdjustWidth(endTag);
 }
コード例 #2
0
 internal Green(XmlElementStartTagSyntax.Green startTag, GreenNode content, XmlElementEndTagSyntax.Green endTag, DiagnosticInfo[] diagnostics, SyntaxAnnotation[] annotations)
     : base(SyntaxKind.XmlElement, diagnostics, annotations)
 {
     this.SlotCount = 3;
     this.startTag  = startTag;
     AdjustWidth(startTag);
     this.content = content;
     AdjustWidth(content);
     this.endTag = endTag;
     AdjustWidth(endTag);
 }
コード例 #3
0
 public XmlContext(SyntaxListPool pool, XmlElementStartTagSyntax.Green start)
 {
     _pool    = pool;
     _start   = start;
     _content = _pool.Allocate <XmlNodeSyntax.Green>();
 }