Sha256: ddace37c09d204a4f62126867bad95db8d09ba22e8f12d3816408821f6cd6abb

Contents?: true

Size: 186 Bytes

Versions: 26

Compression:

Stored size: 186 Bytes

Contents

module Hamlit
  module Parsers
    module Text
      def parse_text(scanner)
        ast = [:haml, :text]
        ast << scanner.scan(/.+/).strip
        ast
      end
    end
  end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
hamlit-1.3.0 lib/hamlit/parsers/text.rb
hamlit-1.2.1 lib/hamlit/parsers/text.rb
hamlit-1.2.0 lib/hamlit/parsers/text.rb
hamlit-1.1.1 lib/hamlit/parsers/text.rb
hamlit-1.1.0 lib/hamlit/parsers/text.rb
hamlit-1.0.0 lib/hamlit/parsers/text.rb
hamlit-0.6.2 lib/hamlit/parsers/text.rb
hamlit-0.6.1 lib/hamlit/parsers/text.rb
hamlit-0.6.0 lib/hamlit/parsers/text.rb
hamlit-0.5.3 lib/hamlit/parsers/text.rb
hamlit-0.5.2 lib/hamlit/parsers/text.rb
hamlit-0.5.1 lib/hamlit/parsers/text.rb
hamlit-0.5.0 lib/hamlit/parsers/text.rb
hamlit-0.4.3 lib/hamlit/parsers/text.rb
hamlit-0.4.2 lib/hamlit/parsers/text.rb
hamlit-0.4.1 lib/hamlit/parsers/text.rb
hamlit-0.3.4 lib/hamlit/parsers/text.rb
hamlit-0.3.3 lib/hamlit/parsers/text.rb
hamlit-0.3.2 lib/hamlit/parsers/text.rb
hamlit-0.3.1 lib/hamlit/parsers/text.rb