Skip to content

M_Cyjb_Compilers_Lexers_ContextData__ctor

CYJB edited this page Mar 23, 2024 · 7 revisions

ContextData 构造函数

使用指定的上下文数据初始化 ContextData 类的新实例。

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

语法

C#

public ContextData(
	int index,
	string label,
	Delegate? eofAction = null,
	Object? eofValue = null
)

参数

 

index
Type: System.Int32
上下文的索引。
label
Type: System.String
上下文的标签。
eofAction (Optional)
Type: System.Delegate
EOF 动作。
eofValue (Optional)
Type: System.Object
EOF 动作的值。

参见

Reference

ContextData 类
Cyjb.Compilers.Lexers 命名空间

Clone this wiki locally