class ActionDispatch::Journey::Parser - actionpack-4.2.3 Documentation

# class ActionDispatch::Journey::Parser

### Constants

Racc_arg
Racc_debug_parser
Racc_token_to_s_table

### Public Instance Methods

_reduce_1(val, _values) click to toggle source

reduce 0 omitted

    # File lib/action_dispatch/journey/parser.rb, line 136
    def _reduce_1(val, _values)
     Cat.new(val.first, val.last)
    end

_reduce_10(val, _values) click to toggle source

    # File lib/action_dispatch/journey/parser.rb, line 164
    def _reduce_10(val, _values)
     Star.new(Symbol.new(val.last))
    end

_reduce_15(val, _values) click to toggle source

reduce 14 omitted

    # File lib/action_dispatch/journey/parser.rb, line 176
    def _reduce_15(val, _values)
     Slash.new('/')
    end

_reduce_16(val, _values) click to toggle source

    # File lib/action_dispatch/journey/parser.rb, line 180
    def _reduce_16(val, _values)
     Symbol.new(val.first)
    end

_reduce_17(val, _values) click to toggle source

    # File lib/action_dispatch/journey/parser.rb, line 184
    def _reduce_17(val, _values)
     Literal.new(val.first)
    end

_reduce_18(val, _values) click to toggle source

    # File lib/action_dispatch/journey/parser.rb, line 188
    def _reduce_18(val, _values)
     Dot.new(val.first)
    end

_reduce_2(val, _values) click to toggle source

    # File lib/action_dispatch/journey/parser.rb, line 140
    def _reduce_2(val, _values)
     val.first
    end

_reduce_7(val, _values) click to toggle source

reduce 6 omitted

    # File lib/action_dispatch/journey/parser.rb, line 152
    def _reduce_7(val, _values)
     Group.new(val[1])
    end

_reduce_8(val, _values) click to toggle source

    # File lib/action_dispatch/journey/parser.rb, line 156
    def _reduce_8(val, _values)
     Or.new([val.first, val.last])
    end

_reduce_9(val, _values) click to toggle source

    # File lib/action_dispatch/journey/parser.rb, line 160
    def _reduce_9(val, _values)
     Or.new([val.first, val.last])
    end

_reduce_none(val, _values) click to toggle source

    # File lib/action_dispatch/journey/parser.rb, line 192
    def _reduce_none(val, _values)
      val[0]
    end