Beispiel #1
0
 public static bool IsRuleNamePart(char c)
 {
     if (Java.IsValidIdentifier(c))//TODO: Check Behaviour
     {
         return(true);
     }
     return((c == '!') || (c == '#') || (c == '%') ||
            (c == '&') || (c == '(') ||
            (c == ')') || (c == '+') ||
            (c == ',') || (c == '-') ||
            (c == '/') || (c == ':') ||
            (c == ';') || (c == '=') ||
            (c == '@') || (c == '[') ||
            (c == '\\') || (c == ']') ||
            (c == '^') || (c == '|') || (c == '~'));
 }