• Home
  • Raw
  • Download

Lines Matching refs:TokenSequence

28     const TokenSequence &repl, std::size_t firstToken, std::size_t tokens)  in Definition()
32 const TokenSequence &repl, std::size_t firstToken, std::size_t tokens, in Definition()
53 TokenSequence Definition::Tokenize(const std::vector<std::string> &argNames, in Tokenize()
54 const TokenSequence &token, std::size_t firstToken, std::size_t tokens) { in Tokenize()
61 TokenSequence result; in Tokenize()
76 static TokenSequence Stringify( in Stringify()
77 const TokenSequence &tokens, AllSources &allSources) { in Stringify()
78 TokenSequence result; in Stringify()
102 static bool AnyTokenPasting(const TokenSequence &text) { in AnyTokenPasting()
112 static TokenSequence TokenPasting(TokenSequence &&text) { in TokenPasting()
116 TokenSequence result; in TokenPasting()
140 TokenSequence Definition::Apply( in Apply()
141 const std::vector<TokenSequence> &args, Prescanner &prescanner) { in Apply()
142 TokenSequence result; in Apply()
180 const TokenSequence *arg{&args[index]}; in Apply()
181 std::optional<TokenSequence> replaced; in Apply()
257 std::optional<TokenSequence> Preprocessor::MacroReplacement( in MacroReplacement()
258 const TokenSequence &input, Prescanner &prescanner) { in MacroReplacement()
272 TokenSequence result{input, 0, j}; in MacroReplacement()
311 TokenSequence replaced{ in MacroReplacement()
365 std::vector<TokenSequence> args; in MacroReplacement()
370 args.emplace_back(TokenSequence(input, at, count)); in MacroReplacement()
373 TokenSequence replaced{ in MacroReplacement()
388 TokenSequence Preprocessor::ReplaceMacros( in ReplaceMacros()
389 const TokenSequence &tokens, Prescanner &prescanner) { in ReplaceMacros()
390 if (std::optional<TokenSequence> repl{MacroReplacement(tokens, prescanner)}) { in ReplaceMacros()
396 void Preprocessor::Directive(const TokenSequence &dir, Prescanner *prescanner) { in Directive()
595 TokenSequence braced{dir, j + 1, k - j - 1}; in Directive()
645 const TokenSequence &line, std::size_t *rest) { in GetDirectiveName()
670 TokenSequence line{prescanner->TokenizePreprocessorDirective()}; in SkipDisabledConditionalCode()
712 static std::int64_t ExpressionValue(const TokenSequence &token, in ExpressionValue()
1041 bool Preprocessor::IsIfPredicateTrue(const TokenSequence &expr, in IsIfPredicateTrue()
1043 TokenSequence expr1{expr, first, exprTokens}; in IsIfPredicateTrue()
1047 TokenSequence expr2; in IsIfPredicateTrue()
1068 TokenSequence expr3{ReplaceMacros(expr2, *prescanner)}; in IsIfPredicateTrue()