Searched refs:PathStep (Results 1 – 10 of 10) sorted by relevance
/external/rust/android-crates-io/crates/tinytemplate/src/ |
D | compiler.rs | 9 use instruction::{Instruction, Path, PathStep}; 191 Ok(n) => PathStep::Index(s, n), in parse_path() 192 Err(_) => PathStep::Name(s), in parse_path() 196 Ok(vec![PathStep::Name(text)]) in parse_path() 441 assert_eq!(&Value(vec![PathStep::Name("foobar")]), &instructions[0]); in test_compile_value() 450 &FormattedValue(vec![PathStep::Name("foobar")], "my_formatter"), in test_compile_value_with_formatter() 461 &Value(vec![PathStep::Name("foo"), PathStep::Name("bar")]), in test_dotted_path() 473 PathStep::Name("foo"), in test_indexed_path() 474 PathStep::Index("0", 0), in test_indexed_path() 475 PathStep::Name("bar") in test_indexed_path() [all …]
|
D | instruction.rs | 14 pub(crate) enum PathStep<'template> { enum 18 impl<'template> Deref for PathStep<'template> { implementation 23 PathStep::Name(s) => s, in deref() 24 PathStep::Index(s, _) => s, in deref() 30 pub(crate) type Path<'template> = Vec<PathStep<'template>>; 33 pub(crate) type PathSlice<'a, 'template> = &'a [PathStep<'template>];
|
D | template.rs | 6 use instruction::{Instruction, PathSlice, PathStep}; 66 if let PathStep::Index(_, n) = step { in lookup_in() 254 PathStep::Name("@root") => render_context.lookup_root()?, in render_into() 255 PathStep::Name(other) if other.starts_with('@') => { in render_into()
|
/external/go-cmp/cmp/ |
D | path.go | 26 type Path []PathStep 39 type PathStep interface { interface 62 _ PathStep = StructField{} 63 _ PathStep = SliceIndex{} 64 _ PathStep = MapIndex{} 65 _ PathStep = Indirect{} 66 _ PathStep = TypeAssertion{} 67 _ PathStep = Transform{} 70 func (pa *Path) push(s PathStep) { argument 81 func (pa Path) Last() PathStep { [all …]
|
D | report.go | 23 func (r *defaultReporter) PushStep(ps PathStep) {
|
D | example_reporter_test.go | 21 func (r *DiffReporter) PushStep(ps cmp.PathStep) {
|
D | report_value.go | 53 func (parent *valueNode) PushStep(ps PathStep) (child *valueNode) {
|
D | compare.go | 141 func rootStep(x, y interface{}) PathStep { 223 func (s *state) statelessCompare(step PathStep) diff.Result { 238 func (s *state) compareAny(step PathStep) {
|
D | options.go | 498 PushStep(PathStep) 515 PushStep(PathStep) argument
|
/external/bazelbuild-rules_go/third_party/ |
D | org_golang_x_tools-deletegopls.patch | 126969 -func (r *DiffReporter) PushStep(ps cmp.PathStep) {
|