(tokens)
| 534 | } |
| 535 | |
| 536 | spacesAndCommentsFromEnd(tokens) { |
| 537 | let lastTokenType |
| 538 | let spaces = '' |
| 539 | while (tokens.length) { |
| 540 | lastTokenType = tokens[tokens.length - 1][0] |
| 541 | if (lastTokenType !== 'space' && lastTokenType !== 'comment') break |
| 542 | spaces = tokens.pop()[1] + spaces |
| 543 | } |
| 544 | return spaces |
| 545 | } |
| 546 | |
| 547 | // Errors |
| 548 |