Parse without positional information. Provided mainly to support testing, to enable equality testing on structure alone.
(lexer: Lexer)
| 15 | /// Parse without positional information. Provided mainly to support testing, to |
| 16 | /// enable equality testing on structure alone. |
| 17 | pub fn parse_without_pos(lexer: Lexer) -> Result<Vec<Def>> { |
| 18 | let parser = Parser::new_without_pos_tracking(lexer); |
| 19 | parser.parse_defs() |
| 20 | } |
| 21 | |
| 22 | /// The ISLE parser. |
| 23 | /// |