Include regex support for class attributes/methods
Issue #55
new
Hi there,
I just read teh documentation and did not found any descrption about rules to set prefix for class attributes/methods.
It would also great to habe a option that class attributes only can be defined private/protected.
Comments (1)
-
Account Deleted - Log in to comment
Can't you use a simple TCL regexp with the token "value" to test your desired naming rule? I have read in the doc that the getTokens API actually returns the "literal text of the token".
Regarding the private/public detection, it can be achieve maybe by using a test with the closed brace of the class and private/public token detection.