/// <summary>
        /// Adds Token Definition to Lexer Generator
        /// </summary>
        /// <param name="definition">Token Definition to add</param>
        public virtual void AddTokenDefinition(TokenDefinition definition)
        {
            Contract.Requires(this.tokenDefinitions != null);
            Contract.Requires(definition != null);

            (this.tokenDefinitions as List<TokenDefinition>).Add(definition);
        }
 /// <summary>
 /// Adds Token Definition to Lexer Generator
 /// </summary>
 /// <param name="definition">Token Definition to add</param>
 void ILexerBase.AddTokenDefinition(TokenDefinition definition)
 {
     AddTokenDefinition(definition);
 }