public override string WriteParseCode(TextWriter writer, ScriptParserGenerator generator)
        {
            string var;

            switch (_literal.Type)
            {
            case GeneratorLexType.Terminal:
                writer.WriteLine(generator.GetCodeOfReadOrThrow(this.RootDefinition.DefinitionName, new string[] { this.InnerWord }, out var));
                return(var);

            case GeneratorLexType.Nonterminal:
                writer.WriteLine(generator.GetCodeOfParseNonterminal(this.InnerWord, out var));
                return(var);

            default:
                throw new NotSupportedException();
            }
        }