Sha256: e05c28feccceb0f32999ee3cdc746bbede94fcb4647600fbb1716ad610a00d9f

Contents?: true

Size: 248 Bytes

Versions: 2

Compression:

Stored size: 248 Bytes

Contents

# frozen_string_literal: true

module Lrama
  class Lexer
    class Token
      class Tag < Token
        # Omit "<>"
        def member
          s_value[1..-2] or raise "Unexpected Tag format (#{s_value})"
        end
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lrama-0.6.11 lib/lrama/lexer/token/tag.rb
lrama-0.6.10 lib/lrama/lexer/token/tag.rb