Package | Description |
---|---|
org.antlr.v4.codegen.model |
Modifier and Type | Method | Description |
---|---|---|
protected static FrequencySet<String> |
ElementFrequenciesVisitor.combineAndClip(FrequencySet<String> a,
FrequencySet<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<String> |
ElementFrequenciesVisitor.combineMax(FrequencySet<String> a,
FrequencySet<String> b) |
Generate a frequency set as the union of two input sets.
|
protected static FrequencySet<String> |
ElementFrequenciesVisitor.combineMin(FrequencySet<String> a,
FrequencySet<String> b) |
Generate a frequency set as the union of two input sets.
|
Modifier and Type | Method | Description |
---|---|---|
protected Pair<FrequencySet<String>,FrequencySet<String>> |
RuleFunction.getElementFrequenciesForAlt(AltAST ast) |
Given list of X and r refs in alt, compute how many of each there are
|
protected Pair<FrequencySet<String>,FrequencySet<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 | Description |
---|---|---|
protected static FrequencySet<String> |
ElementFrequenciesVisitor.combineAndClip(FrequencySet<String> a,
FrequencySet<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<String> |
ElementFrequenciesVisitor.combineMax(FrequencySet<String> a,
FrequencySet<String> b) |
Generate a frequency set as the union of two input sets.
|
protected static FrequencySet<String> |
ElementFrequenciesVisitor.combineMin(FrequencySet<String> a,
FrequencySet<String> b) |
Generate a frequency set as the union of two input sets.
|
Copyright © 1992–2019 ANTLR. All rights reserved.