Trait starlark::debug::DapAdapterEvalHook
source · pub trait DapAdapterEvalHook: Debug + Send + 'static {
// Required method
fn add_dap_hooks<'v, 'a>(self: Box<Self>, eval: &mut Evaluator<'v, 'a>);
}
Expand description
This is sort of the evaluation side of the DapAdapter. It’s expected that these are on different threads (the starlark evaluation is single-threaded, so certainly the DapAdapter itself doesn’t do interesting things there).
Required Methods§
sourcefn add_dap_hooks<'v, 'a>(self: Box<Self>, eval: &mut Evaluator<'v, 'a>)
fn add_dap_hooks<'v, 'a>(self: Box<Self>, eval: &mut Evaluator<'v, 'a>)
Hooks the evaluator for this DapAdapter.