Επεξεργασία

Κοινή χρήση μέσω


BinaryOp Class

Definition

Represents the base class for classes that perform operations on two operands, such as Plus, Equality, and Relational. 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 BinaryOp abstract : Microsoft::JScript::AST
public abstract class BinaryOp : Microsoft.JScript.AST
type BinaryOp = class
    inherit AST
Public MustInherit Class BinaryOp
Inherits AST
Inheritance
BinaryOp
Derived

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.

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.

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.

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.

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.

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.

Methods

Equals(Object)

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

(Inherited from Object)
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.

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