Searched refs:OptionPriority (Results 1 – 8 of 8) sorted by relevance
/external/desugar/java/com/google/devtools/common/options/ |
D | OptionPriority.java | 27 public class OptionPriority implements Comparable<OptionPriority> { class 41 private OptionPriority( in OptionPriority() method in OptionPriority 48 static OptionPriority lowestOptionPriorityAtCategory(PriorityCategory category) { in lowestOptionPriorityAtCategory() 49 return new OptionPriority(category, ImmutableList.of(0)); in lowestOptionPriorityAtCategory() 57 static OptionPriority nextOptionPriority(OptionPriority priority) { in nextOptionPriority() 59 return new OptionPriority( in nextOptionPriority() 74 public static OptionPriority getChildPriority(OptionPriority parentPriority) in getChildPriority() 83 return new OptionPriority( in getChildPriority() 93 public int compareTo(OptionPriority o) { in compareTo() 109 if (o instanceof OptionPriority) { in equals() [all …]
|
D | OptionsParserImpl.java | 24 import com.google.devtools.common.options.OptionPriority.PriorityCategory; 80 private final Map<PriorityCategory, OptionPriority> nextPriorityPerPriorityCategory = 82 .collect(Collectors.toMap(p -> p, OptionPriority::lowestOptionPriorityAtCategory)); 213 OptionPriority nextOptionPriority = in getExpansionValueDescriptions() 214 OptionPriority.getChildPriority(originOfExpansionFlag.getPriority()); in getExpansionValueDescriptions() 251 nextOptionPriority = OptionPriority.nextOptionPriority(nextOptionPriority); in getExpansionValueDescriptions() 284 OptionPriority nextPriority; 286 public ResidueAndPriority(List<String> residue, OptionPriority nextPriority) { in ResidueAndPriority() 300 OptionPriority.getChildPriority(optionToExpand.getPriority()), in parseArgsAsExpansionOfOption() 317 OptionPriority priority, in parse() [all …]
|
D | OptionInstanceOrigin.java | 23 private final OptionPriority priority; 29 OptionPriority priority, in OptionInstanceOrigin() 39 public OptionPriority getPriority() { in getPriority()
|
D | OptionsParser.java | 210 parseAndExitUponError(OptionPriority.PriorityCategory.COMMAND_LINE, "unknown", args); in parseAndExitUponError() 219 OptionPriority.PriorityCategory priority, String source, String[] args) { in parseAndExitUponError() 560 parse(OptionPriority.PriorityCategory.COMMAND_LINE, null, Arrays.asList(args)); in parse() 567 parse(OptionPriority.PriorityCategory.COMMAND_LINE, null, args); in parse() 586 public void parse(OptionPriority.PriorityCategory priority, String source, List<String> args) in parse() 608 OptionPriority.PriorityCategory priority, in parseWithSourceFunction() 613 Preconditions.checkArgument(priority != OptionPriority.PriorityCategory.DEFAULT); in parseWithSourceFunction() 638 != OptionPriority.PriorityCategory.DEFAULT, in parseArgsAsExpansionOfOption()
|
D | OptionValueDescription.java | 260 ListMultimap<OptionPriority, ParsedOptionDescription> parsedOptions; 261 ListMultimap<OptionPriority, Object> optionValues; 307 OptionPriority priority = parsedOption.getPriority(); in addOptionInstance()
|
D | InvocationPolicyEnforcer.java | 29 import com.google.devtools.common.options.OptionPriority.PriorityCategory; 248 OptionPriority nextPriority = in getEffectivePolicies() 249 OptionPriority.lowestOptionPriorityAtCategory(PriorityCategory.INVOCATION_POLICY); in getEffectivePolicies() 262 OptionPriority currentPriority = nextPriority; in getEffectivePolicies() 265 nextPriority = OptionPriority.nextOptionPriority(currentPriority); in getEffectivePolicies()
|
D | Options.java | 54 parser.parse(OptionPriority.PriorityCategory.COMMAND_LINE, null, Arrays.asList(args)); in parse()
|
D | ParsedOptionDescription.java | 147 public OptionPriority getPriority() { in getPriority()
|