Skip to content

T_Cyjb_Compilers_Lexers_DfaState

CYJB edited this page Mar 23, 2024 · 8 revisions

DfaState 类

表示确定有穷自动机(DFA)的状态。

继承层次

System.Object
  Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase`1(DfaState)
    Cyjb.Compilers.Lexers.DfaState
Namespace: Cyjb.Compilers.Lexers
Assembly: Cyjb.Compilers (in Cyjb.Compilers.dll) Version: 1.0.20+d347ea0351607fb282fdf60a5301f9cccb3ab27e

语法

C#

public sealed class DfaState : <a href="https://github.com/CYJB/Cyjb/wiki/T_Cyjb_Collections_ObjectModel_ReadOnlyCollectionBase_1" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase`1</a><DfaState>

The DfaState type exposes the following members.

属性

 

名称 说明
公共属性 ConflictedSymbols 获取出现冲突时被忽略的符号列表,按符号索引排序。
公共属性 Count 获取当前集合包含的元素数。 (重写 Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase`1.Count.)
公共属性 Index 获取当前状态的索引。
公共属性 Item(CharClass) 获取指定字符类转移到的状态。
公共属性 Item(Int32) 获取指定字符类索引转移到的状态。
公共属性 Symbols 获取当前状态的符号列表,按符号索引排序。
  Back to Top

方法

 

名称 说明
公共方法 Contains 确定当前集合是否包含指定对象。 (重写 Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase1.Contains(0).)
公共方法 Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase1.CopyTo(0[],System.Int32) 从特定的 Array 索引处开始,将当前集合 的元素复制到一个 Array 中。 (继承自 Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase1</a>(DfaState)。)</td></tr><tr><td>![公共方法](media/pubmethod.gif "公共方法")</td><td><a href="https://docs.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)" target="_blank" rel="noopener noreferrer">Equals</a></td><td> Determines whether the specified object is equal to the current object. (继承自 <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_DfaState_GetEnumerator">GetEnumerator</a></td><td> 返回一个循环访问集合的枚举器。 (重写 <a href="https://github.com/CYJB/Cyjb/wiki/M_Cyjb_Collections_ObjectModel_ReadOnlyCollectionBase_1_GetEnumerator" target="_blank" rel="noopener noreferrer">Cyjb.Collections.ObjectModel.ReadOnlyCollectionBase1.GetEnumerator.)
公共方法 GetHashCode Serves as the default hash function. (继承自 Object。)
公共方法 GetSymbolInfo 返回符号信息。
公共方法 GetType Gets the Type of the current instance. (继承自 Object。)
公共方法 ToString 返回当前对象的字符串表示形式。 (重写 Object.ToString().)
  Back to Top

参见

Reference

Cyjb.Compilers.Lexers 命名空间

Clone this wiki locally