Uses of Class
org.antlr.v4.misc.FrequencySet
Packages that use FrequencySet
-
Uses of FrequencySet in org.antlr.v4.codegen.model
Fields in org.antlr.v4.codegen.model declared as FrequencySetModifier and TypeFieldDescriptionprivate static final FrequencySet
<String> ElementFrequenciesVisitor.SENTINEL
This special value means "no set", and is used byElementFrequenciesVisitor.minFrequencies
to ensure thatElementFrequenciesVisitor.combineMin(org.antlr.v4.misc.FrequencySet<java.lang.String>, org.antlr.v4.misc.FrequencySet<java.lang.String>)
doesn't merge an empty set (all zeros) with the results of the first alternative.Fields in org.antlr.v4.codegen.model with type parameters of type FrequencySetModifier and TypeFieldDescription(package private) final Deque
<FrequencySet<String>> ElementFrequenciesVisitor.frequencies
private final Deque
<FrequencySet<String>> ElementFrequenciesVisitor.minFrequencies
Methods in org.antlr.v4.codegen.model that return FrequencySetModifier and TypeMethodDescriptionprotected 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.(package private) FrequencySet
<String> ElementFrequenciesVisitor.getMinFrequencies()
Methods in org.antlr.v4.codegen.model that return types with arguments of type FrequencySetModifier and TypeMethodDescriptionprotected Pair
<FrequencySet<String>, FrequencySet<String>> RuleFunction.getElementFrequenciesForAlt
(AltAST ast) Given list of X and r refs in alt, compute how many of each there areprotected Pair
<FrequencySet<String>, FrequencySet<String>> RuleFunction.getElementFrequenciesForAlt
(AltAST ast) Given list of X and r refs in alt, compute how many of each there areMethods in org.antlr.v4.codegen.model with parameters of type FrequencySetModifier and TypeMethodDescriptionprotected 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.