Documentation
¶
Overview ¶
Package parser contains a protobuf parser. nolint: govet, golint
Index ¶
- type Array
- type Direct
- type Entry
- type Enum
- type EnumEntry
- type EnumValue
- type Extend
- type Extensions
- type Field
- type Group
- type Map
- type MapEntry
- type MapType
- type Message
- type MessageEntry
- type Method
- type Oneof
- type OneofEntry
- type Option
- type Proto
- type Range
- type Reserved
- type Scalar
- type Service
- type ServiceEntry
- type Type
- type Value
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Extensions ¶
type Group ¶
type Group struct {
Pos lexer.Position
Name string `"group" @Ident`
Tag int `"=" @Int`
Entries []*MessageEntry `"{" { @@ [ ";" ] } "}"`
}
type Message ¶
type Message struct {
Pos lexer.Position
Name string `"message" @Ident`
Entries []*MessageEntry `"{" { @@ } "}"`
}
type MessageEntry ¶
type Oneof ¶
type Oneof struct {
Pos lexer.Position
Name string `"oneof" @Ident`
Entries []*OneofEntry `"{" { @@ { ";" } } "}"`
}
type OneofEntry ¶
type Service ¶
type Service struct {
Pos lexer.Position
Name string `"service" @Ident`
Entry []*ServiceEntry `"{" { @@ [ ";" ] } "}"`
}
type ServiceEntry ¶
Click to show internal directories.
Click to hide internal directories.