# File test/src/simple_parser_test.rb, line 303 def testGetIndexFromGrammar assertGrammar('abc cdef', 1, word.token(:word).many, token(:word) >> get_index) end