Skip to content

T_Cyjb_Compilers_Lexers_ContextData

CYJB edited this page Mar 23, 2024 · 8 revisions

ContextData 类

表示词法分析中上下文的数据。

继承层次

System.Object
  Cyjb.Compilers.Lexers.ContextData
Namespace: Cyjb.Compilers.Lexers
Assembly: Cyjb.Compilers.Runtime (in Cyjb.Compilers.Runtime.dll) Version: 1.0.20+d347ea0351607fb282fdf60a5301f9cccb3ab27e

语法

C#

public class ContextData

The ContextData type exposes the following members.

构造函数

 

名称 说明
公共方法 ContextData 使用指定的上下文数据初始化 ContextData 类的新实例。
  Back to Top

属性

 

名称 说明
公共属性 EofAction 上下文的 EOF 动作。
公共属性 EofValue 上下文的 EOF 动作的值。
公共属性 Index 上下文的索引。
公共属性 Label 上下文的标签。
  Back to Top

方法

 

名称 说明
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
受保护的方法 Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (继承自 Object。)
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
受保护的方法 MemberwiseClone Creates a shallow copy of the current Object. (继承自 Object。)
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
  Back to Top

字段

 

名称 说明
公共字段静态成员 Default 默认的词法分析上下文。
公共字段静态成员 Initial 初始的词法分析器上下文名称。
  Back to Top

参见

Reference

Cyjb.Compilers.Lexers 命名空间

Clone this wiki locally