Uses of Class
org.antlr.v4.misc.FrequencySet
-
Packages that use FrequencySet Package Description org.antlr.v4.codegen.model -
-
Uses of FrequencySet in org.antlr.v4.codegen.model
Fields in org.antlr.v4.codegen.model declared as FrequencySet Modifier and Type Field Description private static FrequencySet<java.lang.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 FrequencySet Modifier and Type Field Description (package private) java.util.Deque<FrequencySet<java.lang.String>>
ElementFrequenciesVisitor. frequencies
private java.util.Deque<FrequencySet<java.lang.String>>
ElementFrequenciesVisitor. minFrequencies
Methods in org.antlr.v4.codegen.model that return FrequencySet Modifier and Type Method 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 static FrequencySet<java.lang.String>
ElementFrequenciesVisitor. combineMin(FrequencySet<java.lang.String> a, FrequencySet<java.lang.String> b)
Generate a frequency set as the union of two input sets.(package private) FrequencySet<java.lang.String>
ElementFrequenciesVisitor. getMinFrequencies()
Methods in org.antlr.v4.codegen.model that return types with arguments of type FrequencySet Modifier and Type Method Description protected Pair<FrequencySet<java.lang.String>,FrequencySet<java.lang.String>>
RuleFunction. getElementFrequenciesForAlt(AltAST ast)
Given list of X and r refs in alt, compute how many of each there areprotected Pair<FrequencySet<java.lang.String>,FrequencySet<java.lang.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 FrequencySet Modifier and Type Method 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 static FrequencySet<java.lang.String>
ElementFrequenciesVisitor. combineMin(FrequencySet<java.lang.String> a, FrequencySet<java.lang.String> b)
Generate a frequency set as the union of two input sets.
-