|
Terraria v1.4.4.9
Terraria source code documentation
|
Classes | |
| struct | CharClassAnalysisResults |
| struct | LowerCaseMapping |
| struct | SingleRange |
Public Member Functions | |
| RegexCharClass () | |
| void | AddChar (char c) |
| void | AddCharClass (RegexCharClass cc) |
| bool | TryAddCharClass (RegexCharClass cc) |
| void | AddSubtraction (RegexCharClass sub) |
| void | AddRange (char first, char last) |
| void | AddCategoryFromName (string categoryName, bool invert, bool caseInsensitive, string pattern, int currentPos) |
| void | AddLowercase (CultureInfo culture) |
| void | AddWord (bool ecma, bool negate) |
| void | AddSpace (bool ecma, bool negate) |
| void | AddDigit (bool ecma, bool negate, string pattern, int currentPos) |
| string | ToStringClass () |
Static Public Member Functions | |
| static string | ConvertOldStringsToClass (string set, string category) |
| static char | SingletonChar (string set) |
| static bool | IsMergeable (string charClass) |
| static bool | IsEmpty (string charClass) |
| static bool | IsSingleton (string set) |
| static bool | IsSingletonInverse (string set) |
| static bool | TryGetSingleUnicodeCategory (string set, out UnicodeCategory category, out bool negated) |
| static bool | TryGetSingleRange (string set, out char lowInclusive, out char highInclusive) |
| static int | GetSetChars (string set, Span< char > chars) |
| static bool | MayOverlap (string set1, string set2) |
| static bool | IsECMAWordChar (char ch) |
| static bool | IsWordChar (char ch) |
| static bool | CharInClass (char ch, string set, ref int[] asciiResultCache) |
| static bool | CharInClass (char ch, string set) |
| static RegexCharClass | Parse (string charClass) |
Static Package Functions | |
| static CharClassAnalysisResults | Analyze (string set) |
| static bool | IsSubtraction (string charClass) |
| static bool | IsNegated (string set) |
| static bool | IsNegated (string set, int setOffset) |
Static Package Attributes | |
| static readonly LowerCaseMapping[] | s_lcTable |
Properties | |
| bool | CanMerge [get] |
| bool | Negate [set] |
Private Member Functions | |
| RegexCharClass (bool negate, List< SingleRange > ranges, StringBuilder categories, RegexCharClass subtraction) | |
| StringBuilder | EnsureCategories () |
| List< SingleRange > | EnsureRangeList () |
| void | AddSet (ReadOnlySpan< char > set) |
| void | AddCategory (string category) |
| void | AddLowercaseRange (char chMin, char chMax) |
| void | ToStringClass (ref System.Text.ValueStringBuilder vsb) |
| void | Canonicalize () |
Static Private Member Functions | |
| static bool | CanEasilyEnumerateSetContents (string set) |
| static bool | CharInClassRecursive (char ch, string set, int start) |
| static bool | CharInClassInternal (char ch, string set, int start, int setLength, int categoryLength) |
| static bool | CharInCategory (char ch, string set, int start, int setLength, int categoryLength) |
| static bool | CharInCategoryGroup (UnicodeCategory chcategory, string category, ref int i) |
| static RegexCharClass | ParseRecursive (string charClass, int start) |
| static ReadOnlySpan< char > | SetFromProperty (string capname, bool invert, string pattern, int currentPos) |
Private Attributes | |
| List< SingleRange > | _rangelist |
| StringBuilder | _categories |
| RegexCharClass | _subtractor |
| bool | _negate |
Static Private Attributes | |
| static readonly Dictionary< string, string > | s_definedCategories |
| static readonly string[][] | s_propTable |
Definition at line 7 of file RegexCharClass.cs.