Searched refs:IDENT (Results 1 – 4 of 4) sorted by relevance
/development/vndk/tools/sourcedr/ninja/tests/ |
D | test_ninja.py | 187 self.assertEqual(ninja.TK.IDENT, tok.kind) 210 self.assertEqual(ninja.TK.IDENT, tok.kind) 216 self.assertEqual(ninja.TK.IDENT, tok.kind) 221 self.assertEqual(ninja.TK.IDENT, tok.kind) 228 self.assertEqual(ninja.TK.IDENT, tok.kind) 232 self.assertEqual(ninja.TK.IDENT, tok.kind) 238 self.assertEqual(ninja.TK.IDENT, tok.kind) 242 self.assertEqual(ninja.TK.IDENT, tok.kind) 248 self.assertEqual(ninja.TK.IDENT, tok.kind) 252 self.assertEqual(ninja.TK.IDENT, tok.kind) [all …]
|
/development/vndk/tools/sourcedr/ninja/ |
D | ninja.py | 237 IDENT = 5 variable in TK 341 (TK.IDENT, r'[\w_.-]+'), 592 elif token.kind == TK.IDENT: 621 elif token.kind != TK.IDENT: 635 key = self._lexer.lex_match({TK.IDENT}).value 683 token = self._lexer.lex_match({TK.IDENT}) 702 build.rule = self._lexer.lex_match({TK.IDENT}).value 763 token = self._lexer.lex_match({TK.IDENT}) 767 rule.name = self._lexer.lex_match({TK.IDENT}).value 782 token = self._lexer.lex_match({TK.IDENT}) [all …]
|
/development/vndk/tools/sourcedr/blueprint/tests/ |
D | test_lexer.py | 521 self.assertEqual(token, Token.IDENT) 530 self.assertEqual(token, Token.IDENT) 559 self.assertEqual(lexer.token, Token.IDENT) 561 lexer.consume(Token.IDENT) 565 self.assertEqual(lexer.token, Token.IDENT) 567 lexer.consume(Token.IDENT) 588 self.assertEqual(lexer.token, Token.IDENT) 590 lexer.consume(Token.IDENT)
|
/development/vndk/tools/sourcedr/blueprint/ |
D | blueprint.py | 98 IDENT = 1 variable in Token 322 (Token.IDENT, '[A-Za-z_][0-9A-Za-z_]*'), 370 if token in {Token.IDENT, Token.INTEGER}: 589 if lexer.token == Token.IDENT: 634 self.lexer.consume(Token.IDENT) 651 lexer.consume(Token.IDENT) 677 if token == Token.IDENT: 728 if lexer.token != Token.IDENT:
|