class TypeProf::Core::AST::CallBaseNode::OperatorNode - typeprof: Ruby Standard Library Documentation

# class TypeProf::Core::AST::CallBaseNode::OperatorNode

### Public Class Methods

new(raw_node, recv, lenv) click to toggle source
Calls superclass method `TypeProf::Core::AST::CallBaseNode::new`

    # File typeprof-0.30.1/lib/typeprof/core/ast/call.rb, line 207
    def initialize(raw_node, recv, lenv)
      mid = raw_node.binary_operator
      mid_code_range = TypeProf::CodeRange.from_node(raw_node.binary_operator_loc)
      last_arg = AST.create_node(raw_node.value, lenv)
      super(raw_node, recv, mid, mid_code_range, nil, last_arg, nil, lenv)
    end