Home | History | Annotate | Download | only in cindex

Lines Matching refs:tokens

15     tokens = list(tu.get_tokens(extent=r))
17 assert len(tokens) == 5
18 assert tokens[1].spelling == 'i'
19 assert tokens[1].kind == TokenKind.IDENTIFIER
21 cursor = tokens[1].cursor
23 assert tokens[1].cursor == tokens[2].cursor
31 tokens = list(tu.get_tokens(extent=r))
32 eq_(len(tokens), 4)
34 loc = tokens[1].location
45 tokens = list(tu.get_tokens(extent=r))
46 eq_(len(tokens), 4)
48 extent = tokens[1].extent