mirror of
https://github.com/nushell/nushell.git
synced 2025-06-30 22:50:14 +02:00
Extract completions into subcrate. (#3631)
This commit is contained in:
committed by
GitHub
parent
04c0e94349
commit
7c8fb060f1
@ -3,6 +3,8 @@ use nu_source::Spanned;
|
||||
use std::{fmt::Debug, sync::Arc};
|
||||
|
||||
pub trait ParserScope: Debug {
|
||||
fn get_names(&self) -> Vec<String>;
|
||||
|
||||
fn get_signature(&self, name: &str) -> Option<nu_protocol::Signature>;
|
||||
|
||||
fn has_signature(&self, name: &str) -> bool;
|
||||
|
Reference in New Issue
Block a user