1 instantiation of TokenStream
Microsoft.CodeAnalysis.CodeStyle (1)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (1)
120var tokenStream = new TokenStream(this.TreeData, Options, this.SpanToFormat, CreateTriviaFactory());
27 references to TokenStream
Microsoft.CodeAnalysis.CodeStyle (27)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\BottomUpBaseIndentationFinder.cs (2)
21private readonly TokenStream? _tokenStream; 31TokenStream? tokenStream,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.cs (2)
56public FormattingContext(AbstractFormatEngine engine, TokenStream tokenStream) 667public TokenStream TokenStream { get; }
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Context\FormattingContext.InitialContextFinder.cs (3)
26private readonly TokenStream _tokenStream; 31TokenStream tokenStream, 169static bool Predicate(SuppressOperation operation, (int startPosition, TokenStream tokenStream, SuppressOption mask) tuple)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormatEngine.cs (8)
111protected abstract AbstractFormattingResult CreateFormattingResult(TokenStream tokenStream); 120var tokenStream = new TokenStream(this.TreeData, Options, this.SpanToFormat, CreateTriviaFactory()); 145protected virtual FormattingContext CreateFormattingContext(TokenStream tokenStream, CancellationToken cancellationToken) 218TokenStream tokenStream, 273static void BeginningOfTreeTriviaInfoApplier(int i, TokenStream ts, TriviaData info) 299static void EndOfTreeTriviaInfoApplier(int i, TokenStream ts, TriviaData info) 316static void RegularApplier(int tokenPairIndex, TokenStream ts, TriviaData info) 417private static SyntaxToken FindCorrectBaseTokenOfRelativeIndentBlockOperation(IndentBlockOperation operation, TokenStream tokenStream)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractFormattingResult.cs (2)
18protected readonly TokenStream TokenStream; 30TokenStream tokenStream,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.FormattedWhitespace.cs (1)
66FormattingContext context, ChainedFormattingRules formattingRules, Action<int, TokenStream, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.ModifiedWhitespace.cs (1)
82Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\AbstractTriviaDataFactory.Whitespace.cs (1)
81Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenData.cs (2)
24public TokenStream TokenStream { get; } 28public TokenData(TokenStream tokenStream, int indexInStream, SyntaxToken token)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TokenPairWithOperations.cs (2)
15public TokenStream TokenStream { get; } 22TokenStream tokenStream,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\Engine\TriviaData.cs (1)
48Action<int, TokenStream, TriviaData> formattingResultApplier,
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\FormattingExtensions.cs (1)
50public static bool ContainsElasticTrivia(this SuppressOperation operation, TokenStream tokenStream)
src\Workspaces\SharedUtilitiesAndExtensions\Compiler\Core\Formatting\TriviaEngine\AbstractTriviaFormatter.cs (1)
233protected TokenStream TokenStream