markedpos returns the position recorded from the most recent mark_pos production.
(mtaillex mtailLexer)
| 181 | // markedpos returns the position recorded from the most recent mark_pos |
| 182 | // production. |
| 183 | func markedpos(mtaillex mtailLexer) position.Position { |
| 184 | return mtaillex.(*parser).pos |
| 185 | } |
| 186 | |
| 187 | // positionFromMark returns a position spanning from the last mark to the current position. |
| 188 | func positionFromMark(mtaillex mtailLexer) position.Position { |
no outgoing calls
no test coverage detected