/external/antlr/antlr-3.4/runtime/Python/antlr3/ |
H A D | tokens.py | 41 class Token(object): class in inherits:object 144 You don't have to implement but it's nice to know where a Token 152 You don't have to implement but it's nice to know where a Token 162 # Token 168 class CommonToken(Token): 179 Token.__init__(self) 312 class ClassicToken(Token): 315 A Token object like we'd use in ANTLR 2.x; has an actual string created 317 tree nodes that have payload objects. We need to create a Token object 326 Token [all...] |
H A D | streams.py | 37 from antlr3.tokens import Token, CommonToken namespace 257 Get Token at current input pointer + i ahead where i=1 is next Token. 259 two tokens ago. LT(0) is undefined. For i>=n, return Token.EOFToken. 292 the object that provides Token objects. 599 # Token streams 962 # Token buffer index. 1055 Token t,u; 1136 if isinstance(index, Token): 1137 # index is a Token, gra [all...] |
H A D | debug.py | 32 from antlr3 import Parser, TokenStream, RecognitionException, Token namespace 283 if isinstance(child, Token): 295 if isinstance(newRoot, Token): 483 which Token object was examined. Like consumeToken, this indicates 544 immediately preceding LT event should hold the unexpected Token or 1048 # Token token = adaptor.getToken(t); 1074 Token.INVALID_TOKEN_TYPE,
|
/external/clang/lib/Format/ |
H A D | FormatToken.cpp | 57 void TokenRole::precomputeFormattingInfos(const FormatToken *Token) {} argument 130 void CommaSeparatedList::precomputeFormattingInfos(const FormatToken *Token) { argument 132 if (!Token->MatchingParen || Token->isNot(tok::l_brace)) 146 FormatToken *ItemBegin = Token->Next; 166 ItemEnd = Token->MatchingParen; 176 ItemEnd = Token->MatchingParen->Previous; 193 if (ItemEnd->getNextNonComment() == Token->MatchingParen) 202 if (HasNestedBracedList || Commas.size() < 5 || Token->NestingLevel != 0 ||
|
H A D | BreakableToken.cpp | 201 const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, 203 : BreakableSingleLineToken(Token, IndentLevel, StartColumn, 204 getLineCommentIndentPrefix(Token.TokenText), "", 207 if (Token.TokenText.size() > Prefix.size() && 208 isAlphanumeric(Token.TokenText[Prefix.size()])) { 252 const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, 255 : BreakableToken(Token, IndentLevel, InPPDirective, Encoding, Style) { 256 StringRef TokenText(Token.TokenText); 200 BreakableLineComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument 251 BreakableBlockComment( const FormatToken &Token, unsigned IndentLevel, unsigned StartColumn, unsigned OriginalStartColumn, bool FirstInLine, bool InPPDirective, encoding::Encoding Encoding, const FormatStyle &Style) argument
|
/external/jsoncpp/include/json/ |
H A D | reader.h | 109 class Token class in class:Json::Reader 120 Token token_; 127 bool expectToken( TokenType type, Token &token, const char *message ); 128 bool readToken( Token &token ); 138 bool readObject( Token &token ); 139 bool readArray( Token &token ); 140 bool decodeNumber( Token &token ); 141 bool decodeString( Token &token ); 142 bool decodeString( Token &token, std::string &decoded ); 143 bool decodeDouble( Token [all...] |
/external/selinux/sepolgen/src/sepolgen/ |
H A D | lex.py | 49 # Token class 557 print "lex: Warning. Token '%s' multiply defined." % n 865 Token = TOKEN variable
|
/external/antlr/antlr-3.4/runtime/Ruby/lib/antlr3/ |
H A D | token.rb | 37 =begin rdoc ANTLR3::Token 52 originated. Token streams will also provide an index value for the token, which 57 == Token as an Interface 63 checking, it's a good idea to include this ANTLR3::Token into your customized 68 module Token module in class:ANTLR3 218 The base class for the standard implementation of Token. It is implemented as a 227 subclass named XYZ::Token. 244 include Token 345 ANTLR3::CommonToken). Token classes are presumed to have an #initialize method 347 have the standard token attributes (see ANTLR3::Token) [all...] |
/external/javassist/src/main/javassist/compiler/ |
H A D | Lex.java | 18 class Token { class 19 public Token next = null; 30 private Token currentToken; 31 private Token lookAheadTokens; 42 currentToken = new Token(); 55 Token t; 70 Token tk = lookAheadTokens; 79 Token tk2; 80 tk.next = tk2 = new Token(); 100 private int get(Token toke [all...] |
/external/llvm/include/llvm/IR/ |
H A D | Statepoint.h | 202 const Value *Token = RelocateCS.getArgument(0); local 204 return isa<ExtractValueInst>(Token) || 205 isa<InvokeInst>(Token);
|
/external/llvm/lib/Fuzzer/ |
H A D | FuzzerLoop.cpp | 158 std::string Token = Options.Tokens[Idx]; local 159 Res.insert(Res.end(), Token.begin(), Token.end());
|
/external/llvm/lib/MC/MCParser/ |
H A D | AsmLexer.cpp | 449 AsmToken Token = LexToken(); local 458 return Token;
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_parse.h | 106 struct tgsi_token Token; member in union:tgsi_full_token
|
/external/protobuf/src/google/protobuf/io/ |
H A D | tokenizer.h | 117 struct Token { struct in class:google::protobuf::io::Tokenizer 132 const Token& current(); 136 const Token& previous(); 206 // result. If the text is not from a Token of type TYPE_INTEGER originally 251 Token current_; // Returned by current(). 252 Token previous_; // Returned by previous(). 385 inline const Tokenizer::Token& Tokenizer::current() { 389 inline const Tokenizer::Token& Tokenizer::previous() {
|
/external/chromium-trace/trace-viewer/tracing/third_party/components/polymer/ |
H A D | polymer.js | 2186 var Token, variable 2197 Token = { 2209 TokenName[Token.BooleanLiteral] = 'Boolean'; 2210 TokenName[Token.EOF] = '<end>'; 2211 TokenName[Token.Identifier] = 'Identifier'; 2212 TokenName[Token.Keyword] = 'Keyword'; 2213 TokenName[Token.NullLiteral] = 'Null'; 2214 TokenName[Token.NumericLiteral] = 'Numeric'; 2215 TokenName[Token.Punctuator] = 'Punctuator'; 2216 TokenName[Token [all...] |
/external/vixl/src/vixl/a64/ |
H A D | debugger-a64.cc | 44 class Token { class in namespace:vixl 46 virtual ~Token() {} 48 // Token type. 56 // Token properties. 61 static Token* Tokenize(const char* arg); 65 template<typename T> class ValueToken : public Token { 89 static Token* Tokenize(const char* arg); 90 static RegisterToken* Cast(Token* tok) { 111 static Token* Tokenize(const char* arg); 112 static FPRegisterToken* Cast(Token* to [all...] |
/external/clang/include/clang/AST/ |
H A D | CommentLexer.h | 57 class Token { class in namespace:clang::comments 295 void formTokenWithChars(Token &Result, const char *TokEnd, 298 void formTextToken(Token &Result, const char *TokEnd) { 320 void lexCommentText(Token &T); 322 void setupAndLexVerbatimBlock(Token &T, 326 void lexVerbatimBlockFirstLine(Token &T); 328 void lexVerbatimBlockBody(Token &T); 330 void setupAndLexVerbatimLine(Token &T, const char *TextBegin, 333 void lexVerbatimLineText(Token &T); 335 void lexHTMLCharacterReference(Token [all...] |
/external/clang/include/clang/Lex/ |
H A D | Token.h | 1 //===--- Token.h - Token interface ------------------------------*- C++ -*-===// 10 // This file defines the Token interface. 28 /// Token - This structure provides full information about a lexed token. 37 class Token { class in namespace:clang 318 struct isPodLike<clang::Token> { static const bool value = true; };
|
/external/deqp/executor/ |
H A D | xeXMLParser.hpp | 43 enum Token enum in namespace:xe::xml 74 const char* getTokenName (Token token); 94 Token getToken (void) const { return m_curToken; } 128 Token m_curToken; //!< Current token.
|
/external/deqp/framework/opengl/ |
H A D | gluVarTypeUtil.hpp | 41 enum Token enum in class:glu::VarTokenizer 56 Token getToken (void) const { return m_token; } 66 Token m_token;
|
/external/google-breakpad/src/testing/gtest/scripts/ |
H A D | pump.py | 137 class Token: class in inherits: 153 return 'Token @%s: \'%s\' type=%s' % ( 159 return Token(self.start.Clone(), self.end.Clone(), self.value, 238 """Creates a new instance of Token.""" 240 return Token(start, end, SubString(lines, start, end), token_type) 305 return Token(token.start, token.end, token.value[:-1], token.token_type) 549 return ParseExpNode(Token(head.start + 1, head.end, head.value[1:], 'id'))
|
/external/llvm/examples/Kaleidoscope/Chapter2/ |
H A D | toy.cpp | 14 enum Token { enum
|
/external/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 869 lltok::Kind Token = Lex.getKind(); local 870 if (Token == lltok::kw_builtin) 872 switch (Token) { 1210 lltok::Kind Token = Lex.getKind(); 1211 switch (Token) { 1289 lltok::Kind Token = Lex.getKind(); 1290 switch (Token) { 4419 lltok::Kind Token = Lex.getKind(); 4420 if (Token == lltok::Eof) 4426 switch (Token) { [all...] |
/external/protobuf/gtest/scripts/ |
H A D | pump.py | 138 class Token: class in inherits: 154 return 'Token @%s: \'%s\' type=%s' % ( 160 return Token(self.start.Clone(), self.end.Clone(), self.value, 228 """Creates a new instance of Token.""" 230 return Token(start, end, SubString(lines, start, end), token_type) 295 return Token(token.start, token.end, token.value[:-1], token.token_type) 540 return ParseExpNode(Token(head.start + 1, head.end, head.value[1:], 'id'))
|
/external/clang/lib/ASTMatchers/Dynamic/ |
H A D | Parser.cpp | 514 const TokenInfo Token = Tokenizer->consumeNextToken(); local 515 Error->addError(Token.Range, Error->ET_ParserInvalidToken) << Token.Text;
|