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