def parse(aTokenizer)
      tokens = []
      aTokenizer.each do |a_token|
        next unless a_token

        term_name = a_token.terminal
        term_symb = grammar.name2symbol[term_name]
        a_token.instance_variable_set(:@terminal, term_symb)
        tokens << a_token
      end
      parser = build_parser(grammar)
      parser.gf_graph.diagnose if configuration.diagnose
      result = parser.parse(tokens)
      result.tidy_up!

      return result
    end
def parse(aTokenizer)
      tokens = []
      aTokenizer.each do |a_token|
        next unless a_token

        term_name = a_token.terminal
        term_symb = grammar.name2symbol[term_name]
        a_token.instance_variable_set(:@terminal, term_symb)
        tokens << a_token
      end
      parser = build_parser(grammar)
      parser.gf_graph.diagnose if configuration.diagnose
      result = parser.parse(tokens)
      result.tidy_up!

      return result
    end
Parse the sequence of tokens produced by the given tokenizer object.
 @param aTokenizer [#each]
 @return [Parser::GFGParsing]