Lines Matching full:tokens
50 : First(Line.Tokens.front().Tok), Type(LT_Other), Level(Line.Level), in AnnotatedLine()
62 assert(!Line.Tokens.empty()); in AnnotatedLine()
64 // Calculate Next and Previous for all tokens. Note that we must overwrite in AnnotatedLine()
69 addChildren(Line.Tokens.front(), Current); in AnnotatedLine()
70 for (const UnwrappedLineNode &Node : llvm::drop_begin(Line.Tokens)) { in AnnotatedLine()
117 /// \c true if this line starts with the given tokens in order, ignoring
119 template <typename... Ts> bool startsWith(Ts... Tokens) const { in startsWith() argument
120 return First && First->startsSequence(Tokens...); in startsWith()
123 /// \c true if this line ends with the given tokens in reversed order,
125 /// For example, given tokens [T1, T2, T3, ...], the function returns true if
127 template <typename... Ts> bool endsWith(Ts... Tokens) const { in endsWith() argument
128 return Last && Last->endsSequence(Tokens...); in endsWith()
135 // Try to determine if the end of a stream of tokens is either the in mightBeFunctionDefinition()
211 /// Determines extra information about the tokens comprising an