// Apply applies the rule to the proto.
Apply applies the rule to the proto.
// Apply applies the rule to the proto .
func (r FileNamesLowerSnakeCaseRule) Apply(proto *parser.Proto) ([]report.Failure, error) {
	v := &fileNamesLowerSnakeCaseVisitor{
		BaseAddVisitor: visitor.NewBaseAddVisitor(r.ID()),
		excluded:       r.excluded,
		fixMode:        r.fixMode,
	}
	return visitor.RunVisitor(v, proto, r.ID())
}
func ( r FileNamesLowerSnakeCaseRule ) Apply ( proto * parser . Proto ) ( [ ] report . Failure , error ) { v := & fileNamesLowerSnakeCaseVisitor { BaseAddVisitor : visitor . NewBaseAddVisitor ( r . ID ( ) ) , excluded : r . excluded , fixMode : r . fixMode , } return visitor . RunVisitor ( v , proto , r . ID ( ) ) }
Apply applies the rule to the proto.
Apply applies the rule to the proto .