Sha256: 44a801fbeec5032068a66cbdaff3b32a12d24e9310734fce51f0c5e46cb2aa97

Contents?: true

Size: 508 Bytes

Versions: 6

Compression:

Stored size: 508 Bytes

Contents

#
# Copyright (c) 2018-present, Blue Marble Payroll, LLC
#
# This source code is licensed under the MIT license found in the
# LICENSE file in the root directory of this source tree.
#

module Logicality
  module Parser
    module Ast
      class BinaryOperatorNode < Node

        attr_reader :left, :right

        def initialize(left, token, right)
          super(token)

          @name  = 'binary_operator_node'
          @left  = left
          @right = right
        end

      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
logicality-1.0.4 lib/logicality/parser/ast/binary_operator_node.rb
logicality-1.0.3 lib/logicality/parser/ast/binary_operator_node.rb
logicality-1.0.2 lib/logicality/parser/ast/binary_operator_node.rb
logicality-1.0.1 lib/logicality/parser/ast/binary_operator_node.rb
logicality-1.0.0 lib/logicality/parser/ast/binary_operator_node.rb
logicality-0.0.1 lib/logicality/parser/ast/binary_operator_node.rb