Sha256: 861b5f2dc0ec8a91aa67ed7fa719dcce716851c990ff30ee81dab3d1bfa1ec70
Contents?: true
Size: 591 Bytes
Versions: 1
Compression:
Stored size: 591 Bytes
Contents
module Antlr4ruby # @final LexerAction class LexerIndexedCustomAction def initialize(offset, action) @offset, @action = offset, action end def get_offset @offset end def get_action @action end def get_action_type action.get_action_type end def is_position_dependent true end def execute(lexer) action.execute(lexer) end def hash # todo end def eql?(other) # todo end private attr_reader :offset, :action end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
antlr4ruby-0.1.0 | lib/antlr4ruby/atn/action/lexer_indexed_custom_action.rb |