Home | History | Annotate | Download | only in runtime

Lines Matching refs:depth

26     private static class Depth {
27 private int depth;
28 Depth() { depth = 0; }
29 int get() { return depth; }
30 void inc() { ++depth; }
31 void dec() { --depth; }
35 return new Depth();
41 public void enter() { ((Depth)get()).inc(); }
46 public void exit() { ((Depth)get()).dec(); }
51 public int value() { return ((Depth)get()).get(); }