Lines Matching defs:RuleBuilderCommand

480 type RuleBuilderCommand struct {  struct
481 buf strings.Builder
482 inputs Paths
483 implicits Paths
484 orderOnlys Paths
485 outputs WritablePaths
486 depFiles WritablePaths
487 tools Paths
488 rspFileInputs Paths
491 unescapedSpans [][2]int
493 sbox bool
494 sboxOutDir WritablePath
497 func (c *RuleBuilderCommand) addInput(path Path) string {
507 func (c *RuleBuilderCommand) addImplicit(path Path) string {
517 func (c *RuleBuilderCommand) addOrderOnly(path Path) {
521 func (c *RuleBuilderCommand) outputStr(path Path) string {
532 func (c *RuleBuilderCommand) Text(text string) *RuleBuilderCommand {
542 func (c *RuleBuilderCommand) Textf(format string, a ...interface{}) *RuleBuilderCommand {
548 func (c *RuleBuilderCommand) Flag(flag string) *RuleBuilderCommand {
554 func (c *RuleBuilderCommand) OptionalFlag(flag *string) *RuleBuilderCommand {
564 func (c *RuleBuilderCommand) Flags(flags []string) *RuleBuilderCommand {
574 func (c *RuleBuilderCommand) FlagWithArg(flag, arg string) *RuleBuilderCommand {
580 func (c *RuleBuilderCommand) FlagForEachArg(flag string, args []string) *RuleBuilderCommand {
590 … (c *RuleBuilderCommand) FlagWithList(flag string, list []string, sep string) *RuleBuilderCommand {
596 func (c *RuleBuilderCommand) Tool(path Path) *RuleBuilderCommand {
606 func (c *RuleBuilderCommand) BuiltTool(ctx PathContext, tool string) *RuleBuilderCommand {
615 func (c *RuleBuilderCommand) PrebuiltBuildTool(ctx PathContext, tool string) *RuleBuilderCommand {
621 func (c *RuleBuilderCommand) Input(path Path) *RuleBuilderCommand {
627 func (c *RuleBuilderCommand) Inputs(paths Paths) *RuleBuilderCommand {
636 func (c *RuleBuilderCommand) Implicit(path Path) *RuleBuilderCommand {
643 func (c *RuleBuilderCommand) Implicits(paths Paths) *RuleBuilderCommand {
651 func (c *RuleBuilderCommand) GetImplicits() Paths {
657 func (c *RuleBuilderCommand) OrderOnly(path Path) *RuleBuilderCommand {
664 func (c *RuleBuilderCommand) OrderOnlys(paths Paths) *RuleBuilderCommand {
673 func (c *RuleBuilderCommand) Output(path WritablePath) *RuleBuilderCommand {
680 func (c *RuleBuilderCommand) Outputs(paths WritablePaths) *RuleBuilderCommand {
689 func (c *RuleBuilderCommand) OutputDir() *RuleBuilderCommand {
699 func (c *RuleBuilderCommand) DepFile(path WritablePath) *RuleBuilderCommand {
706 func (c *RuleBuilderCommand) ImplicitOutput(path WritablePath) *RuleBuilderCommand {
713 func (c *RuleBuilderCommand) ImplicitOutputs(paths WritablePaths) *RuleBuilderCommand {
722 func (c *RuleBuilderCommand) ImplicitDepFile(path WritablePath) *RuleBuilderCommand {
729 func (c *RuleBuilderCommand) FlagWithInput(flag string, path Path) *RuleBuilderCommand {
736 … *RuleBuilderCommand) FlagWithInputList(flag string, paths Paths, sep string) *RuleBuilderCommand {
747 func (c *RuleBuilderCommand) FlagForEachInput(flag string, paths Paths) *RuleBuilderCommand {
756 func (c *RuleBuilderCommand) FlagWithOutput(flag string, path WritablePath) *RuleBuilderCommand {
763 func (c *RuleBuilderCommand) FlagWithDepFile(flag string, path WritablePath) *RuleBuilderCommand {
770 …nc (c *RuleBuilderCommand) FlagWithRspFileInputList(flag string, paths Paths) *RuleBuilderCommand {
790 func (c *RuleBuilderCommand) String() string {
795 func (c *RuleBuilderCommand) NinjaEscapedString() string {