Sha256: a129761570bc8ccc130d93e13e21976c1e29d1f53dd34eabffaf626ad7a808b7
Contents?: true
Size: 542 Bytes
Versions: 226
Compression:
Stored size: 542 Bytes
Contents
# frozen_string_literal: true require "action_dispatch/journey/scanner" require "action_dispatch/journey/nodes/node" module ActionDispatch # :stopdoc: module Journey class Parser < Racc::Parser include Journey::Nodes def self.parse(string) new.parse string end 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 # :startdoc: end
Version data entries
226 entries across 213 versions & 13 rubygems