Home
last modified time | relevance | path

Searched refs:tokens (Results 1 – 1 of 1) sorted by relevance

/NovaShell/src/
H A Dparser.rs123 let mut tokens = Vec::new(); in lexer() localVariable
145 tokens.push(Token::Word(token_str[1..token_str.len() - 1].to_string())); in lexer()
147 tokens.push(Token::Word(Self::parse_env(&token_str[1..]))); in lexer()
161 tokens.push(Token::Symbol(token_str.to_string())); in lexer()
163 tokens.push(Token::Word(token_str.to_string())); in lexer()
171 Ok(tokens) in lexer()
174 fn parser(tokens: Vec<Token>) -> Result<Vec<Pipeline>, ParseError> { in parser()
180 for token in tokens { in parser()
270 let tokens = Self::lexer(input)?; in parse() localVariable
274 Self::parser(tokens) in parse()