BinaryOp BinaryOp BinaryOp 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
BinaryOpBinaryOpBinaryOpBinaryOp
Derived

Fields

operand1 operand1 operand1 operand1

Represents the first operand of the operation.

operand2 operand2 operand2 operand2

Represents the second operand of the operation.

operatorMeth operatorMeth operatorMeth operatorMeth

Represents the operation that is actually performed.

operatorTok operatorTok operatorTok operatorTok

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

type1 type1 type1 type1

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

type2 type2 type2 type2

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

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

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetOperator(IReflect, IReflect) GetOperator(IReflect, IReflect) GetOperator(IReflect, IReflect) GetOperator(IReflect, IReflect)

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

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to