| Walk function for when we're not inside a string or comment.
Self-recursive and mutually recursive with other walk functions.
- atEnd: return
- If we find / *, * /, or / /, combine them into a single Brace,
and keep the cursor on that Brace.
- If current brace = //, go to next then call updateLineComment.
If current brace = /*, go to next then call updateBlockComment.
If current brace = ", go to next then call updateInsideDoubleQuote.
Else, mark current brace as FREE, go to the next brace, and recur.
|