nu-parser 0.112.1

Nushell's parser
Documentation
1
2
3
4
5
6
7
8
use nu_protocol::{DeclId, ModuleId, VarId};

/// Symbol that can be exported with its associated name and ID
pub enum Exportable {
    Decl { name: Vec<u8>, id: DeclId },
    Module { name: Vec<u8>, id: ModuleId },
    VarDecl { name: Vec<u8>, id: VarId },
}