Lines Matching refs:cursor
64 cursor: Cursor<'a>,
68 pub(crate) fn new(scope: Span, cursor: Cursor) -> Lookahead1 {
71 cursor,
81 if peek(lookahead.cursor) {
116 if self.cursor.eof() {
119 Error::new(self.cursor.span(), "unexpected token")
124 error::new_at(self.scope, self.cursor, message)
128 error::new_at(self.scope, self.cursor, message)
133 error::new_at(self.scope, self.cursor, message)
165 pub(crate) fn is_delimiter(cursor: Cursor, delimiter: Delimiter) -> bool {
166 cursor.group(delimiter).is_some()