MCPcopy Index your code
hub / github.com/dgraph-io/dgraph / empty

Method empty

dql/parser.go:1535–1535  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1533type filterTreeStack struct{ a []*FilterTree }
1534
1535func (s *filterTreeStack) empty() bool { return len(s.a) == 0 }
1536func (s *filterTreeStack) size() int { return len(s.a) }
1537func (s *filterTreeStack) push(t *FilterTree) { s.a = append(s.a, t) }
1538

Callers 4

popAssertMethod · 0.95
popMethod · 0.95
peekMethod · 0.95
parseFilterFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected