Microsoft.JScript.BitwiseBinary.InferType C# (CSharp) Method

InferType() private method

private InferType ( JSField inference_target ) : IReflect
inference_target JSField
return IReflect
      internal override IReflect InferType(JSField inference_target){
        MethodInfo oper;
        if (this.type1 == null || inference_target != null){
          oper = this.GetOperator(this.operand1.InferType(inference_target), this.operand2.InferType(inference_target));
        }else
          oper = this.GetOperator(this.type1, this.type2);
        if (oper != null){
          this.metaData = oper;
          return oper.ReturnType;
        }
        return BitwiseBinary.ResultType(this.type1, this.type2, this.operatorTok);
      }