MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / SliceIndex

Class SliceIndex

source/core/StarPythonic.hpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63// Python style container slicing
64
65struct SliceIndex {
66 SliceIndex() : index(0), given(false) {}
67 SliceIndex(int i) : index(i), given(true) {}
68
69 int index;
70 bool given;
71};
72
73SliceIndex const SliceNil = SliceIndex();
74

Callers 8

StarPythonic.hppFile · 0.85
sliceFunction · 0.85
StringClass · 0.85
StringListClass · 0.85
ListClass · 0.85
StaticListClass · 0.85
SmallListClass · 0.85
DequeClass · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected