Skip to content

T_Cyjb_Text_TokenDisplayNameAttribute

CYJB edited this page Mar 23, 2024 · 7 revisions

TokenDisplayNameAttribute 类

表示词法单元类型的显示名称。

继承层次

System.Object
  System.Attribute
    Cyjb.Text.TokenDisplayNameAttribute
Namespace: Cyjb.Text
Assembly: Cyjb.Compilers.Runtime (in Cyjb.Compilers.Runtime.dll) Version: 1.0.20+d347ea0351607fb282fdf60a5301f9cccb3ab27e

语法

C#

public sealed class TokenDisplayNameAttribute : Attribute

The TokenDisplayNameAttribute type exposes the following members.

构造函数

 

名称 说明
公共方法 TokenDisplayNameAttribute 使用指定的显示名称初始化 TokenDisplayNameAttribute 类的新实例。
  Back to Top

属性

 

名称 说明
公共属性 DisplayName 获取词法单元类型的显示名称。
公共属性 TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (继承自 Attribute。)
  Back to Top

方法

 

名称 说明
公共方法 Equals Returns a value that indicates whether this instance is equal to a specified object. (继承自 Attribute。)
公共方法 GetHashCode Returns the hash code for this instance. (继承自 Attribute。)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
公共方法 IsDefaultAttribute When overridden in a derived class, indicates whether the value of this instance is the default value for the derived class. (继承自 Attribute。)
公共方法 Match When overridden in a derived class, returns a value that indicates whether this instance equals a specified object. (继承自 Attribute。)
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
  Back to Top

参见

Reference

Cyjb.Text 命名空间

Clone this wiki locally