28 references to GetChildPosition
Microsoft.CodeAnalysis.Razor.Compiler (28)
Language\Syntax\ChildSyntaxList.cs (1)
188
position = red.
GetChildPosition
(idx);
Language\Syntax\Generated\Syntax.xml.Syntax.Generated.cs (24)
34
public SyntaxToken EndOfFile => new SyntaxToken(this, ((InternalSyntax.RazorDocumentSyntax)Green)._endOfFile,
GetChildPosition
(1), GetChildIndex(1));
69
public SyntaxToken StartCommentStar => new SyntaxToken(this, ((InternalSyntax.RazorCommentBlockSyntax)Green)._startCommentStar,
GetChildPosition
(1), GetChildIndex(1));
70
public SyntaxToken Comment => new SyntaxToken(this, ((InternalSyntax.RazorCommentBlockSyntax)Green)._comment,
GetChildPosition
(2), GetChildIndex(2));
71
public SyntaxToken EndCommentStar => new SyntaxToken(this, ((InternalSyntax.RazorCommentBlockSyntax)Green)._endCommentStar,
GetChildPosition
(3), GetChildIndex(3));
72
public SyntaxToken EndCommentTransition => new SyntaxToken(this, ((InternalSyntax.RazorCommentBlockSyntax)Green)._endCommentTransition,
GetChildPosition
(4), GetChildIndex(4));
526
public SyntaxToken EqualsToken => new SyntaxToken(this, ((InternalSyntax.MarkupAttributeBlockSyntax)Green)._equalsToken,
GetChildPosition
(3), GetChildIndex(3));
886
return slot != null ? new SyntaxToken(this, slot,
GetChildPosition
(1), GetChildIndex(1)) : default;
889
public override SyntaxToken Name => new SyntaxToken(this, ((InternalSyntax.MarkupStartTagSyntax)Green)._name,
GetChildPosition
(2), GetChildIndex(2));
896
return slot != null ? new SyntaxToken(this, slot,
GetChildPosition
(4), GetChildIndex(4)) : default;
899
public override SyntaxToken CloseAngle => new SyntaxToken(this, ((InternalSyntax.MarkupStartTagSyntax)Green)._closeAngle,
GetChildPosition
(5), GetChildIndex(5));
955
public override SyntaxToken ForwardSlash => new SyntaxToken(this, ((InternalSyntax.MarkupEndTagSyntax)Green)._forwardSlash,
GetChildPosition
(1), GetChildIndex(1));
961
return slot != null ? new SyntaxToken(this, slot,
GetChildPosition
(2), GetChildIndex(2)) : default;
964
public override SyntaxToken Name => new SyntaxToken(this, ((InternalSyntax.MarkupEndTagSyntax)Green)._name,
GetChildPosition
(3), GetChildIndex(3));
966
public override SyntaxToken CloseAngle => new SyntaxToken(this, ((InternalSyntax.MarkupEndTagSyntax)Green)._closeAngle,
GetChildPosition
(5), GetChildIndex(5));
1090
return slot != null ? new SyntaxToken(this, slot,
GetChildPosition
(1), GetChildIndex(1)) : default;
1093
public override SyntaxToken Name => new SyntaxToken(this, ((InternalSyntax.MarkupTagHelperStartTagSyntax)Green)._name,
GetChildPosition
(2), GetChildIndex(2));
1100
return slot != null ? new SyntaxToken(this, slot,
GetChildPosition
(4), GetChildIndex(4)) : default;
1103
public override SyntaxToken CloseAngle => new SyntaxToken(this, ((InternalSyntax.MarkupTagHelperStartTagSyntax)Green)._closeAngle,
GetChildPosition
(5), GetChildIndex(5));
1157
public override SyntaxToken ForwardSlash => new SyntaxToken(this, ((InternalSyntax.MarkupTagHelperEndTagSyntax)Green)._forwardSlash,
GetChildPosition
(1), GetChildIndex(1));
1163
return slot != null ? new SyntaxToken(this, slot,
GetChildPosition
(2), GetChildIndex(2)) : default;
1166
public override SyntaxToken Name => new SyntaxToken(this, ((InternalSyntax.MarkupTagHelperEndTagSyntax)Green)._name,
GetChildPosition
(3), GetChildIndex(3));
1168
public override SyntaxToken CloseAngle => new SyntaxToken(this, ((InternalSyntax.MarkupTagHelperEndTagSyntax)Green)._closeAngle,
GetChildPosition
(5), GetChildIndex(5));
1233
public SyntaxToken EqualsToken => new SyntaxToken(this, ((InternalSyntax.MarkupTagHelperAttributeSyntax)Green)._equalsToken,
GetChildPosition
(3), GetChildIndex(3));
1410
public SyntaxToken EqualsToken => new SyntaxToken(this, ((InternalSyntax.MarkupTagHelperDirectiveAttributeSyntax)Green)._equalsToken,
GetChildPosition
(6), GetChildIndex(6));
Language\Syntax\SyntaxNode.cs (3)
54
Interlocked.CompareExchange(ref field, green.CreateRed(this,
GetChildPosition
(slot)), null);
90
Interlocked.CompareExchange(ref field, (T)green.CreateRed(this, this.
GetChildPosition
(slot)), null);
127
Interlocked.CompareExchange(ref element, green.CreateRed(Parent,
GetChildPosition
(slot)), null);