| Package | Description |
|---|---|
| org.antlr.v4.codegen.model |
| Modifier and Type | Field and Description |
|---|---|
(package private) java.util.Deque<FrequencySet<java.lang.String>> |
ElementFrequenciesVisitor.frequencies |
| Modifier and Type | Method and Description |
|---|---|
protected static FrequencySet<java.lang.String> |
ElementFrequenciesVisitor.combineAndClip(FrequencySet<java.lang.String> a,
FrequencySet<java.lang.String> b,
int clip)
Generate a frequency set as the union of two input sets, with the
values clipped to a specified maximum value.
|
protected static FrequencySet<java.lang.String> |
ElementFrequenciesVisitor.combineMax(FrequencySet<java.lang.String> a,
FrequencySet<java.lang.String> b)
Generate a frequency set as the union of two input sets.
|
protected FrequencySet<java.lang.String> |
RuleFunction.getElementFrequenciesForAlt(AltAST ast)
Given list of X and r refs in alt, compute how many of each there are
|
| Modifier and Type | Method and Description |
|---|---|
protected static FrequencySet<java.lang.String> |
ElementFrequenciesVisitor.combineAndClip(FrequencySet<java.lang.String> a,
FrequencySet<java.lang.String> b,
int clip)
Generate a frequency set as the union of two input sets, with the
values clipped to a specified maximum value.
|
protected static FrequencySet<java.lang.String> |
ElementFrequenciesVisitor.combineAndClip(FrequencySet<java.lang.String> a,
FrequencySet<java.lang.String> b,
int clip)
Generate a frequency set as the union of two input sets, with the
values clipped to a specified maximum value.
|
protected static FrequencySet<java.lang.String> |
ElementFrequenciesVisitor.combineMax(FrequencySet<java.lang.String> a,
FrequencySet<java.lang.String> b)
Generate a frequency set as the union of two input sets.
|
protected static FrequencySet<java.lang.String> |
ElementFrequenciesVisitor.combineMax(FrequencySet<java.lang.String> a,
FrequencySet<java.lang.String> b)
Generate a frequency set as the union of two input sets.
|