Skip to main content

take_error_pos

Function take_error_pos 

Source
pub fn take_error_pos() -> Pos
Expand description

The Pos of the token the last failed parse / parse_module stopped at (0: none, or none since the last call), which is where V8 puts a SyntaxError’s caret.