On 2013-01-27 11:42, Brian Schott wrote:
* I see Token has a startIndex member. Any reason not to have a endIndex member? Or can and end index always be deduced from startIndex and value.length?That's the idea.
Always good to try and minimize the size of a token when the lexer should output thousands of tokens per second.
-- /Jacob Carlborg