Sha256: 84fe0faec6c5d92739ad2e6386986f9c0af20dde624d4b26b1758eb27e0c9c50

Contents?: true

Size: 403 Bytes

Versions: 1

Compression:

Stored size: 403 Bytes

Contents

module Antlr4ruby

  # @final LexerAction
  class LexerSkipAction
    INSTANCE = LexerSkipAction.new

    def get_action_type
      :SKIP
    end

    def is_position_dependent
      false
    end

    def execute(lexer)
      lexer.skip
    end

    def hash
      # todo
    end

    def eql?(other)
      # todo
    end

    def to_s
      'skip'
    end

  end

end

Version data entries

1 entries across 1 versions & 1 rubygems

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