File: constants.php.faces

package info (click to toggle)
php-elisp 1.24.2-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 1,220 kB
  • sloc: lisp: 7,069; php: 5,343; makefile: 58; sh: 10
file content (55 lines) | stat: -rw-r--r-- 1,637 bytes parent folder | download | duplicates (2)
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
43
44
45
46
47
48
49
50
51
52
53
54
55
;; -*- mode: emacs-lisp -*-
(("<?php" . php-php-tag)
 ("\n\n")
 ("// " . font-lock-comment-delimiter-face)
 ("Test c-lang-defconst c-constant-kwds\n" . font-lock-comment-face)
 ("true" . php-constant)
 (" ")
 ("===" . php-comparison-op)
 (" ")
 ("TRUE" . php-constant)
 (";\n")
 ("false" . php-constant)
 (" ")
 ("===" . php-comparison-op)
 (" ")
 ("FALSE" . php-constant)
 (";\n")
 ("null" . php-constant)
 (" ")
 ("===" . php-comparison-op)
 (" ")
 ("NULL" . php-constant)
 (";\n\n")
 ("// " . font-lock-comment-delimiter-face)
 ("Test built-in font-lock-keywords\n" . font-lock-comment-face)
 ("IS_CONSTANT" . php-constant)
 (";\n")
 ("__IS_CONSTANT__" . php-constant)
 (";\n")
 ("IS_CONSTANT99" . php-constant)
 (";\nno_constant;\nno_CONSTANT;\n\n")
 ("// " . font-lock-comment-delimiter-face)
 ("Everything called statically should be highlighted with the constant face\n" . font-lock-comment-face)
 ("// " . font-lock-comment-delimiter-face)
 ("(like c++-mode)\n" . font-lock-comment-face)
 ("ClassName" . php-constant)
 ("::" . php-paamayim-nekudotayim)
 ("$" . php-variable-sigil)
 ("test" . php-variable-name)
 (";\n\n")
 ("// " . font-lock-comment-delimiter-face)
 ("Class name resolution is a special case\n" . font-lock-comment-face)
 ("stdClass" . php-constant)
 ("::" . php-paamayim-nekudotayim)
 ("class" . php-magical-constant)
 (";\n")
 ("SomeClass" . php-constant)
 ("::" . php-paamayim-nekudotayim)
 ("classIdentifier" . php-static-method-call)
 ("();\n\n")
 ("__halt_compiler" . php-keyword)
 ("();\n\n")
 ("// " . font-lock-comment-delimiter-face)
 ("Invalid constant name\n" . font-lock-comment-face)
 ("2FOO;\n"))