Sha256: f8f8263643294afb1d64e9cc082038ce88a75ff4dd49c7dd8401e56ba14ebb73

Contents?: true

Size: 261 Bytes

Versions: 65

Compression:

Stored size: 261 Bytes

Contents

# frozen_string_literal: true

class Code
  class Parser
    class Power < RightOperation
      def statement
        Function
      end

      def asterisk
        str("*")
      end

      def operator
        asterisk << asterisk
      end
    end
  end
end

Version data entries

65 entries across 65 versions & 1 rubygems

Version Path
code-ruby-0.6.4 lib/code/parser/power.rb
code-ruby-0.6.3 lib/code/parser/power.rb
code-ruby-0.6.2 lib/code/parser/power.rb
code-ruby-0.6.1 lib/code/parser/power.rb
code-ruby-0.6.0 lib/code/parser/power.rb