UnaryOp 类

定义

表示对单个操作数执行运算的类(比如 TypeofPostOrPrefixOperator)的基类。Represents the base class for classes that perform operations on single operands, such as Typeof and PostOrPrefixOperator. 此类属于抽象语法树类别。This class belongs to the abstract syntax tree category.

此 API 支持产品基础结构,不能在代码中直接使用。

public ref class UnaryOp abstract : Microsoft::JScript::AST
public abstract class UnaryOp : Microsoft.JScript.AST
type UnaryOp = class
    inherit AST
Public MustInherit Class UnaryOp
Inherits AST
继承
UnaryOp
派生

字段

operand

此 API 支持产品基础结构,不能在代码中直接使用。

表示操作数。Represents the operand.

方法

Equals(Object)

确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(继承自 Object)
GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(继承自 Object)
GetType()

获取当前实例的 TypeGets the Type of the current instance.

(继承自 Object)
MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(继承自 Object)
ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(继承自 Object)

适用于