Package | Description |
---|---|
org.antlr.v4.runtime.misc | |
org.antlr.v4.tool |
Modifier and Type | Class | Description |
---|---|---|
class |
IntervalSet |
This class implements the
IntSet backed by a sorted array of
non-overlapping intervals. |
Modifier and Type | Method | Description |
---|---|---|
IntSet |
IntSet.addAll(IntSet set) |
Modify the current
IntSet object to contain all elements that are
present in itself, the specified set , or both. |
IntSet |
IntSet.and(IntSet a) |
Return a new
IntSet object containing all elements that are
present in both the current set and the specified set a . |
IntSet |
IntSet.complement(IntSet elements) |
Return a new
IntSet object containing all elements that are
present in elements but not present in the current set. |
IntSet |
IntSet.or(IntSet a) |
Return a new
IntSet object containing all elements that are
present in the current set, the specified set a , or both. |
IntSet |
IntSet.subtract(IntSet a) |
Return a new
IntSet object containing all elements that are
present in the current set but not present in the input set a . |
Modifier and Type | Method | Description |
---|---|---|
IntervalSet |
IntervalSet.addAll(IntSet set) |
|
IntSet |
IntSet.addAll(IntSet set) |
Modify the current
IntSet object to contain all elements that are
present in itself, the specified set , or both. |
IntervalSet |
IntervalSet.and(IntSet other) |
Return a new
IntSet object containing all elements that are
present in both the current set and the specified set a . |
IntSet |
IntSet.and(IntSet a) |
Return a new
IntSet object containing all elements that are
present in both the current set and the specified set a . |
IntervalSet |
IntervalSet.complement(IntSet vocabulary) |
Return a new
IntSet object containing all elements that are
present in elements but not present in the current set. |
IntSet |
IntSet.complement(IntSet elements) |
Return a new
IntSet object containing all elements that are
present in elements but not present in the current set. |
IntervalSet |
IntervalSet.or(IntSet a) |
|
IntSet |
IntSet.or(IntSet a) |
Return a new
IntSet object containing all elements that are
present in the current set, the specified set a , or both. |
IntervalSet |
IntervalSet.subtract(IntSet a) |
|
IntSet |
IntSet.subtract(IntSet a) |
Return a new
IntSet object containing all elements that are
present in the current set but not present in the input set a . |
Modifier and Type | Method | Description |
---|---|---|
IntSet |
Grammar.getAllCharValues() |
Return min to max char as defined by the target.
|
IntSet |
Grammar.getTokenTypes() |
Return a set of all possible token or char types for this grammar
|
Copyright © 1992–2018 ANTLR. All rights reserved.