github.com/googleapis/gnostic v0.4.1

This commit is contained in:
Jordan Liggitt
2020-03-31 17:18:56 -04:00
parent dda530cfb7
commit 93c7b24562
95 changed files with 6306 additions and 5292 deletions

View File

@@ -2062,7 +2062,7 @@ func (g *Generator) generateInternalStructFields(mc *msgCtx, topLevelFields []to
}
// generateOneofFuncs adds all the utility functions for oneof, including marshalling, unmarshalling and sizer.
// generateOneofFuncs adds all the utility functions for oneof, including marshaling, unmarshaling and sizer.
func (g *Generator) generateOneofFuncs(mc *msgCtx, topLevelFields []topLevelField) {
ofields := []*oneofField{}
for _, f := range topLevelFields {

View File

@@ -47,7 +47,7 @@ type Location struct {
}
// A Map represents a mapping between token locations in an input source text
// and locations in the correspnding output text.
// and locations in the corresponding output text.
type Map map[Location]Location
// Find reports whether the specified span is recorded by m, and if so returns