mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-09-05 08:27:19 -04:00
.
This commit is contained in:
@@ -28,7 +28,7 @@ rules:
|
|||||||
- statement: "(^|[[:space:]])(implements|abstract|instanceof|if|else(if)?|endif|namespace|use|as|new|throw|catch|try|while|print|for|(end)?(foreach)?)\\b"
|
- statement: "(^|[[:space:]])(implements|abstract|instanceof|if|else(if)?|endif|namespace|use|as|new|throw|catch|try|while|print|for|(end)?(foreach)?)\\b"
|
||||||
- identifier: "new\\s([a-zA-Z0-9\\\\]+)"
|
- identifier: "new\\s([a-zA-Z0-9\\\\]+)"
|
||||||
- special: "(break|continue|goto|return)"
|
- special: "(break|continue|goto|return)"
|
||||||
- constant.bool: "(=|[[:space:]])(true|false|null|TRUE|FALSE|NULL)"
|
- constant.bool: "(\\:|\\?|=|[[:space:]])(true|false|null|TRUE|FALSE|NULL)"
|
||||||
- constant: "[\\s|=|\\s|\\(|/|+|-|\\*|\\[]"
|
- constant: "[\\s|=|\\s|\\(|/|+|-|\\*|\\[]"
|
||||||
- constant.number: "[0-9]"
|
- constant.number: "[0-9]"
|
||||||
- identifier: "(\\$this|parent|self|\\$this->)"
|
- identifier: "(\\$this|parent|self|\\$this->)"
|
||||||
|
|||||||
Reference in New Issue
Block a user