Sha256: 8aa270bc42851453864ac08d93ee06d7adb55bdbc254166b2af7b355e87afe23

Contents?: true

Size: 327 Bytes

Versions: 104

Compression:

Stored size: 327 Bytes

Contents

require 'journey/scanner'
require 'journey/nodes/node'

module Journey
  class Parser < Racc::Parser
    include Journey::Nodes

    def initialize
      @scanner = Scanner.new
    end

    def parse string
      @scanner.scan_setup string
      do_parse
    end

    def next_token
      @scanner.next_token
    end
  end
end

Version data entries

104 entries across 78 versions & 19 rubygems

Version Path
active_mailer-0.0.10 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
judge-2.0.5 vendor/bundle/ruby/2.1.0/gems/journey-1.0.4/lib/journey/parser_extras.rb
swipe-rails-0.0.5 vendor/bundle/gems/journey-1.0.4/lib/journey/parser_extras.rb
active_mailer-0.0.9 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
active_mailer-0.0.8 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
active_mailer-0.0.7 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
active_mailer-0.0.6 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
font-awesome-rails-3.1.1.2 vendor/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
font-awesome-rails-3.1.1.2 vendor/ruby/2.0.0/gems/journey-1.0.4/lib/journey/parser_extras.rb
font-awesome-rails-3.1.1.1 vendor/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
font-awesome-rails-3.1.1.1 vendor/ruby/2.0.0/gems/journey-1.0.4/lib/journey/parser_extras.rb
challah-1.0.0.beta3 vendor/bundle/gems/journey-1.0.4/lib/journey/parser_extras.rb
fc-webicons-0.0.4 vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
challah-1.0.0.beta2 vendor/bundle/gems/journey-1.0.4/lib/journey/parser_extras.rb
challah-1.0.0.beta vendor/bundle/gems/journey-1.0.4/lib/journey/parser_extras.rb
fc-webicons-0.0.3 vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
fc-webicons-0.0.2 vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
fc-webicons-0.0.1 vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
active_mailer-0.0.5 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb
active_mailer-0.0.4 test/fixtures/dummyapp_rails_3.2/vendor/bundle/ruby/1.9.1/gems/journey-1.0.4/lib/journey/parser_extras.rb