mirror of
https://github.com/rwinkhart/go-highlite.git
synced 2026-08-28 04:46:30 -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"
|
||||
- identifier: "new\\s([a-zA-Z0-9\\\\]+)"
|
||||
- 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.number: "[0-9]"
|
||||
- identifier: "(\\$this|parent|self|\\$this->)"
|
||||
|
||||
Reference in New Issue
Block a user