C# 클래스 Microsoft.Automata.Internal.Utilities.UnicodeCategoryRangesGenerator

Utility for generating unicode category ranges and corresponing binary decision diagrams
파일 보기 프로젝트 열기: AutomataDotNet/Automata

공개 메소드들

메소드 설명
Generate ( string namespacename, string classname, string path ) : void

Create a file classname.cs in the directory path. The file contains the static class with name classname and has namespace namespacename. The class has static fields that map unicode categories to their character ranges and provide whitespace ranges. The fields are for the ASCII case (7 bits), CP437 case (8 bits) and for UTF16 (16 bits). Overwrites an existing file, even if the existing file is write protected.

비공개 메소드들

메소드 설명
WriteRangeFields ( BitWidth encoding, StreamWriter sw, string field ) : void

메소드 상세

Generate() 공개 정적인 메소드

Create a file classname.cs in the directory path. The file contains the static class with name classname and has namespace namespacename. The class has static fields that map unicode categories to their character ranges and provide whitespace ranges. The fields are for the ASCII case (7 bits), CP437 case (8 bits) and for UTF16 (16 bits). Overwrites an existing file, even if the existing file is write protected.
public static Generate ( string namespacename, string classname, string path ) : void
namespacename string namespace for the class
classname string name of the class
path string path where the file is written
리턴 void