Method: LexerCustomAction#initialize

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

#initialize(rule_index, action_index) ⇒ LexerCustomAction

Returns a new instance of LexerCustomAction.



217
218
219
220
221
222
# File 'lib/antlr4/atn/LexerAction.rb', line 217

def initialize(rule_index, action_index)
    super(LexerActionType::CUSTOM)
    @ruleIndex = rule_index
    @actionIndex = action_index
    @isPositionDependent = true
end