File: arrays.php.faces

package info (click to toggle)
php-elisp 1.27.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 1,268 kB
  • sloc: lisp: 7,468; php: 5,396; makefile: 42; sh: 10
file content (63 lines) | stat: -rw-r--r-- 1,716 bytes parent folder | download | duplicates (3)
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
;; -*- mode: emacs-lisp -*-
(("<?php" . php-php-tag)
 ("\n\n")
 ("// " . font-lock-comment-delimiter-face)
 ("Array should be treated like a normal keyword\n" . font-lock-comment-face)
 ("$" . php-variable-sigil)
 ("test" . php-variable-name)
 (" ")
 ("=" . php-assignment-op)
 (" ")
 ("array" . php-keyword)
 ("();\n\n")
 ("$" . php-variable-sigil)
 ("test" . php-variable-name)
 (" ")
 ("=" . php-assignment-op)
 (" ")
 ("function" . php-keyword)
 ("(")
 ("$" . php-variable-sigil)
 ("test" . php-variable-name)
 (" ")
 ("=" . php-assignment-op)
 (" ")
 ("array" . php-keyword)
 ("()) {\n};\n\n")
 ("// " . font-lock-comment-delimiter-face)
 ("Array should be treated as a type instead of a keyword in the following situations:\n" . font-lock-comment-face)
 ("// " . font-lock-comment-delimiter-face)
 ("- cast, should look like `(int)`\n" . font-lock-comment-face)
 ("// " . font-lock-comment-delimiter-face)
 ("- type hint, should look like `int $var`\n" . font-lock-comment-face)
 ("// " . font-lock-comment-delimiter-face)
 ("- return type, should look like `: int`\n" . font-lock-comment-face)
 ("$" . php-variable-sigil)
 ("test" . php-variable-name)
 (" ")
 ("=" . php-assignment-op)
 (" (")
 ("array" . font-lock-type-face)
 (")")
 ("$" . php-variable-sigil)
 ("test" . php-variable-name)
 (";\n\n")
 ("$" . php-variable-sigil)
 ("test" . php-variable-name)
 (" ")
 ("=" . php-assignment-op)
 (" ")
 ("function" . php-keyword)
 ("(")
 ("array" . font-lock-type-face)
 (" ")
 ("$" . php-variable-sigil)
 ("byValue" . php-variable-name)
 (", ")
 ("array" . font-lock-type-face)
 (" &")
 ("$" . php-variable-sigil)
 ("byReference" . php-variable-name)
 ("): ")
 ("array" . font-lock-type-face)
 (" {\n};\n"))