Skip to content

M_Cyjb_Compilers_Lexers_NfaState_Add_2

CYJB edited this page Mar 23, 2024 · 7 revisions

NfaState.Add 方法 (NfaState, Char)

添加一个到特定状态的转移。

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

语法

C#

public void Add(
	NfaState state,
	char ch
)

参数

 

state
Type: Cyjb.Compilers.Lexers.NfaState
要转移到的状态。
ch
Type: System.Char
转移的字符。

参见

Reference

NfaState 类
Add 重载
Cyjb.Compilers.Lexers 命名空间

Clone this wiki locally