JOJ3/internal/parser/cpplint/meta.go

25 lines
440 B
Go

package cpplint
import "github.com/joint-online-judge/JOJ3/internal/stage"
var name = "cpplint"
type Match struct {
Keywords []string
Score int
}
type Conf struct {
Score int
Matches []Match
Stdout string `default:"stdout"`
Stderr string `default:"stderr"`
ForceQuitOnDeduct bool `default:"false"`
}
type Cpplint struct{}
func init() {
stage.RegisterParser(name, &Cpplint{})
}