We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
All-uppercase names receive a special highlighting (bold orange-yellow for me).
Try with:
class ALLUPPERCASENAME {}
Below is the generated HTML from Atom:
<span class="source js"> <span class="storage type js">class</span> <span class="string regexp js">ALLUPPERCASENAME</span> <span class="meta brace curly js">{}</span> </span>
The text was updated successfully, but these errors were encountered:
Because in Zephir all uppercase named variables are constants.
Sorry, something went wrong.
Alright, gives a syntax error when used as class name. Still:
namespace some\UPPERCASE\namespace;
Yep. That happens because Zephir parser recognize [A-Z][A-Z0-9_]* as constants.
[A-Z][A-Z0-9_]*
Isn't it [A-Z_][A-Z0-9_]*? Anyway, the actual Zephir parses allows those pattern in namespaces, so I think the atom syntax should reflect that, right?
[A-Z_][A-Z0-9_]*
No branches or pull requests
All-uppercase names receive a special highlighting (bold orange-yellow for me).
Try with:
Below is the generated HTML from Atom:
The text was updated successfully, but these errors were encountered: