Skip to content

M_Cyjb_Compilers_Parsers_ParserController_1_GetNextState

CYJB edited this page Mar 23, 2024 · 7 revisions

ParserController(T).GetNextState 方法

返回指定状态移入指定输入后的状态,但不会改变当前解析状态。

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

语法

C#

protected int GetNextState(
	int state,
	T kind
)

参数

 

state
Type: System.Int32
要检查的状态。
kind
Type: T
要移入的输入。

返回值

Type: Int32
移入指定输入后的状态。

参见

Reference

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

Clone this wiki locally