pub trait ActionParser {
type Output;
type Span;
Show 60 methods
// Required methods
fn fail<T: Display>(&self, msg: T, span: Self::Span) -> Self::Output;
fn visit_keyword_lookup(
&mut self,
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_noop(&mut self, span: Self::Span) -> Self::Output;
fn visit_redraw_screen(&mut self, span: Self::Span) -> Self::Output;
fn visit_suspend(&mut self, span: Self::Span) -> Self::Output;
fn visit_cmdbar_focus(
&mut self,
prompt: &[ActionToken<'_>],
cmdtype: &[ActionToken<'_>],
action: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_cmdbar_unfocus(&mut self, span: Self::Span) -> Self::Output;
fn visit_command_execute(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_command_run(
&mut self,
input: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_complete(
&mut self,
style: &[ActionToken<'_>],
comptype: &[ActionToken<'_>],
display: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_edit(
&mut self,
action: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_history_checkpoint(&mut self, span: Self::Span) -> Self::Output;
fn visit_history_undo(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_history_redo(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_macro_execute(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_macro_run(
&mut self,
input: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_macro_repeat(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_macro_toggle_recording(&mut self, span: Self::Span) -> Self::Output;
fn visit_prompt_abort(&mut self, span: Self::Span) -> Self::Output;
fn visit_prompt_recall(
&mut self,
filter: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_prompt_submit(&mut self, span: Self::Span) -> Self::Output;
fn visit_mark(
&mut self,
mark: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_cursor_close(
&mut self,
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_cursor_restore(
&mut self,
style: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_cursor_rotate(
&mut self,
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_cursor_save(
&mut self,
style: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_cursor_split(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_tab_close(
&mut self,
target: &[ActionToken<'_>],
flags: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_tab_extract(
&mut self,
fc: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_tab_open(
&mut self,
target: &[ActionToken<'_>],
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_tab_focus(
&mut self,
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_tab_move(
&mut self,
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_close(
&mut self,
target: &[ActionToken<'_>],
falgs: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_open(
&mut self,
target: &[ActionToken<'_>],
axis: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_resize(
&mut self,
fc: &[ActionToken<'_>],
axis: &[ActionToken<'_>],
size: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_split(
&mut self,
target: &[ActionToken<'_>],
axis: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_switch(
&mut self,
input: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_write(
&mut self,
target: &[ActionToken<'_>],
flags: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_exchange(
&mut self,
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_focus(
&mut self,
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_move_side(
&mut self,
dir: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_rotate(
&mut self,
dir: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_window_clear_sizes(&mut self, span: Self::Span) -> Self::Output;
fn visit_window_zoom_toggle(&mut self, span: Self::Span) -> Self::Output;
fn visit_insert_open_line(
&mut self,
shape: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_insert_transcribe(
&mut self,
input: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_insert_type(
&mut self,
c: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_insert_paste(
&mut self,
style: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_jump(
&mut self,
list: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_repeat(
&mut self,
style: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_scroll(
&mut self,
style: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_search(
&mut self,
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_selection_duplicate(
&mut self,
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_selection_join(&mut self, span: Self::Span) -> Self::Output;
fn visit_selection_cursor_set(
&mut self,
change: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_selection_expand(
&mut self,
boundary: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_selection_filter(
&mut self,
drop: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_selection_resize(
&mut self,
style: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_selection_split(
&mut self,
style: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
fn visit_selection_trim(
&mut self,
boundary: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output;
}
Required Associated Types§
Required Methods§
Sourcefn fail<T: Display>(&self, msg: T, span: Self::Span) -> Self::Output
fn fail<T: Display>(&self, msg: T, span: Self::Span) -> Self::Output
Output an error for the current parse.
Sourcefn visit_keyword_lookup(
&mut self,
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_keyword_lookup( &mut self, target: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse keyword-lookup
.
Sourcefn visit_noop(&mut self, span: Self::Span) -> Self::Output
fn visit_noop(&mut self, span: Self::Span) -> Self::Output
Parse noop
.
Sourcefn visit_redraw_screen(&mut self, span: Self::Span) -> Self::Output
fn visit_redraw_screen(&mut self, span: Self::Span) -> Self::Output
Parse redraw-screen
.
Sourcefn visit_suspend(&mut self, span: Self::Span) -> Self::Output
fn visit_suspend(&mut self, span: Self::Span) -> Self::Output
Parse suspend
.
Sourcefn visit_cmdbar_focus(
&mut self,
prompt: &[ActionToken<'_>],
cmdtype: &[ActionToken<'_>],
action: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_cmdbar_focus( &mut self, prompt: &[ActionToken<'_>], cmdtype: &[ActionToken<'_>], action: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse cmdbar focus
.
Sourcefn visit_cmdbar_unfocus(&mut self, span: Self::Span) -> Self::Output
fn visit_cmdbar_unfocus(&mut self, span: Self::Span) -> Self::Output
Parse cmdbar unfocus
.
Sourcefn visit_command_execute(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_command_execute( &mut self, count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse cmd execute
and its arguments.
Sourcefn visit_command_run(
&mut self,
input: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_command_run( &mut self, input: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse cmd run
and its arguments.
Sourcefn visit_complete(
&mut self,
style: &[ActionToken<'_>],
comptype: &[ActionToken<'_>],
display: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_complete( &mut self, style: &[ActionToken<'_>], comptype: &[ActionToken<'_>], display: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse complete
and its arguments.
Sourcefn visit_edit(
&mut self,
action: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_edit( &mut self, action: &[ActionToken<'_>], target: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse edit
.
Sourcefn visit_history_checkpoint(&mut self, span: Self::Span) -> Self::Output
fn visit_history_checkpoint(&mut self, span: Self::Span) -> Self::Output
Parse history checkpoint
.
Sourcefn visit_history_undo(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_history_undo( &mut self, count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse history undo
and its arguments.
Sourcefn visit_history_redo(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_history_redo( &mut self, count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse history redo
and its arguments.
Sourcefn visit_macro_execute(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_macro_execute( &mut self, count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse macro execute
and its arguments.
Sourcefn visit_macro_run(
&mut self,
input: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_macro_run( &mut self, input: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse macro run
and its arguments.
Sourcefn visit_macro_repeat(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_macro_repeat( &mut self, count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse macro repeat
and its arguments.
Sourcefn visit_macro_toggle_recording(&mut self, span: Self::Span) -> Self::Output
fn visit_macro_toggle_recording(&mut self, span: Self::Span) -> Self::Output
Parse macro toggle-recording
.
Sourcefn visit_prompt_abort(&mut self, span: Self::Span) -> Self::Output
fn visit_prompt_abort(&mut self, span: Self::Span) -> Self::Output
Parse prompt abort
and its arguments.
Sourcefn visit_prompt_recall(
&mut self,
filter: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_prompt_recall( &mut self, filter: &[ActionToken<'_>], dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse prompt recall
and its arguments.
Sourcefn visit_prompt_submit(&mut self, span: Self::Span) -> Self::Output
fn visit_prompt_submit(&mut self, span: Self::Span) -> Self::Output
Parse prompt submit
.
Sourcefn visit_mark(
&mut self,
mark: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_mark( &mut self, mark: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse mark
and its arguments.
Sourcefn visit_cursor_close(
&mut self,
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_cursor_close( &mut self, target: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse cursor close
and its arguments.
Sourcefn visit_cursor_restore(
&mut self,
style: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_cursor_restore( &mut self, style: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse cursor restore
and its arguments.
Sourcefn visit_cursor_rotate(
&mut self,
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_cursor_rotate( &mut self, dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse cursor rotate
and its arguments.
Sourcefn visit_cursor_save(
&mut self,
style: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_cursor_save( &mut self, style: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse cursor save
and its arguments.
Sourcefn visit_cursor_split(
&mut self,
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_cursor_split( &mut self, count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse cursor split
and its arguments.
Sourcefn visit_tab_close(
&mut self,
target: &[ActionToken<'_>],
flags: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_tab_close( &mut self, target: &[ActionToken<'_>], flags: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse tab close
and its arguments.
Sourcefn visit_tab_extract(
&mut self,
fc: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_tab_extract( &mut self, fc: &[ActionToken<'_>], dir: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse tab extract
and its arguments.
Sourcefn visit_tab_open(
&mut self,
target: &[ActionToken<'_>],
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_tab_open( &mut self, target: &[ActionToken<'_>], fc: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse tab open
and its arguments.
Sourcefn visit_tab_focus(
&mut self,
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_tab_focus( &mut self, fc: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse tab focus
and its arguments.
Sourcefn visit_tab_move(
&mut self,
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_tab_move( &mut self, fc: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse tab move
and its arguments.
Sourcefn visit_window_close(
&mut self,
target: &[ActionToken<'_>],
falgs: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_close( &mut self, target: &[ActionToken<'_>], falgs: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window close
and its arguments.
Sourcefn visit_window_open(
&mut self,
target: &[ActionToken<'_>],
axis: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_open( &mut self, target: &[ActionToken<'_>], axis: &[ActionToken<'_>], dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window open
and its arguments.
Sourcefn visit_window_resize(
&mut self,
fc: &[ActionToken<'_>],
axis: &[ActionToken<'_>],
size: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_resize( &mut self, fc: &[ActionToken<'_>], axis: &[ActionToken<'_>], size: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window resize
and its arguments.
Sourcefn visit_window_split(
&mut self,
target: &[ActionToken<'_>],
axis: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_split( &mut self, target: &[ActionToken<'_>], axis: &[ActionToken<'_>], dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window split
and its arguments.
Sourcefn visit_window_switch(
&mut self,
input: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_switch( &mut self, input: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window switch
and its arguments.
Sourcefn visit_window_write(
&mut self,
target: &[ActionToken<'_>],
flags: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_write( &mut self, target: &[ActionToken<'_>], flags: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window write
and its arguments.
Sourcefn visit_window_exchange(
&mut self,
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_exchange( &mut self, fc: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window exchange
and its arguments.
Sourcefn visit_window_focus(
&mut self,
fc: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_focus( &mut self, fc: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window focus
and its arguments.
Sourcefn visit_window_move_side(
&mut self,
dir: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_move_side( &mut self, dir: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window move-side
and its arguments.
Sourcefn visit_window_rotate(
&mut self,
dir: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_window_rotate( &mut self, dir: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse window rotate
and its arguments.
Sourcefn visit_window_clear_sizes(&mut self, span: Self::Span) -> Self::Output
fn visit_window_clear_sizes(&mut self, span: Self::Span) -> Self::Output
Parse window clear-sizes
and its arguments.
Sourcefn visit_window_zoom_toggle(&mut self, span: Self::Span) -> Self::Output
fn visit_window_zoom_toggle(&mut self, span: Self::Span) -> Self::Output
Parse window zoom-toggle
and its arguments.
Sourcefn visit_insert_open_line(
&mut self,
shape: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_insert_open_line( &mut self, shape: &[ActionToken<'_>], dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse insert open-line
and its arguments.
Sourcefn visit_insert_transcribe(
&mut self,
input: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_insert_transcribe( &mut self, input: &[ActionToken<'_>], dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse insert transcribe
and its arguments.
Sourcefn visit_insert_type(
&mut self,
c: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_insert_type( &mut self, c: &[ActionToken<'_>], dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse insert type
and its arguments.
Sourcefn visit_insert_paste(
&mut self,
style: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_insert_paste( &mut self, style: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse insert paste
and its arguments.
Sourcefn visit_jump(
&mut self,
list: &[ActionToken<'_>],
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_jump( &mut self, list: &[ActionToken<'_>], dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse jump
and its arguments.
Sourcefn visit_repeat(
&mut self,
style: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_repeat( &mut self, style: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse repeat
and its arguments.
Sourcefn visit_scroll(
&mut self,
style: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_scroll( &mut self, style: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse scroll
and its arguments.
Sourcefn visit_search(
&mut self,
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_search( &mut self, dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse search
and its arguments.
Sourcefn visit_selection_duplicate(
&mut self,
dir: &[ActionToken<'_>],
count: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_selection_duplicate( &mut self, dir: &[ActionToken<'_>], count: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse selection duplicate
and its arguments.
Sourcefn visit_selection_join(&mut self, span: Self::Span) -> Self::Output
fn visit_selection_join(&mut self, span: Self::Span) -> Self::Output
Parse selection join
and its arguments.
Sourcefn visit_selection_cursor_set(
&mut self,
change: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_selection_cursor_set( &mut self, change: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse selection cursor-set
and its arguments.
Sourcefn visit_selection_expand(
&mut self,
boundary: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_selection_expand( &mut self, boundary: &[ActionToken<'_>], target: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse selection expand
and its arguments.
Sourcefn visit_selection_filter(
&mut self,
drop: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_selection_filter( &mut self, drop: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse selection filter
and its arguments.
Sourcefn visit_selection_resize(
&mut self,
style: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_selection_resize( &mut self, style: &[ActionToken<'_>], target: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse selection resize
and its arguments.
Sourcefn visit_selection_split(
&mut self,
style: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_selection_split( &mut self, style: &[ActionToken<'_>], target: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse selection split
and its arguments.
Sourcefn visit_selection_trim(
&mut self,
boundary: &[ActionToken<'_>],
target: &[ActionToken<'_>],
span: Self::Span,
) -> Self::Output
fn visit_selection_trim( &mut self, boundary: &[ActionToken<'_>], target: &[ActionToken<'_>], span: Self::Span, ) -> Self::Output
Parse selection trim
and its arguments.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.