Documentation
¶
Index ¶
Constants ¶
View Source
const RouteBase = "/opl/syntax/check"
Variables ¶
This section is empty.
Functions ¶
func LibfuzzerFuzzParser ¶
Types ¶
type Handler ¶
type Handler struct {
// contains filtered or unexported fields
}
func NewHandler ¶
func NewHandler(d handlerDependencies) *Handler
func (*Handler) Check ¶
func (h *Handler) Check(_ context.Context, request *opl.CheckRequest) (*opl.CheckResponse, error)
func (*Handler) RegisterSyntaxGRPC ¶
func (*Handler) RegisterSyntaxRoutes ¶
func (h *Handler) RegisterSyntaxRoutes(r *x.OPLSyntaxRouter)
type ParseError ¶
type ParseError struct {
// contains filtered or unexported fields
}
func Parse ¶
func Parse(input string) ([]namespace, []*ParseError)
func (*ParseError) Error ¶
func (e *ParseError) Error() string
func (*ParseError) ToAPI ¶
func (e *ParseError) ToAPI() *ketoapi.ParseError
func (*ParseError) ToProto ¶
func (e *ParseError) ToProto() *opl.ParseError
Click to show internal directories.
Click to hide internal directories.