Lines Matching full:segments
7 let mut segments = Vec::new(); in concat_helper() localVariable
19 segments.push((value, lit.span())); in concat_helper()
26 segments.push((value, ident.span())); in concat_helper()
33 let (mut value, sp) = segments.pop().expect("expected identifier before modifier"); in concat_helper()
47 segments.push((value, sp)); in concat_helper()
51 segments.append(&mut concat_helper(tokens.as_slice())); in concat_helper()
53 token => panic!("unexpected token in paste segments: {:?}", token), in concat_helper()
57 segments in concat_helper()
61 let segments = concat_helper(tokens); in concat() localVariable
62 let pasted: String = segments.into_iter().map(|x| x.0).collect(); in concat()
90 // Path segments cannot contain invisible delimiter group, so remove them if any. in expand()