How to implement FlexLexer.reset

Hi, I'm making a custom language plugin and I'm new to writing IntelliJ
plugins. I've generated a baby stage JFlex lexer and implemented all
methods of FlexLexer interface except reset(ChatSequence, int, int,
int). I looked at the _HtmlLexer in the IntelliJ source but some
variables such as zzBufferArray and zzPushbackPos don't exist in the
generated Java file I got. Could anyone help me on this? Thanks :)

1 comment

Hi Javic,

Did you generate your lexer using idea-flex.skeleton? Please see http://www.jetbrains.com/idea/documentation/idea_5.0.html for details.

Regards,
Kirill

0

Please sign in to leave a comment.