Indexing in parser