vendor/bundle/ruby/2.3.0/gems/sass-3.4.22/lib/sass/scss/parser.rb
# Expose for the SASS parser.
Expose for the SASS parser.
Expose for the SASS parser .
def tok!(rx)
        t = tok(rx)
        return t if t
        name = TOK_NAMES[rx]
        unless name
          source = rx.source.gsub(%r{\\/}, '/')
          string = rx.source.gsub(/\\(.)/, '\1')
          name = source == Regexp.escape(string) ? string.inspect : rx.inspect
        end
        expected(name)
      end
def tok! ( rx ) t = tok ( rx ) return t if t name = TOK_NAMES [ rx ] unless name source = rx . source . gsub ( %r{ \\ / } , '/' ) string = rx . source . gsub ( / \\ (.) / , '\1' ) name = source == Regexp . escape ( string ) ? string . inspect : rx . inspect end expected ( name ) end
Expose for the SASS parser.
Expose for the SASS parser .
# Display basic regexps as plain old strings
rx
<not_specific>