Lexer rules wil multiple conditions
Lexer rules wil multiple conditions
How do lexer rules with multiple condition indexes work?
... For some reason my reply wan't posted. Let's try that again.
Okay, so when I create a lexer rule, I can add conditions on the last tab (conveniently called "conditions"). Now I've had single conditions work just fine, but if I want to have two consecutive conditions (index 0: be of the token type Action; index 1: be of the token type Actionvalue with the value "Start") I can't figure out how to make that work. Could you help me with that?
Also, I've only used Equal and Not equal. What do Mask and Skip tokens do?
Okay, so when I create a lexer rule, I can add conditions on the last tab (conveniently called "conditions"). Now I've had single conditions work just fine, but if I want to have two consecutive conditions (index 0: be of the token type Action; index 1: be of the token type Actionvalue with the value "Start") I can't figure out how to make that work. Could you help me with that?
Also, I've only used Equal and Not equal. What do Mask and Skip tokens do?