File: Language\Legacy\AcceptedCharactersInternal.cs
Web Access
Project: src\src\roslyn\src\Razor\src\Compiler\Microsoft.CodeAnalysis.Razor.Compiler\src\Microsoft.CodeAnalysis.Razor.Compiler.csproj (Microsoft.CodeAnalysis.Razor.Compiler)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.

#nullable disable

using System;

namespace Microsoft.AspNetCore.Razor.Language.Legacy;

[Flags]
internal enum AcceptedCharactersInternal
{
    None = 0,
    NewLine = 1,
    Whitespace = 2,

    NonWhitespace = 4,

    AllWhitespace = NewLine | Whitespace,
    Any = AllWhitespace | NonWhitespace,

    AnyExceptNewline = NonWhitespace | Whitespace
}