Sha256: 58a442dadea0de4b926349684081f6ad1ea17c20ea9d4437e32d6d9809ff4ffd

Contents?: true

Size: 243 Bytes

Versions: 18

Compression:

Stored size: 243 Bytes

Contents

class Code
  class Parser
    class Nothing < ::Code::Parser
      def parse
        if match(NOTHING_KEYWORDS)
          { nothing: buffer }
        else
          parse_subclass(::Code::Parser::Group)
        end
      end
    end
  end
end

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
template-ruby-parser-0.1.8 lib/code/parser/nothing.rb
code-ruby-parser-0.1.8 lib/code/parser/nothing.rb
template-ruby-parser-0.1.7 lib/code/parser/nothing.rb
code-ruby-parser-0.1.7 lib/code/parser/nothing.rb
template-ruby-parser-0.1.6 lib/code/parser/nothing.rb
code-ruby-parser-0.1.6 lib/code/parser/nothing.rb
template-ruby-parser-0.1.5 lib/code/parser/nothing.rb
code-ruby-parser-0.1.5 lib/code/parser/nothing.rb
template-ruby-parser-0.1.4 lib/code/parser/nothing.rb
code-ruby-parser-0.1.4 lib/code/parser/nothing.rb
template-ruby-parser-0.1.3 lib/code/parser/nothing.rb
code-ruby-parser-0.1.3 lib/code/parser/nothing.rb
template-ruby-parser-0.1.2 lib/code/parser/nothing.rb
code-ruby-parser-0.1.2 lib/code/parser/nothing.rb
template-ruby-parser-0.1.1 lib/code/parser/nothing.rb
code-ruby-parser-0.1.1 lib/code/parser/nothing.rb
template-ruby-parser-0.1.0 lib/code/parser/nothing.rb
code-ruby-parser-0.1.0 lib/code/parser/nothing.rb