/external/pdfium/xfa/fxfa/fm2js/ |
D | cxfa_fmlexer_unittest.cpp | 15 std::unique_ptr<CXFA_FMToken> token = lexer.NextToken(); in TEST() 21 std::unique_ptr<CXFA_FMToken> token = lexer->NextToken(); in TEST() 24 token = lexer->NextToken(); in TEST() 26 token = lexer->NextToken(); in TEST() 30 token = lexer->NextToken(); in TEST() 35 token = lexer->NextToken(); in TEST() 40 token = lexer->NextToken(); in TEST() 45 token = lexer->NextToken(); in TEST() 50 token = lexer->NextToken(); in TEST() 57 token = lexer->NextToken(); in TEST() [all …]
|
D | cxfa_fmparser.cpp | 26 m_token = m_lexer->NextToken(); in CXFA_FMParser() 41 bool CXFA_FMParser::NextToken() { in NextToken() function in CXFA_FMParser 44 m_token = m_lexer->NextToken(); in NextToken() 46 m_token = m_lexer->NextToken(); in NextToken() 58 return NextToken(); in CheckThenNext() 99 if (!NextToken()) in ParseFunction() 106 if (!NextToken()) in ParseFunction() 112 if (!NextToken()) in ParseFunction() 121 if (!NextToken()) in ParseFunction() 124 if (!NextToken()) in ParseFunction() [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Tree/ |
D | TreePatternParser.cs | 46 ttype = tokenizer.NextToken(); // kickstart in TreePatternParser() 66 ttype = tokenizer.NextToken(); in ParseTree() 90 ttype = tokenizer.NextToken(); in ParseTree() 98 ttype = tokenizer.NextToken(); in ParseNode() 103 ttype = tokenizer.NextToken(); in ParseNode() 107 ttype = tokenizer.NextToken(); // move to ID following colon in ParseNode() 112 ttype = tokenizer.NextToken(); in ParseNode() 127 ttype = tokenizer.NextToken(); in ParseNode() 137 ttype = tokenizer.NextToken(); in ParseNode()
|
D | RewriteRuleTokenStream.cs | 77 public virtual IToken NextToken() { in NextToken() method in Antlr.Runtime.Tree.RewriteRuleTokenStream
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/Tree/ |
D | TreePatternParser.cs | 49 ttype = tokenizer.NextToken(); // kickstart in TreePatternParser() 75 ttype = tokenizer.NextToken(); in ParseTree() 105 ttype = tokenizer.NextToken(); in ParseTree() 115 ttype = tokenizer.NextToken(); in ParseNode() 121 ttype = tokenizer.NextToken(); in ParseNode() 126 ttype = tokenizer.NextToken(); // move to ID following colon in ParseNode() 132 ttype = tokenizer.NextToken(); in ParseNode() 149 ttype = tokenizer.NextToken(); in ParseNode() 161 ttype = tokenizer.NextToken(); in ParseNode()
|
D | RewriteRuleTokenStream.cs | 66 public virtual IToken NextToken() in NextToken() method in Antlr.Runtime.Tree.RewriteRuleTokenStream
|
/external/clang/lib/Format/ |
D | FormatToken.cpp | 78 if (State.NextToken == nullptr || !State.NextToken->Previous) in formatAfterToken() 83 State.NextToken->Previous->getPreviousNonComment(); in formatAfterToken() 92 Style.ColumnLimit - State.Column + State.NextToken->Previous->ColumnWidth; in formatAfterToken() 106 while (State.NextToken != LBrace->MatchingParen) { in formatAfterToken() 111 if (Item < Commas.size() && State.NextToken->Previous == Commas[Item]) { in formatAfterToken() 112 if (!State.NextToken->isTrailingComment()) { in formatAfterToken() 119 if (Column == Format->Columns || State.NextToken->MustBreakBefore) { in formatAfterToken()
|
D | ContinuationIndenter.h | 315 FormatToken *NextToken; member 359 if (NextToken != Other.NextToken) 360 return NextToken < Other.NextToken;
|
D | ContinuationIndenter.cpp | 83 State.NextToken = Line->First; in getInitialState() 99 const FormatToken &Current = *State.NextToken; in canBreak() 143 const FormatToken &Current = *State.NextToken; in mustBreak() 280 const FormatToken &Current = *State.NextToken; in addTokenToState() 314 FormatToken &Current = *State.NextToken; in addTokenOnCurrentLine() 315 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnCurrentLine() 441 FormatToken &Current = *State.NextToken; in addTokenOnNewLine() 442 const FormatToken &Previous = *State.NextToken->Previous; in addTokenOnNewLine() 458 Penalty += State.NextToken->SplitPenalty; in addTokenOnNewLine() 597 if (!State.NextToken || !State.NextToken->Previous) in getNewLineColumn() [all …]
|
D | UnwrappedLineFormatter.cpp | 468 llvm::dbgs() << State.NextToken->TokenText << "\n"; in printLineState() 511 const FormatToken *LBrace = State.NextToken->getPreviousNonComment(); in formatChildren() 512 FormatToken &Previous = *State.NextToken->Previous; in formatChildren() 587 while (State.NextToken) { in formatLine() 590 (Indenter->canBreak(State) && State.NextToken->NewlinesBefore > 0); in formatLine() 612 while (State.NextToken) { in formatLine() 704 if (!Node->State.NextToken) { in analyzeSolutionSpace() 719 FormatDecision LastFormat = Node->State.NextToken->Decision; in analyzeSolutionSpace() 784 << (*I)->Previous->State.NextToken->Tok.getName() << ": " in reconstructPath()
|
/external/clang/lib/Parse/ |
D | ParseTentative.cpp | 151 if (NextToken().isNot(tok::l_paren)) { in TryConsumeDeclarationSpecifier() 580 if (Tok.isNot(tok::l_square) || NextToken().isNot(tok::l_square)) in isCXX11AttributeSpecifier() 700 (Tok.is(tok::annot_cxxscope) && NextToken().is(tok::star))) { in TryParsePtrOperatorSeq() 739 if (Tok.is(tok::l_square) && NextToken().is(tok::r_square)) { in TryParseOperatorId() 753 if (NextToken().is(tok::r_square)) { in TryParseOperatorId() 761 if (NextToken().is(tok::r_paren)) { in TryParseOperatorId() 874 (Tok.is(tok::annot_cxxscope) && (NextToken().is(tok::identifier) || in TryParseDeclarator() 875 NextToken().is(tok::kw_operator)))) && in TryParseDeclarator() 892 (Tok.is(tok::ellipsis) && NextToken().is(tok::r_paren)) || in TryParseDeclarator() 1215 const Token &Next = NextToken(); in isCXXDeclarationSpecifier() [all …]
|
D | ParseDecl.cpp | 289 const Token &Next = NextToken(); in ParseAttributeArgsCommon() 450 } else if (NextToken().is(tok::comma) || NextToken().is(tok::r_paren)) { in ParseMicrosoftDeclSpecArgs() 463 if (!NextToken().is(tok::equal)) in ParseMicrosoftDeclSpecArgs() 1361 assert(Tok.is(tok::l_square) && NextToken().is(tok::l_square)); in DiagnoseProhibitedCXX11Attribute() 1392 assert((Tok.is(tok::l_square) && NextToken().is(tok::l_square)) || in DiagnoseMisplacedCXX11Attribute() 1496 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration() 1601 NextToken().is(tok::l_square); in MightBeDeclarator() 1607 switch (NextToken().getKind()) { in MightBeDeclarator() 1634 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken()); in MightBeDeclarator() 1684 if (Tok.isAtStartOfLine() && NextToken().is(tok::kw_namespace) && in SkipMalformedDecl() [all …]
|
D | Parser.cpp | 187 NextToken().is(tok::semi)) { in ExpectAndConsumeSemi() 756 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 766 tok::TokenKind NextKind = NextToken().getKind(); in ParseExternalDeclaration() 786 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 821 const Token &KW = NextToken(); in isDeclarationAfterDeclarator() 848 const Token &KW = NextToken(); in isStartOfFunctionDefinition() 1450 Token Next = NextToken(); in TryAnnotateName() 1486 if (getLangOpts().ObjC1 && NextToken().is(tok::less) && in TryAnnotateName() 1595 if (getLangOpts().MSVCCompat && NextToken().is(tok::kw_typedef)) { in TryAnnotateTypeOrScopeToken() 1703 false, NextToken().is(tok::period), nullptr, in TryAnnotateTypeOrScopeTokenAfterScopeSpec() [all …]
|
D | ParseExpr.cpp | 491 : NextToken(Next), AllowNonTypes(AllowNonTypes) { in CastExpressionIdValidator() 506 if (!NextToken.isOneOf(tok::equal, tok::arrow, tok::period)) in ValidateCandidate() 518 Token NextToken; member in __anon973b23200111::CastExpressionIdValidator 784 const Token &Next = NextToken(); in ParseCastExpression() 910 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) || in ParseCastExpression() 925 const Token& Next = NextToken(); in ParseCastExpression() 1226 Token Next = NextToken(); in ParseCastExpression() 1423 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) { in ParsePostfixExpressionSuffix() 2318 (NextToken().is(tok::colon) || NextToken().is(tok::r_square))) { in ParseParenExpression() 2387 isFoldOperator(NextToken().getKind())) { in ParseParenExpression() [all …]
|
D | ParseDeclCXX.cpp | 90 while (Tok.is(tok::coloncolon) && NextToken().is(tok::identifier)) { in ParseNamespace() 545 Tok.is(tok::identifier) && NextToken().is(tok::semi) && in ParseUsingDeclaration() 556 NextToken().is(tok::equal)), in ParseUsingDeclaration() 1158 if (!isKnownToBeTypeSpecifier(NextToken())) in isValidAfterTypeSpecifier() 1491 (NextToken().is(tok::l_brace) || NextToken().is(tok::colon)))) { in ParseClassSpecifier() 1506 } else if (isCXX11FinalKeyword() && (NextToken().is(tok::l_square) || in ParseClassSpecifier() 1507 NextToken().is(tok::kw_alignas))) { in ParseClassSpecifier() 1517 if (Tok.is(tok::l_square) && NextToken().is(tok::l_square)) { in ParseClassSpecifier() 1521 } else if (Tok.is(tok::kw_alignas) && NextToken().is(tok::l_paren)) { in ParseClassSpecifier() 1918 NextToken().is(tok::less)) in ParseBaseSpecifier() [all …]
|
/external/protobuf/python/google/protobuf/ |
D | text_format.py | 793 self.NextToken() 837 self.NextToken() 872 self.NextToken() 888 self.NextToken() 904 self.NextToken() 927 self.NextToken() 950 self.NextToken() 973 self.NextToken() 989 self.NextToken() 1051 self.NextToken() [all …]
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime.Tests/ |
D | RewriteRuleXxxxStreamFixture.cs | 182 tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWhileEmpty3() 212 IToken returnedToken = tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWithElements() 237 returnedToken = tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWithElements() 242 returnedToken = tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWithElements() 248 tokenTest.NextToken(); in CheckRRTokenStreamBehaviourWithElements()
|
/external/clang/lib/ASTMatchers/Dynamic/ |
D | Parser.cpp | 63 NextToken = getNextToken(); in CodeTokenizer() 70 NextToken = getNextToken(); in CodeTokenizer() 74 const TokenInfo &peekNextToken() const { return NextToken; } in peekNextToken() 78 TokenInfo ThisToken = NextToken; in consumeNextToken() 79 NextToken = getNextToken(); in consumeNextToken() 83 TokenInfo::TokenKind nextTokenKind() const { return NextToken.Kind; } in nextTokenKind() 256 TokenInfo NextToken; member in clang::ast_matchers::dynamic::Parser::CodeTokenizer
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime.Test/SlimParsing/ |
D | SlimLexer.cs | 129 public virtual SlimToken NextToken() in NextToken() method in Antlr.Runtime.SlimLexer 174 IToken ITokenSource.NextToken() in ITokenSource.NextToken() 176 return NextToken(); in ITokenSource.NextToken()
|
D | ITokenSource`1.cs | 39 new T NextToken(); in NextToken() method
|
D | SlimTokenStream.cs | 119 SlimToken t = _tokenSource.NextToken(); in FillBuffer() 126 t = _tokenSource.NextToken(); in FillBuffer()
|
/external/antlr/runtime/CSharp3/Sources/Antlr3.Runtime/ |
D | ITokenSource.cs | 61 IToken NextToken(); in NextToken() method
|
D | LegacyCommonTokenStream.cs | 140 IToken t = _tokenSource.NextToken(); in FillBuffer() 172 t = _tokenSource.NextToken(); in FillBuffer()
|
/external/antlr/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime/ |
D | ITokenSource.cs | 62 IToken NextToken(); in NextToken() method
|
D | LegacyCommonTokenStream.cs | 133 IToken t = _tokenSource.NextToken(); in FillBuffer() 160 t = _tokenSource.NextToken(); in FillBuffer()
|