MCPcopy
hub / github.com/dgraph-io/dgraph / empty

Method empty

dql/math.go:22–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

20type mathTreeStack struct{ a []*MathTree }
21
22func (s *mathTreeStack) empty() bool { return len(s.a) == 0 }
23func (s *mathTreeStack) size() int { return len(s.a) }
24func (s *mathTreeStack) push(t *MathTree) { s.a = append(s.a, t) }
25

Callers 4

popAssertMethod · 0.95
popMethod · 0.95
peekMethod · 0.95
parseMathFuncFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected