MCPcopy Index your code
hub / github.com/antlr/codebuff / Interval

Class Interval

output/java8/1.4.17/Interval.java:35–49  ·  view source on GitHub ↗

An inclusive interval a..b. Used to track ranges in output and template patterns (for debugging).

Source from the content-addressed store, hash-verified

33
34
35public class Interval {
36 public int a;
37 public int b;
38
39 public Interval(int a, int b) {
40 this.a = a;
41 this.b = b;
42 }
43
44 @Override
45 public String toString() {
46 return a+
47 ".." +b;
48 }
49}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected