internal/parser/parser.go
Function parseArgument
has 8 return statements (exceeds 4 allowed). Open
Open
func parseArgument(dec *decoder.Decoder, depth int) (ast.Part, error) {
if err := requireRune(dec, '{'); err != nil {
return nil, err
}
Function parseMessage
has 5 return statements (exceeds 4 allowed). Open
Open
func parseMessage(dec *decoder.Decoder, depth int, inPlural bool) ([]ast.Part, error) {
parts := []ast.Part{}
if depth > 0 {
if err := requireRune(dec, '{'); err != nil {
return nil, err