Sha256: 554ad409a29173c3857b3b82fed4a4308a7d49a91feb42d6908b7d33331d6f0c

Contents?: true

Size: 264 Bytes

Versions: 18

Compression:

Stored size: 264 Bytes

Contents

class Code
  class Parser
    class Addition < ::Code::Parser
      def parse
        parse_subclass(
          ::Code::Parser::Operation,
          operators: [PLUS, MINUS],
          subclass: ::Code::Parser::Multiplication
        )
      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/addition.rb
code-ruby-parser-0.1.8 lib/code/parser/addition.rb
template-ruby-parser-0.1.7 lib/code/parser/addition.rb
code-ruby-parser-0.1.7 lib/code/parser/addition.rb
template-ruby-parser-0.1.6 lib/code/parser/addition.rb
code-ruby-parser-0.1.6 lib/code/parser/addition.rb
template-ruby-parser-0.1.5 lib/code/parser/addition.rb
code-ruby-parser-0.1.5 lib/code/parser/addition.rb
template-ruby-parser-0.1.4 lib/code/parser/addition.rb
code-ruby-parser-0.1.4 lib/code/parser/addition.rb
template-ruby-parser-0.1.3 lib/code/parser/addition.rb
code-ruby-parser-0.1.3 lib/code/parser/addition.rb
template-ruby-parser-0.1.2 lib/code/parser/addition.rb
code-ruby-parser-0.1.2 lib/code/parser/addition.rb
template-ruby-parser-0.1.1 lib/code/parser/addition.rb
code-ruby-parser-0.1.1 lib/code/parser/addition.rb
template-ruby-parser-0.1.0 lib/code/parser/addition.rb
code-ruby-parser-0.1.0 lib/code/parser/addition.rb