Adds a token to this line.
(&mut self, token: Token)
| 142 | |
| 143 | /// Adds a token to this line. |
| 144 | pub fn add_token(&mut self, token: Token) { |
| 145 | self.tokens.push(token); |
| 146 | } |
| 147 | |
| 148 | /// Returns the line content by concatenating all alive tokens. |
| 149 | pub fn content(&self) -> String { |