Searched refs:Token (Results 1 – 5 of 5) sorted by relevance
/development/vndk/tools/sourcedr/blueprint/ |
D | blueprint.py | 93 class Token(Enum): # pylint: disable=too-few-public-methods class 173 if self.token != Token.SPACE and self.token != Token.COMMENT: 177 self.token = Token.EOF 322 (Token.IDENT, '[A-Za-z_][0-9A-Za-z_]*'), 323 (Token.LPAREN, '\\('), 324 (Token.RPAREN, '\\)'), 325 (Token.LBRACKET, '\\['), 326 (Token.RBRACKET, '\\]'), 327 (Token.LBRACE, '\\{'), 328 (Token.RBRACE, '\\}'), [all …]
|
/development/vndk/tools/sourcedr/blueprint/tests/ |
D | test_lexer.py | 24 from blueprint import Lexer, LexerError, Token 351 self.assertEqual(token, Token.LPAREN) 356 self.assertEqual(token, Token.RPAREN) 361 self.assertEqual(token, Token.LBRACKET) 366 self.assertEqual(token, Token.RBRACKET) 371 self.assertEqual(token, Token.LBRACE) 376 self.assertEqual(token, Token.RBRACE) 381 self.assertEqual(token, Token.COLON) 386 self.assertEqual(token, Token.ASSIGN) 391 self.assertEqual(token, Token.PLUS) [all …]
|
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
D | MediaNotificationManager.java | 55 private MediaSession.Token mSessionToken; 171 MediaSession.Token freshToken = mService.getSessionToken(); in updateSessionToken()
|
/development/vndk/tools/header-checker/src/dumper/ |
D | fake_decl_source.cpp | 98 const clang::Token &next_token = ci_.getPreprocessor().LookAhead(0); in CreateDecl()
|
/development/vndk/tools/sourcedr/ninja/ |
D | ninja.py | 225 Token = collections.namedtuple('Token', 'kind line column value') variable 354 return Token(TK.EOF, self._line, self._line_pos + 1, '') 370 token = Token(kind, self._line, self._line_pos + 1, 466 return Token(result_kind, start_line, start_column, builder.getvalue())
|