| 391 | } |
| 392 | |
| 393 | void SpaceAnalyzer::Query(FormatState &f, LuaSyntaxNode syntaxNode, const LuaSyntaxTree &t, FormatResolve &resolve) { |
| 394 | if (syntaxNode.IsToken(t)) { |
| 395 | auto nextToken = syntaxNode.GetNextToken(t); |
| 396 | auto space = ProcessSpace(syntaxNode, nextToken, t); |
| 397 | resolve.SetNextSpace(space); |
| 398 | } |
| 399 | } |
| 400 | |
| 401 | void SpaceAnalyzer::SpaceAround(LuaSyntaxNode n, const LuaSyntaxTree &t, std::size_t space, SpacePriority priority) { |
| 402 | SpaceLeft(n, t, space, priority); |
no test coverage detected