Skip to content

Commit

Permalink
Renames
Browse files Browse the repository at this point in the history
  • Loading branch information
LPeter1997 committed Oct 22, 2023
1 parent 88b7fcb commit 1876dc2
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace Draco.Compiler.Internal.Syntax.Formatting;
/// <param name="TokenKind">The token kind, in case it's a token.</param>
/// <param name="TriviaKind>">The trivia kind, in case it's trivia.</param>
/// <param name="Text">The text the atom represents.</param>
internal readonly record struct SyntaxFormatAtom(
internal readonly record struct FormatAtom(
TokenKind? TokenKind,
TriviaKind? TriviaKind,
string? Text);
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ namespace Draco.Compiler.Internal.Syntax.Formatting;
/// <summary>
/// A formatter for the syntax tree.
/// </summary>
internal sealed class SyntaxFormatter
internal sealed class Formatter
{
/// <summary>
/// The settings of the formatter.
/// </summary>
public SyntaxFormatterSettings Settings { get; }
public FormatterSettings Settings { get; }

public SyntaxFormatter(SyntaxFormatterSettings settings)
public Formatter(FormatterSettings settings)
{
this.Settings = settings;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@ namespace Draco.Compiler.Internal.Syntax.Formatting;
/// <summary>
/// The settings of the formatter.
/// </summary>
internal sealed class SyntaxFormatterSettings
internal sealed class FormatterSettings
{
}

0 comments on commit 1876dc2

Please sign in to comment.