1 instantiation of EmbeddedSyntaxToken
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (1)
64return new EmbeddedSyntaxToken<TSyntaxKind>(
28 references to EmbeddedSyntaxToken
Microsoft.CodeAnalysis.Features (17)
EmbeddedLanguages\RegularExpressions\RegexParser.cs (7)
593var openBraceToken = _currentToken.With(kind: RegexKind.TextToken); 611var token = _currentToken.With(kind: RegexKind.TextToken).AddDiagnosticIfNone( 788RegexToken innerCloseParenToken; 1453var token = component.Token; 1721var numberToken = CreateToken( 1876var typeToken = ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd).With(kind: RegexKind.TextToken); 1947var controlToken = ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd).With(kind: RegexKind.TextToken);
EmbeddedLanguages\StackFrame\StackFrameLexer.cs (7)
241return Result<StackFrameToken>.Empty; 279return Result<StackFrameToken>.Abort; 340return Result<StackFrameToken>.Abort; 349return Result<StackFrameToken>.Abort; 365return Result<StackFrameToken>.Abort; 374return Result<StackFrameToken>.Abort; 380return Result<StackFrameToken>.Abort;
EmbeddedLanguages\StackFrame\StackFrameParser.cs (3)
87var eolToken = CurrentCharAsToken().With(leadingTrivia: remainingTrivia.ToImmutableArray()); 377StackFrameToken closeToken = default; 506using var _1 = ArrayBuilder<StackFrameToken>.GetInstance(out var commaBuilder);
Microsoft.CodeAnalysis.Workspaces (11)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxHelpers.cs (2)
12public static TextSpan GetSpan<TSyntaxKind>(EmbeddedSyntaxToken<TSyntaxKind> token1, EmbeddedSyntaxToken<TSyntaxKind> token2) where TSyntaxKind : struct
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNode.cs (1)
115var token = child.Token;
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxNodeOrToken.cs (4)
15private readonly EmbeddedSyntaxToken<TSyntaxKind> _token; 24private EmbeddedSyntaxNodeOrToken(EmbeddedSyntaxToken<TSyntaxKind> token) : this() 30public readonly EmbeddedSyntaxToken<TSyntaxKind> Token 49public static implicit operator EmbeddedSyntaxNodeOrToken<TSyntaxKind, TSyntaxNode>(EmbeddedSyntaxToken<TSyntaxKind> token)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (3)
50public EmbeddedSyntaxToken<TSyntaxKind> AddDiagnosticIfNone(EmbeddedDiagnostic diagnostic) 53public EmbeddedSyntaxToken<TSyntaxKind> WithDiagnostics(ImmutableArray<EmbeddedDiagnostic> diagnostics) 56public EmbeddedSyntaxToken<TSyntaxKind> With(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxTrivia.cs (1)
13/// Trivia on an <see cref="EmbeddedSyntaxToken{TSyntaxKind}"/>.