Sha256: cd3b536464b629405a44d07088aed320286bf8146c49a7070fc45aae6b65f30f

Contents?: true

Size: 390 Bytes

Versions: 25

Compression:

Stored size: 390 Bytes

Contents

require 'rley'

module Zenlish
  module Lex
    # TODO: document
    class Literal < Rley::Lexical::Token
      attr_reader :zlexeme

      # initialize(theLexeme, aTerminal, aPosition) ⇒ Token
      def initialize(literalText, aLexeme, aPosition)
        super(literalText, aLexeme.wclass.name, aPosition)
        @zlexeme = aLexeme
      end
    end # class
  end # module
end # module

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
zenlish-0.1.25 lib/zenlish/lex/literal.rb
zenlish-0.1.24 lib/zenlish/lex/literal.rb
zenlish-0.1.23 lib/zenlish/lex/literal.rb
zenlish-0.1.22 lib/zenlish/lex/literal.rb
zenlish-0.1.21 lib/zenlish/lex/literal.rb
zenlish-0.1.20 lib/zenlish/lex/literal.rb
zenlish-0.1.19 lib/zenlish/lex/literal.rb
zenlish-0.1.18 lib/zenlish/lex/literal.rb
zenlish-0.1.17 lib/zenlish/lex/literal.rb
zenlish-0.1.16 lib/zenlish/lex/literal.rb
zenlish-0.1.15 lib/zenlish/lex/literal.rb
zenlish-0.1.14 lib/zenlish/lex/literal.rb
zenlish-0.1.13 lib/zenlish/lex/literal.rb
zenlish-0.1.12 lib/zenlish/lex/literal.rb
zenlish-0.1.11 lib/zenlish/lex/literal.rb
zenlish-0.1.10 lib/zenlish/lex/literal.rb
zenlish-0.1.09 lib/zenlish/lex/literal.rb
zenlish-0.1.07 lib/zenlish/lex/literal.rb
zenlish-0.1.06 lib/zenlish/lex/literal.rb
zenlish-0.1.05 lib/zenlish/lex/literal.rb