1 write to _token
Microsoft.CodeAnalysis.Razor.Compiler (1)
Language\Syntax\SyntaxNodeOrToken.cs (1)
52
_token
= token;
22 references to _token
Microsoft.CodeAnalysis.Razor.Compiler (22)
Language\Syntax\SyntaxNodeOrToken.cs (22)
58
public SyntaxKind Kind =>
_token
?.Kind ?? _nodeOrParent?.Kind ?? 0;
66
public bool IsMissing =>
_token
?.IsMissing ?? _nodeOrParent?.IsMissing ?? false;
71
public SyntaxNode? Parent =>
_token
!= null ? _nodeOrParent : _nodeOrParent?.Parent;
73
internal GreenNode? UnderlyingNode =>
_token
?? _nodeOrParent?.Green;
86
internal int Width =>
_token
?.Width ?? _nodeOrParent?.Width ?? 0;
109
return
_token
!= null ? new SyntaxToken(_nodeOrParent,
_token
, Position, _tokenIndex) : default;
133
return
_token
!= null ? null : _nodeOrParent;
169
if (
_token
!= null)
193
if (
_token
!= null)
217
if (
_token
!= null)
219
return
_token
.ToString();
238
if (
_token
!= null)
240
return
_token
.ContainsDiagnostics;
260
if (
_token
!= null)
281
(_nodeOrParent == other._nodeOrParent &&
_token
== other.
_token
&& _position == other._position && _tokenIndex == other._tokenIndex) ==
282
(_nodeOrParent == other._nodeOrParent &&
_token
== other.
_token
&& _tokenIndex == other._tokenIndex));
285
_token
== other.
_token
&&
321
hash.Add(
_token
);