Method: LexerModeAction#execute

Defined in:
lib/antlr4/atn/LexerAction.rb

#execute(lexer) ⇒ Object

<p>This action is implemented by calling Lexer#mode with the value provided by #getMode.</p>



181
182
183
# File 'lib/antlr4/atn/LexerAction.rb', line 181

def execute(lexer)
    lexer.mode = self.mode
end