public WordEntry(string word, FlagSet flags, MorphSet morphs, WordEntryOptions options)
 {
     Word    = word;
     Flags   = flags;
     Morphs  = morphs;
     Options = options;
 }
Esempio n. 2
0
 public static bool HasFlag(this WordEntryOptions value, WordEntryOptions flag) => (value & flag) == flag;
Esempio n. 3
0
 public WordEntryDetail(FlagSet flags, MorphSet morphs, WordEntryOptions options)
 {
     Flags   = flags ?? FlagSet.Empty;
     Morphs  = morphs ?? MorphSet.Empty;
     Options = options;
 }
Esempio n. 4
0
 public WordEntry(string word, FlagSet flags, MorphSet morphs, WordEntryOptions options)
     : this(word, new WordEntryDetail(flags, morphs, options))
 {
 }