| 1050 | } |
| 1051 | |
| 1052 | void Token::function(const Function *f) |
| 1053 | { |
| 1054 | mImpl->mFunction = f; |
| 1055 | if (f) { |
| 1056 | if (f->isLambda()) |
| 1057 | tokType(eLambda); |
| 1058 | else |
| 1059 | tokType(eFunction); |
| 1060 | } else if (mTokType == eFunction) |
| 1061 | tokType(eName); |
| 1062 | } |
| 1063 | |
| 1064 | Token* Token::insertToken(const std::string& tokenStr, bool prepend) |
| 1065 | { |
no test coverage detected