Sha256: 8bf62879a182f957198d47f23dae32136139d82a2937d163b50dbf2264d41806

Contents?: true

Size: 419 Bytes

Versions: 1

Compression:

Stored size: 419 Bytes

Contents

module Antlr4ruby
  # @final LexerAction
  class LexerPopModeAction
    INSTANCE = LexerPopModeAction.new

    def get_action_type
      :POP_MODE
    end

    def is_position_dependent
      false
    end

    def execute(lexer)
      lexer.pop_mode
    end

    def hash
      # todo
    end

    def eql?(other)
      # todo
    end

    def to_s
      'pop_mode'
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
antlr4ruby-0.1.0 lib/antlr4ruby/atn/action/lexer_pop_mode_action.rb