What am I doing?
Now I am creating a comment segregator as part of my simple IDE stimulator (which will detect all comments in Java code).
That my task is to write down all the starting and ending positions of comments and documentation of all forms ...
1. // 2. /*......*/ 3. /**.......*/
(I do this using deterministic finite state machines .)
And I will give separate colors for comments and documentation.
Where is my doubt?
Although this is unusual, When the code has the operator /***/ , how should I interpret this code? Should I treat it as a comment or documentation?
source share