Skip to content

Methods_T_Cyjb_Compilers_Lexers_Nfa

CYJB edited this page Sep 9, 2022 · 1 revision

Nfa 方法

The Nfa type exposes the following members.

方法

 

名称 说明
公共方法 BuildDFA 根据当前的 NFA 构造 DFA,采用子集构造法。
公共方法 BuildRegex 使用指定正则表达式构造 NFA,并返回构造结果。
公共方法 Cyjb.Collections.ObjectModel.ReadOnlyListBase1.Contains(0) 确定当前列表是否包含指定对象。 (继承自 Cyjb.Collections.ObjectModel.ReadOnlyListBase1</a>(<a href="T_Cyjb_Compilers_Lexers_NfaState">NfaState</a>)。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://github.com/CYJB/Cyjb/wiki/M_Cyjb_Collections_ObjectModel_ReadOnlyCollectionBase_1_CopyTo(_0[],System_Int32)" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase1.CopyTo(0[],System.Int32)</a></td><td> 从特定的 <a href="https://docs.microsoft.com/dotnet/api/system.array" target="_blank" rel="noopener noreferrer">Array</a> 索引处开始,将当前集合 的元素复制到一个 <a href="https://docs.microsoft.com/dotnet/api/system.array" target="_blank" rel="noopener noreferrer">Array</a> 中。 (继承自 <a href="https://github.com/CYJB/Cyjb/wiki/T_Cyjb_Collections_ObjectModel_ReadOnlyCollectionBase_1" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase1(NfaState)。)
公共方法 Equals Determines whether the specified object is equal to the current object. (继承自 Object。)
公共方法 GetEnumerator 返回一个循环访问集合的枚举器。 (重写 Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase1.GetEnumerator</a>.)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://docs.microsoft.com/dotnet/api/system.object.gethashcode#system-object-gethashcode" target="_blank" rel="noopener noreferrer">GetHashCode</a></td><td> Serves as the default hash function. (继承自 <a href="https://docs.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://docs.microsoft.com/dotnet/api/system.object.gettype#system-object-gettype" target="_blank" rel="noopener noreferrer">GetType</a></td><td> Gets the <a href="https://docs.microsoft.com/dotnet/api/system.type" target="_blank" rel="noopener noreferrer">Type</a> of the current instance. (继承自 <a href="https://docs.microsoft.com/dotnet/api/system.object" target="_blank" rel="noopener noreferrer">Object</a>。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="M_Cyjb_Compilers_Lexers_Nfa_IndexOf">IndexOf</a></td><td> 确定当前列表中指定对象的索引。 (重写 <a href="https://github.com/CYJB/Cyjb/wiki/M_Cyjb_Collections_ObjectModel_ReadOnlyListBase_1_IndexOf(_0)" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ReadOnlyListBase1.IndexOf(`0).)
公共方法 NewState 在当前 NFA 中创建一个新状态。
公共方法 ToString Returns a string that represents the current object. (继承自 Object。)
  Back to Top

参见

Reference

Nfa 类
Cyjb.Compilers.Lexers 命名空间

Clone this wiki locally