Exemplo n.º 1
0
 public abstract void Format(
     FormattingContext context,
     ChainedFormattingRules formattingRules,
     Action <int, TriviaData> formattingResultApplier,
     CancellationToken cancellationToken,
     int tokenPairIndex = TokenPairIndexNotNeeded);
Exemplo n.º 2
0
 public abstract TriviaData WithSpace(int space, FormattingContext context, ChainedFormattingRules formattingRules);
Exemplo n.º 3
0
 public abstract TriviaData WithIndentation(int indentation, FormattingContext context, ChainedFormattingRules formattingRules, CancellationToken cancellationToken);
Exemplo n.º 4
0
 protected abstract TriviaDataWithList Format(FormattingContext context, ChainedFormattingRules formattingRules, int lines, int spaces, CancellationToken cancellationToken);
 public override void Format(
     FormattingContext context, ChainedFormattingRules formattingRules, Action <int, TriviaData> formattingResultApplier, CancellationToken cancellationToken, int tokenPairIndex = TokenPairIndexNotNeeded)
 {
     throw new NotImplementedException();
 }
 public override TriviaData WithIndentation(int indentation, FormattingContext context, ChainedFormattingRules formattingRules, CancellationToken cancellationToken)
 {
     throw new NotImplementedException();
 }
 public override TriviaData WithSpace(int space, FormattingContext context, ChainedFormattingRules formattingRules)
 {
     throw new NotImplementedException();
 }
Exemplo n.º 8
0
 public OperationApplier(FormattingContext context, TokenStream tokenStream, ChainedFormattingRules formattingRules)
 {
     _context         = context;
     _tokenStream     = tokenStream;
     _formattingRules = formattingRules;
 }