AlphaTab.Importer.AlphaTexImporter.IsTerminal C# (CSharp) Method

IsTerminal() private static method

Checks if the given charater is a non terminal.
private static IsTerminal ( int ch ) : bool
ch int the character
return bool
        private static bool IsTerminal(int ch)
        {
            return ch == 0x2E /* . */ ||
                   ch == 0x7B /* { */ ||
                   ch == 0x7D /* } */ ||
                   ch == 0x5B /* [ */ ||
                   ch == 0x5D /* ] */ ||
                   ch == 0x28 /* ( */ ||
                   ch == 0x29 /* ) */ ||
                   ch == 0x7C /* | */ ||
                   ch == 0x27 /* ' */ ||
                   ch == 0x22 /* " */ ||
                   ch == 0x5C /* \ */;
        }