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")
("class" . php-class-declaration)
(" ")
("Typed" . font-lock-type-face)
("\n{\n ")
("private" . php-keyword)
(" ")
("?string" . php-class)
(" ")
("$" . php-variable-sigil)
("string" . php-variable-name)
(";\n\n ")
("private" . php-keyword)
(" ")
("Hoge" . php-class)
(" ")
("$" . php-variable-sigil)
("hoge" . php-variable-name)
(";\n\n ")
("public" . php-keyword)
(" ")
("function" . php-keyword)
(" ")
("__construct" . php-function-name)
("(")
("$" . php-variable-sigil)
("var" . php-variable-name)
(" ")
("=" . php-assignment-op)
(" ")
("null" . php-constant)
(")\n {\n ")
("$" . php-$this-sigil)
("this" . php-$this)
("->" . php-object-op)
("string" . php-property-name)
(" ")
("=" . php-assignment-op)
(" ")
("$" . php-variable-sigil)
("var" . php-variable-name)
(";\n }\n\n ")
("public" . php-keyword)
(" ")
("function" . php-keyword)
(" ")
("print" . php-function-name)
("()\n {\n ")
("var_dump" . php-function-call)
("(")
("$" . php-$this-sigil)
("this" . php-$this)
("->" . php-object-op)
("string" . php-property-name)
(");\n }\n}\n\n(")
("new" . php-keyword)
(" ")
("Typed" . font-lock-type-face)
(")")
("->" . php-object-op)
("print" . php-method-call)
("();\n"))
|