MCPcopy
hub / github.com/grpc-ecosystem/grpc-gateway / Compiler

Interface Compiler

internal/httprule/compile.go:29–31  ·  internal/httprule/compile.go::Compiler

Compiler compiles utilities representation of path templates into marshallable operations. They can be unmarshalled by runtime.NewPattern.

Source from the content-addressed store, hash-verified

27// Compiler compiles utilities representation of path templates into marshallable operations.
28// They can be unmarshalled by runtime.NewPattern.
29type Compiler interface {
30 Compile() Template
31}
32
33type op struct {
34 // code is the opcode of the operation

Callers 6

compilePathFunction · 0.65
TestParseFunction · 0.65
compilePathFunction · 0.65
newMethodMethod · 0.65
HandlePathMethod · 0.65

Implementers 1

templateinternal/httprule/types.go

Calls

no outgoing calls

Tested by

no test coverage detected