Skip to content

M_Cyjb_Compilers_Parsers_ParserData_1_GetExpecting

CYJB edited this page Mar 23, 2024 · 7 revisions

ParserData(T).GetExpecting 方法

返回指定状态预期的所有词法单元类型。

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

语法

C#

public IReadOnlySet<T> GetExpecting(
	int state
)

参数

 

state
Type: System.Int32
要检查的状态。

返回值

Type: IReadOnlySet(T)
指定状态预期的所有词法单元类型。

参见

Reference

ParserData(T) 类
Cyjb.Compilers.Parsers 命名空间

Clone this wiki locally