internal bool ShouldSerialize() { return ShouldSerializeLexerName() || ShouldSerializeLexer() || ShouldSerializeWhitespaceChars() || ShouldSerializeWordChars(); }