Struct ast_grep_napi::ParseFiles
source · pub struct ParseFiles { /* private fields */ }
Trait Implementations§
source§impl Task for ParseFiles
impl Task for ParseFiles
type Output = ()
type JsValue = ()
source§fn resolve(&mut self, _e: Env, _o: Self::Output) -> Result<Self::JsValue>
fn resolve(&mut self, _e: Env, _o: Self::Output) -> Result<Self::JsValue>
Into this method if
compute
return Ok
source§fn reject(&mut self, _env: Env, err: Error) -> Result<Self::JsValue, Error>
fn reject(&mut self, _env: Env, err: Error) -> Result<Self::JsValue, Error>
Into this method if
compute
return Err