MCPcopy
hub / github.com/google/mangle / hasMultipleTransforms

Function hasMultipleTransforms

analysis/validation.go:792–794  ·  view source on GitHub ↗
(clause ast.Clause)

Source from the content-addressed store, hash-verified

790}
791
792func hasMultipleTransforms(clause ast.Clause) bool {
793 return clause.Transform != nil && clause.Transform.Next != nil
794}
795
796func hasLetTransform(clause ast.Clause) bool {
797 return clause.Transform != nil && clause.Transform.Statements[0].Var != nil

Callers 1

CheckRuleMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected