Editare

Partajați prin


NumericBinary Class

Definition

Performs binary operations on numeric operands. This class belongs to the abstract syntax tree category.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class NumericBinary sealed : Microsoft::JScript::BinaryOp
public sealed class NumericBinary : Microsoft.JScript.BinaryOp
type NumericBinary = class
    inherit BinaryOp
Public NotInheritable Class NumericBinary
Inherits BinaryOp
Inheritance
NumericBinary

Constructors

NumericBinary(Int32)

This API supports the product infrastructure and is not intended to be used directly from your code.

Initializes a new instance of the NumericBinary class.

Fields

operand1

This API supports the product infrastructure and is not intended to be used directly from your code.

Represents the first operand of the operation.

(Inherited from BinaryOp)
operand2

This API supports the product infrastructure and is not intended to be used directly from your code.

Represents the second operand of the operation.

(Inherited from BinaryOp)
operatorMeth

This API supports the product infrastructure and is not intended to be used directly from your code.

Represents the operation that is actually performed.

(Inherited from BinaryOp)
operatorTok

This API supports the product infrastructure and is not intended to be used directly from your code.

Represents the operation that is requested. One of the JSToken enumeration values.

(Inherited from BinaryOp)
type1

This API supports the product infrastructure and is not intended to be used directly from your code.

Represents the data type of the first operand of the operation.

(Inherited from BinaryOp)
type2

This API supports the product infrastructure and is not intended to be used directly from your code.

Represents the data type of the second operand of the operation.

(Inherited from BinaryOp)

Methods

DoOp(Object, Object, JSToken)

This API supports the product infrastructure and is not intended to be used directly from your code.

Performs the specified binary operation on the specified numeric operands.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
EvaluateNumericBinary(Object, Object)

This API supports the product infrastructure and is not intended to be used directly from your code.

Performs a binary operation on the specified numeric operands.

GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetOperator(IReflect, IReflect)

This API supports the product infrastructure and is not intended to be used directly from your code.

Determines the best method to call based on the operation that is requested and the data types of the operands.

(Inherited from BinaryOp)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to