Jurassic.Compiler.Lexer.IsPunctuatorStartChar C# (CSharp) Method

IsPunctuatorStartChar() private static method

Determines if the given character is valid as the first character of a punctuator.
private static IsPunctuatorStartChar ( int c ) : bool
c int The character to test.
return bool
        private static bool IsPunctuatorStartChar(int c)
        {
            return
                c == '{' || c == '}' || c == '(' || c == ')' || c == '[' || c == ']' || c == ';' ||
                c == ',' || c == '<' || c == '>' || c == '=' || c == '!' || c == '+' || c == '-' ||
                c == '*' || c == '%' || c == '&' || c == '|' || c == '^' || c == '~' || c == '?' ||
                c == ':';
        }