Property | Type | Description | |
---|---|---|---|
Invalid | Antlr4.Runtime.Misc.Interval | ||
a | int | ||
b | int |
Method | Description | |
---|---|---|
Adjacent ( Antlr4 other ) : bool |
Are two intervals adjacent such as 0..41 and 42..42?
|
|
DifferenceNotProperlyContained ( Antlr4 other ) : Antlr4.Runtime.Misc.Interval? |
Return the interval with elements from
|
|
Disjoint ( Antlr4 other ) : bool |
Are both ranges disjoint? I.e., no overlap?
|
|
Equals ( object o ) : bool | ||
GetHashCode ( ) : int | ||
Intersection ( Antlr4 other ) : Antlr4.Runtime.Misc.Interval |
Return the interval in common between this and o
|
|
Interval ( int a, int b ) : System | ||
Of ( int a, int b ) : Antlr4.Runtime.Misc.Interval |
Interval objects are used readonly so share all with the same single value a==b up to some max size. Interval objects are used readonly so share all with the same single value a==b up to some max size. Use an array as a perfect hash. Return shared object for 0..INTERVAL_POOL_MAX_VALUE or a new Interval object with a..a in it. On Java.g4, 218623 IntervalSets have a..a (set with 1 element). |
|
ProperlyContains ( Antlr4 other ) : bool | ||
StartsAfter ( Antlr4 other ) : bool |
Does this.a start after other.b? May or may not be disjoint
|
|
StartsAfterDisjoint ( Antlr4 other ) : bool |
Does this start completely after other? Disjoint
|
|
StartsAfterNonDisjoint ( Antlr4 other ) : bool |
Does this start after other? NonDisjoint
|
|
StartsBeforeDisjoint ( Antlr4 other ) : bool |
Does this start completely before other? Disjoint
|
|
StartsBeforeNonDisjoint ( Antlr4 other ) : bool |
Does this start at or before other? Nondisjoint
|
|
ToString ( ) : string | ||
Union ( Antlr4 other ) : Antlr4.Runtime.Misc.Interval |
Return the interval computed from combining this and other
|
public DifferenceNotProperlyContained ( Antlr4 other ) : Antlr4.Runtime.Misc.Interval? | ||
other | Antlr4 | |
return | Antlr4.Runtime.Misc.Interval? |
public Intersection ( Antlr4 other ) : Antlr4.Runtime.Misc.Interval | ||
other | Antlr4 | |
return | Antlr4.Runtime.Misc.Interval |
public static Of ( int a, int b ) : Antlr4.Runtime.Misc.Interval | ||
a | int | |
b | int | |
return | Antlr4.Runtime.Misc.Interval |
public ProperlyContains ( Antlr4 other ) : bool | ||
other | Antlr4 | |
return | bool |
public StartsAfterDisjoint ( Antlr4 other ) : bool | ||
other | Antlr4 | |
return | bool |
public StartsAfterNonDisjoint ( Antlr4 other ) : bool | ||
other | Antlr4 | |
return | bool |
public StartsBeforeDisjoint ( Antlr4 other ) : bool | ||
other | Antlr4 | |
return | bool |
public StartsBeforeNonDisjoint ( Antlr4 other ) : bool | ||
other | Antlr4 | |
return | bool |
public Union ( Antlr4 other ) : Antlr4.Runtime.Misc.Interval | ||
other | Antlr4 | |
return | Antlr4.Runtime.Misc.Interval |
public static Antlr4.Runtime.Misc.Interval Invalid | ||
return | Antlr4.Runtime.Misc.Interval |