/usr/share/highlight/langDefs/pike.lang is in highlight-common 3.9-1+deb7u1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 | -- Language definition generated by lang2to3
Description="Pike"
Keywords={
{ Id=1,
List={"constant", "enum", "typedef", "if", "do", "for", "while", "else", "foreach", "case", "switch", "break", "continue", "return", "sscanf", "typeof", "catch", "gauge", "class", "lambda", "import", "inherit", "facet", "final", "static", "private", "local", "public", "protected", "nomask", "inline", "extern", "optional", "variant"},
},
{ Id=2,
List={"array", "constant", "extern", "float", "function", "int", "local", "mapping", "mixed", "multiset", "object", "program", "static", "string", "void"},
},
{ Id=3,
List={"__parse_pike_type", "_disable_threads", "_do_call_outs", "_exit", "_gc_status", "_leak", "_memory_usage", "_next", "_prev", "_refs", "_static_modules", "_typeof", "abs", "acos", "add_constant", "add_include_path", "add_module_path", "add_program_path", "aggregate", "aggregate_mapping", "aggregate_multiset", "alarm", "all_constants", "all_threads", "allocate", "array_sscanf", "arrayp", "asin", "atan", "atan2", "atexit", "backtrace", "basename", "call_function", "call_out", "call_out_info", "cd", "ceil", "chmod", "chown", "chroot", "cleargroups", "clone", "closelog", "column", "combine_path", "combine_path_nt", "combine_path_unix", "compile", "", "compile_file", "compile_string", "copy_value", "cos", "cpp", "crypt", "ctime", "decode_value", "delay", "describe_backtrace", "describe_error", "destruct", "dirname", "encode_value", "encode_value_canonic", "endgrent", "endpwent", "enumerate", "equal", "errno", "exece", "exit", "exp", "explode_path", "file_stat", "file_truncate", "filesystem_stat", "filter", "find_call_out", "floatp", "floor", "fork", "function_name", "function_object", "functionp", "gc", "get_all_groups", "get_all_users", "get_dir", "get_groups_for_user", "get_weak_flag", "getcwd", "getegid", "getenv", "geteuid", "getgid", "getgrent", "getgrgid", "getgrnam", "getgroups", "gethostbyaddr", "gethostbyname", "gethostname", "gethrtime", "getpgrp", "getpid", "getppid", "getpwent", "getpwnam", "getpwuid", "getsid", "getuid", "glob", "gmtime", "hardlink", "has_index", "has_prefix", "has_suffix", "has_value", "hash", "hash_7_0", "indices", "initgroups", "innetgr", "intp", "is_absolute_path", "kill", "load_module", "localtime", "log", "lower_case", "m_delete", "map", "mappingp", "master", "max", "min", "mkdir", "mkmapping", "mkmultiset", "mktime", "multisetp", "mv", "new", "next_object", "normalize_path", "object_program", "object_variablep", "objectp", "openlog", "pow", "programp", "", "putenv", "query_num_arg", "random", "random_seed", "random_string", "readlink", "remove_call_out", "remove_include_path", "remove_module_path", "remove_program_path", "replace", "replace_master", "reverse", "rm", "round", "rows", "rusage", "search", "set_priority", "set_weak_flag", "setegid", "seteuid", "setgid", "setgrent", "setgroups", "setpgrp", "setpwent", "setresgid", "setresuid", "setsid", "setuid", "sgn", "signal", "signame", "signum", "sin", "sizeof", "sleep", "sort", "sprintf", "sqrt", "strerror", "string_to_unicode", "string_to_utf8", "stringp", "strlen", "symlink", "syslog", "tan", "this_object", "this_thread", "thread_create", "thread_local", "throw", "time", "trace", "ualarm", "umask", "uname", "unicode_to_string", "upper_case", "utf8_to_string", "utime", "values", "version", "werror", "write", "zero_type"},
},
{ Id=4,
Regex=[[(\w+)\s*\(]],
},
}
Strings={
Delimiter=[["|']],
}
IgnoreCase=false
Comments={
{ Block=false,
Delimiter= { [[\/\/]] },
},
{ Block=true,
Nested=false,
Delimiter= { [[\/\*]],[[\*\/]],}
}
}
PreProcessor={
Prefix=[[#]],
}
Operators=[[\(|\)|\[|\]|\{|\}|\,|\;|\:|\&|\<|\>|\!|\=|\/|\*|\%|\+|\-]]
--FIXME no default escchar param: regex(\\\d{3}|\\x\p{XDigit}{2}|\\[ntvbrfa\\\?'"])
|