summaryrefslogtreecommitdiff
path: root/tool/lrama/lib/lrama/lexer/token/tag.rb
blob: e54d77391570f825cd4d5917c58fe0a81c168a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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