|
| 1 | +;; -*- mode: emacs-lisp -*- |
| 2 | +(("<?php" . php-php-tag) |
| 3 | + (" |
| 4 | +
|
| 5 | +") |
| 6 | + ("# " . font-lock-comment-delimiter-face) |
| 7 | + ("Comment |
| 8 | +" . font-lock-comment-face) |
| 9 | + (" |
| 10 | +#[ExampleAttribute] |
| 11 | +#[Attr1, Attr2] |
| 12 | +") |
| 13 | + ("class" . php-class-declaration) |
| 14 | + (" ") |
| 15 | + ("Klass" . font-lock-type-face) |
| 16 | + (" |
| 17 | +{ |
| 18 | + #[ExampleAttribute] |
| 19 | + ") |
| 20 | + ("function" . php-keyword) |
| 21 | + (" ") |
| 22 | + ("f1" . php-function-name) |
| 23 | + ("() { } |
| 24 | +
|
| 25 | + #[WithoutArgument] |
| 26 | + #[") |
| 27 | + ("SingleArgument" . php-function-call) |
| 28 | + ("(0)] |
| 29 | + #[") |
| 30 | + ("FewArguments" . php-function-call) |
| 31 | + ("(") |
| 32 | + ("'Hello'" . php-string) |
| 33 | + (", ") |
| 34 | + ("'World'" . php-string) |
| 35 | + (")] |
| 36 | + ") |
| 37 | + ("function" . php-keyword) |
| 38 | + (" ") |
| 39 | + ("foo" . php-function-name) |
| 40 | + ("() {} |
| 41 | +
|
| 42 | + #[WithoutArgument] #[") |
| 43 | + ("SingleArgument" . php-function-call) |
| 44 | + ("(0)] #[") |
| 45 | + ("FewArguments" . php-function-call) |
| 46 | + ("(") |
| 47 | + ("'Hello'" . php-string) |
| 48 | + (", ") |
| 49 | + ("'World'" . php-string) |
| 50 | + (")] |
| 51 | + ") |
| 52 | + ("function" . php-keyword) |
| 53 | + (" ") |
| 54 | + ("bar" . php-function-name) |
| 55 | + ("() {} |
| 56 | +
|
| 57 | + #[") |
| 58 | + ("Attr2" . php-function-call) |
| 59 | + ("(") |
| 60 | + ("\"foo\"" . php-string) |
| 61 | + ("), ") |
| 62 | + ("Attr2" . php-function-call) |
| 63 | + ("(") |
| 64 | + ("\"bar\"" . php-string) |
| 65 | + (")] |
| 66 | + ") |
| 67 | + ("function" . php-keyword) |
| 68 | + (" ") |
| 69 | + ("buz" . php-function-name) |
| 70 | + ("() {} |
| 71 | +} |
| 72 | +")) |
0 commit comments