forked from extern/nushell
Add nu-protocol
This commit is contained in:
@ -1,4 +1,5 @@
|
||||
use nu_parser::{lex, ParseError, Span, Token, TokenContents};
|
||||
use nu_parser::{lex, ParseError, Token, TokenContents};
|
||||
use nu_protocol::Span;
|
||||
|
||||
#[test]
|
||||
fn lex_basic() {
|
||||
|
@ -1,4 +1,5 @@
|
||||
use nu_parser::{lex, lite_parse, LiteBlock, ParseError, Span};
|
||||
use nu_parser::{lex, lite_parse, LiteBlock, ParseError};
|
||||
use nu_protocol::Span;
|
||||
|
||||
fn lite_parse_helper(input: &[u8]) -> Result<LiteBlock, ParseError> {
|
||||
let (output, err) = lex(input, 0, &[], &[]);
|
||||
|
@ -1,5 +1,6 @@
|
||||
use nu_parser::*;
|
||||
use nu_parser::{ParseError, ParserState, Signature};
|
||||
use nu_parser::{ParseError, ParserState};
|
||||
use nu_protocol::{Signature, SyntaxShape};
|
||||
|
||||
#[test]
|
||||
pub fn parse_int() {
|
||||
|
Reference in New Issue
Block a user