Lines Matching defs:RuleBuilderCommand
929 type RuleBuilderCommand struct { struct
930 rule *RuleBuilder
932 buf strings.Builder
933 inputs Paths
934 implicits Paths
935 orderOnlys Paths
936 validations Paths
937 outputs WritablePaths
938 depFiles WritablePaths
939 tools Paths
940 packagedTools []PackagingSpec
941 rspFiles []rspFileAndPaths
942 implicitDirectories DirectoryPaths
956 func (c *RuleBuilderCommand) addInput(path Path) string {
962 func (c *RuleBuilderCommand) addImplicit(path Path) {
967 func (c *RuleBuilderCommand) addImplicitDirectory(path DirectoryPath) {
971 func (c *RuleBuilderCommand) addOrderOnly(path Path) {
980 func (c *RuleBuilderCommand) PathForInput(path Path) string {
997 func (c *RuleBuilderCommand) PathsForInputs(paths Paths) []string {
1009 func (c *RuleBuilderCommand) PathForOutput(path WritablePath) string {
1104 func (c *RuleBuilderCommand) PathForPackagedTool(spec PackagingSpec) string {
1117 func (c *RuleBuilderCommand) PathForTool(path Path) string {
1129 func (c *RuleBuilderCommand) PathsForTools(paths Paths) []string {
1148 func (c *RuleBuilderCommand) PackagedTool(spec PackagingSpec) *RuleBuilderCommand {
1162 func (c *RuleBuilderCommand) ImplicitPackagedTool(spec PackagingSpec) *RuleBuilderCommand {
1173 func (c *RuleBuilderCommand) ImplicitPackagedTools(specs []PackagingSpec) *RuleBuilderCommand {
1184 func (c *RuleBuilderCommand) Text(text string) *RuleBuilderCommand {
1194 func (c *RuleBuilderCommand) Textf(format string, a ...interface{}) *RuleBuilderCommand {
1204 func (c *RuleBuilderCommand) Flag(flag string) *RuleBuilderCommand {
1210 func (c *RuleBuilderCommand) OptionalFlag(flag *string) *RuleBuilderCommand {
1220 func (c *RuleBuilderCommand) Flags(flags []string) *RuleBuilderCommand {
1230 func (c *RuleBuilderCommand) FlagWithArg(flag, arg string) *RuleBuilderCommand {
1236 func (c *RuleBuilderCommand) FlagForEachArg(flag string, args []string) *RuleBuilderCommand {
1246 … (c *RuleBuilderCommand) FlagWithList(flag string, list []string, sep string) *RuleBuilderCommand {
1252 func (c *RuleBuilderCommand) Tool(path Path) *RuleBuilderCommand {
1259 func (c *RuleBuilderCommand) ImplicitTool(path Path) *RuleBuilderCommand {
1266 func (c *RuleBuilderCommand) ImplicitTools(paths Paths) *RuleBuilderCommand {
1279 func (c *RuleBuilderCommand) BuiltTool(tool string) *RuleBuilderCommand {
1292 func (c *RuleBuilderCommand) builtToolWithoutDeps(tool string) *RuleBuilderCommand {
1302 func (c *RuleBuilderCommand) PrebuiltBuildTool(ctx PathContext, tool string) *RuleBuilderCommand {
1308 func (c *RuleBuilderCommand) Input(path Path) *RuleBuilderCommand {
1314 func (c *RuleBuilderCommand) Inputs(paths Paths) *RuleBuilderCommand {
1323 func (c *RuleBuilderCommand) Implicit(path Path) *RuleBuilderCommand {
1330 func (c *RuleBuilderCommand) Implicits(paths Paths) *RuleBuilderCommand {
1339 func (c *RuleBuilderCommand) ImplicitDirectory(path DirectoryPath) *RuleBuilderCommand {
1348 func (c *RuleBuilderCommand) GetImplicits() Paths {
1354 func (c *RuleBuilderCommand) OrderOnly(path Path) *RuleBuilderCommand {
1361 func (c *RuleBuilderCommand) OrderOnlys(paths Paths) *RuleBuilderCommand {
1370 func (c *RuleBuilderCommand) Validation(path Path) *RuleBuilderCommand {
1378 func (c *RuleBuilderCommand) Validations(paths Paths) *RuleBuilderCommand {
1387 func (c *RuleBuilderCommand) Output(path WritablePath) *RuleBuilderCommand {
1395 func (c *RuleBuilderCommand) Outputs(paths WritablePaths) *RuleBuilderCommand {
1404 func (c *RuleBuilderCommand) OutputDir(subPathComponents ...string) *RuleBuilderCommand {
1418 func (c *RuleBuilderCommand) DepFile(path WritablePath) *RuleBuilderCommand {
1426 func (c *RuleBuilderCommand) ImplicitOutput(path WritablePath) *RuleBuilderCommand {
1433 func (c *RuleBuilderCommand) ImplicitOutputs(paths WritablePaths) *RuleBuilderCommand {
1442 func (c *RuleBuilderCommand) ImplicitDepFile(path WritablePath) *RuleBuilderCommand {
1449 func (c *RuleBuilderCommand) FlagWithInput(flag string, path Path) *RuleBuilderCommand {
1456 … *RuleBuilderCommand) FlagWithInputList(flag string, paths Paths, sep string) *RuleBuilderCommand {
1467 func (c *RuleBuilderCommand) FlagForEachInput(flag string, paths Paths) *RuleBuilderCommand {
1476 func (c *RuleBuilderCommand) FlagWithOutput(flag string, path WritablePath) *RuleBuilderCommand {
1483 func (c *RuleBuilderCommand) FlagWithDepFile(flag string, path WritablePath) *RuleBuilderCommand {
1493 …and) FlagWithRspFileInputList(flag string, rspFile WritablePath, paths Paths) *RuleBuilderCommand {
1514 func (c *RuleBuilderCommand) String() string {