Uses of Class
org.antlr.v4.runtime.misc.Interval
-
Packages that use Interval Package Description org.antlr.v4.runtime org.antlr.v4.runtime.misc org.antlr.v4.runtime.tree -
-
Uses of Interval in org.antlr.v4.runtime
Methods in org.antlr.v4.runtime that return Interval Modifier and Type Method Description IntervalParserRuleContext. getSourceInterval()IntervalRuleContext. getSourceInterval()Methods in org.antlr.v4.runtime with parameters of type Interval Modifier and Type Method Description StringANTLRInputStream. getText(Interval interval)Deprecated.StringBufferedTokenStream. getText(Interval interval)StringCharStream. getText(Interval interval)This method returns the text for a range of characters within this input stream.StringTokenStream. getText(Interval interval)Return the text of all tokens within the specifiedinterval.StringTokenStreamRewriter. getText(String programName, Interval interval)StringTokenStreamRewriter. getText(Interval interval)Return the text associated with the tokens in the interval from the original token stream but with the alterations given to this rewriter.StringUnbufferedCharStream. getText(Interval interval)StringUnbufferedTokenStream. getText(Interval interval) -
Uses of Interval in org.antlr.v4.runtime.misc
Fields in org.antlr.v4.runtime.misc declared as Interval Modifier and Type Field Description static IntervalInterval. INVALIDFields in org.antlr.v4.runtime.misc with type parameters of type Interval Modifier and Type Field Description protected List<Interval>IntervalSet. intervalsThe list of sorted, disjoint intervals.Methods in org.antlr.v4.runtime.misc that return Interval Modifier and Type Method Description IntervalInterval. differenceNotProperlyContained(Interval other)Return the interval with elements from this not in other; other must not be totally enclosed (properly contained) within this, which would result in two disjoint intervals instead of the single one returned by this method.IntervalInterval. intersection(Interval other)Return the interval in common between this and ostatic IntervalInterval. of(int a, int b)Interval objects are used readonly so share all with the same single value a==b up to some max size.IntervalInterval. union(Interval other)Return the interval computed from combining this and otherMethods in org.antlr.v4.runtime.misc that return types with arguments of type Interval Modifier and Type Method Description List<Interval>IntervalSet. getIntervals()Return a list of Interval objects.Methods in org.antlr.v4.runtime.misc with parameters of type Interval Modifier and Type Method Description protected voidIntervalSet. add(Interval addition)booleanInterval. adjacent(Interval other)Are two intervals adjacent such as 0..41 and 42..42?IntervalInterval. differenceNotProperlyContained(Interval other)Return the interval with elements from this not in other; other must not be totally enclosed (properly contained) within this, which would result in two disjoint intervals instead of the single one returned by this method.booleanInterval. disjoint(Interval other)Are both ranges disjoint? I.e., no overlap?IntervalInterval. intersection(Interval other)Return the interval in common between this and obooleanInterval. properlyContains(Interval other)booleanInterval. startsAfter(Interval other)Does this.a start after other.b? May or may not be disjointbooleanInterval. startsAfterDisjoint(Interval other)Does this start completely after other? DisjointbooleanInterval. startsAfterNonDisjoint(Interval other)Does this start after other? NonDisjointbooleanInterval. startsBeforeDisjoint(Interval other)Does this start completely before other? DisjointbooleanInterval. startsBeforeNonDisjoint(Interval other)Does this start at or before other? NondisjointIntervalInterval. union(Interval other)Return the interval computed from combining this and otherConstructor parameters in org.antlr.v4.runtime.misc with type arguments of type Interval Constructor Description IntervalSet(List<Interval> intervals) -
Uses of Interval in org.antlr.v4.runtime.tree
Methods in org.antlr.v4.runtime.tree that return Interval Modifier and Type Method Description IntervalSyntaxTree. getSourceInterval()Return anIntervalindicating the index in theTokenStreamof the first and last token associated with this subtree.IntervalTerminalNodeImpl. getSourceInterval()
-