Lines Matching refs:InputAt
13 pub struct InputAt {
20 impl InputAt {
69 fn at(&self, i: usize) -> InputAt;
74 fn next_char(&self, at: InputAt) -> Char;
79 fn previous_char(&self, at: InputAt) -> Char;
83 fn is_empty_match(&self, at: InputAt, empty: &InstEmptyLook) -> bool;
89 at: InputAt,
90 ) -> Option<InputAt>;
105 fn at(&self, i: usize) -> InputAt {
109 fn next_char(&self, at: InputAt) -> Char {
113 fn previous_char(&self, at: InputAt) -> Char {
117 fn is_empty_match(&self, at: InputAt, empty: &InstEmptyLook) -> bool {
124 at: InputAt,
125 ) -> Option<InputAt> {
158 fn at(&self, i: usize) -> InputAt {
160 InputAt { pos: self.len(), c: None.into(), byte: None, len: 0 }
163 InputAt { pos: i, c, byte: None, len: c.len_utf8() }
167 fn next_char(&self, at: InputAt) -> Char {
171 fn previous_char(&self, at: InputAt) -> Char {
175 fn is_empty_match(&self, at: InputAt, empty: &InstEmptyLook) -> bool {
210 at: InputAt,
211 ) -> Option<InputAt> {
247 fn at(&self, i: usize) -> InputAt {
249 InputAt { pos: self.len(), c: None.into(), byte: None, len: 0 }
251 InputAt {
260 fn next_char(&self, at: InputAt) -> Char {
264 fn previous_char(&self, at: InputAt) -> Char {
268 fn is_empty_match(&self, at: InputAt, empty: &InstEmptyLook) -> bool {
323 at: InputAt,
324 ) -> Option<InputAt> {