-
Notifications
You must be signed in to change notification settings - Fork 119
/
Copy pathidentifiers.php.faces
64 lines (64 loc) · 1.82 KB
/
identifiers.php.faces
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
56
57
58
59
60
61
62
63
64
;; -*- mode: emacs-lisp -*-
(("<?php" . php-php-tag)
("\n\n")
("$" . php-variable-sigil)
("object" . php-variable-name)
(" ")
("=" . php-assignment-op)
(" ")
("new" . php-keyword)
(" ")
("UnqualifiedClassName" . font-lock-type-face)
(";\n")
("$" . php-variable-sigil)
("object" . php-variable-name)
(" ")
("=" . php-assignment-op)
(" ")
("new" . php-keyword)
(" ")
("\\FullyQualifiedClassName" . font-lock-type-face)
(";\n")
("$" . php-variable-sigil)
("object" . php-variable-name)
(" ")
("=" . php-assignment-op)
(" ")
("new" . php-keyword)
(" ")
("SpaceName\\NamespacedClassName" . font-lock-type-face)
(";\n")
("$" . php-variable-sigil)
("object" . php-variable-name)
(" ")
("=" . php-assignment-op)
(" ")
("new" . php-keyword)
(" ")
("NOTACONSTANT\\ClassName" . font-lock-type-face)
(";\n\n")
("// " . font-lock-comment-delimiter-face)
("When calling a method, the class name should be highlighted with\n" . font-lock-comment-face)
("// " . font-lock-comment-delimiter-face)
("the constant face. Just like c++-mode \"NS::Class::method()\"\n" . font-lock-comment-face)
("ClassName" . php-constant)
("::" . php-paamayim-nekudotayim)
("method" . php-static-method-call-traditional)
("();\n")
("\\SpaceName\\ClassName" . php-constant)
("::" . php-paamayim-nekudotayim)
("method" . php-static-method-call-traditional)
("();\n")
("\\My_Class" . php-constant)
("::" . php-paamayim-nekudotayim)
("method" . php-static-method-call-traditional)
("();\n\n")
("__halt_compiler" . php-keyword)
("();\n\n")
("// " . font-lock-comment-delimiter-face)
("php-mode must understand that \\ is not part of any symbol, just\n" . font-lock-comment-face)
("// " . font-lock-comment-delimiter-face)
("identifiers\n" . font-lock-comment-face)
("$" . php-variable-sigil)
("var" . php-variable-name)
("\\syntaxerror;\n"))