Class: Protobuf::Node::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/protobuf/compiler/nodes.rb

Instance Method Summary (collapse)

Instance Method Details

- (Object) accept_descriptor_visitor(visitor)



17
18
# File 'lib/protobuf/compiler/nodes.rb', line 17

def accept_descriptor_visitor(visitor)
end

- (Object) accept_message_visitor(visitor)



11
12
# File 'lib/protobuf/compiler/nodes.rb', line 11

def accept_message_visitor(visitor)
end

- (Object) accept_rpc_visitor(vistor)



14
15
# File 'lib/protobuf/compiler/nodes.rb', line 14

def accept_rpc_visitor(vistor)
end

- (Object) define_in_the_file(visitor)



7
8
9
# File 'lib/protobuf/compiler/nodes.rb', line 7

def define_in_the_file(visitor)
  visitor.write("defined_in __FILE__") if visitor.attach_proto?
end