Lines Matching defs:RPC
120 type RPC struct { struct
121 Position scanner.Position
122 Comment *Comment
123 Name string
124 RequestType string
125 StreamsRequest bool
126 ReturnsType string
127 StreamsReturns bool
128 Elements []Visitee
129 InlineComment *Comment
130 Parent Visitee
133 Options []*Option
137 func (r *RPC) Accept(v Visitor) {
142 func (r *RPC) Doc() *Comment {
147 func (r *RPC) inlineComment(c *Comment) {
152 func (r *RPC) parse(p *Parser) error {
232 func (r *RPC) addElement(v Visitee) {
242 func (r *RPC) elements() []Visitee {
246 func (r *RPC) takeLastComment(expectedOnLine int) (last *Comment) {
251 func (r *RPC) parent(v Visitee) { r.Parent = v }