Home
last modified time | relevance | path

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

/external/rust/android-crates-io/crates/tinytemplate/src/
Dcompiler.rs9 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 …]
Dinstruction.rs14 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>];
Dtemplate.rs6 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/
Dpath.go26 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 …]
Dreport.go23 func (r *defaultReporter) PushStep(ps PathStep) {
Dexample_reporter_test.go21 func (r *DiffReporter) PushStep(ps cmp.PathStep) {
Dreport_value.go53 func (parent *valueNode) PushStep(ps PathStep) (child *valueNode) {
Dcompare.go141 func rootStep(x, y interface{}) PathStep {
223 func (s *state) statelessCompare(step PathStep) diff.Result {
238 func (s *state) compareAny(step PathStep) {
Doptions.go498 PushStep(PathStep)
515 PushStep(PathStep) argument
/external/bazelbuild-rules_go/third_party/
Dorg_golang_x_tools-deletegopls.patch126969 -func (r *DiffReporter) PushStep(ps cmp.PathStep) {