Editare

Partajați prin


Plus Class

Definition

Performs addition and concatenation operations. 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 Plus sealed : Microsoft::JScript::BinaryOp
public sealed class Plus : Microsoft.JScript.BinaryOp
type Plus = class
    inherit BinaryOp
Public NotInheritable Class Plus
Inherits BinaryOp
Inheritance

Constructors

Plus()

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

Initializes a new instance of the Plus 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)

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

Performs an addition or concatenation operation.

Equals(Object)

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

(Inherited from Object)
EvaluatePlus(Object, Object)

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

Performs an addition or concatenation operation.

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

See also