1 instantiation of EmbeddedSyntaxToken
Microsoft.CodeAnalysis.Workspaces (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxToken.cs (1)
67return new EmbeddedSyntaxToken<TSyntaxKind>(
29 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( 791RegexToken innerCloseParenToken; 1450var token = component.Token; 1688var numberToken = CreateToken( 1843var typeToken = ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd).With(kind: RegexKind.TextToken); 1914var controlToken = ConsumeCurrentToken(allowTrivia: allowTriviaAfterEnd).With(kind: RegexKind.TextToken);
EmbeddedLanguages\StackFrame\StackFrameLexer.cs (7)
241return Result<StackFrameToken>.Empty; 279return Result<StackFrameToken>.Abort; 339return Result<StackFrameToken>.Abort; 348return Result<StackFrameToken>.Abort; 364return Result<StackFrameToken>.Abort; 373return Result<StackFrameToken>.Abort; 379return 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 (12)
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 (4)
50public EmbeddedSyntaxToken<TSyntaxKind> AddDiagnosticIfNone(EmbeddedDiagnostic diagnostic) 53public EmbeddedSyntaxToken<TSyntaxKind> AddDiagnosticIfMissing(EmbeddedDiagnostic diagnostic) 56public EmbeddedSyntaxToken<TSyntaxKind> WithDiagnostics(ImmutableArray<EmbeddedDiagnostic> diagnostics) 59public EmbeddedSyntaxToken<TSyntaxKind> With(
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\EmbeddedLanguages\Common\EmbeddedSyntaxTrivia.cs (1)
13/// Trivia on an <see cref="EmbeddedSyntaxToken{TSyntaxKind}"/>.