haidubogdan commented on code in PR #9075:
URL: https://github.com/apache/netbeans/pull/9075#discussion_r2654055402


##########
ide/languages.env/src/org/netbeans/modules/languages/env/grammar/antlr4/parser/EnvAntlrLexer.g4:
##########


Review Comment:
   Sorry, I wanted to answer the question, but it's like the comment 
disappeared from the pull request :) .
   The parser lexer is different from the coloring lexer for optimization and 
scope purpose.
   Within the parser verification I just need some specific tokens to know that 
the language construct is good, so I can skip most of the tokens which would 
have represented the env key value, improving the parser speed.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to