Class: Protobuf::Node::Base

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

Instance Method Summary collapse

Instance Method Details

#accept_descriptor_visitor(visitor) ⇒ Object



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

def accept_descriptor_visitor(visitor)
end

#accept_message_visitor(visitor) ⇒ Object



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

def accept_message_visitor(visitor)
end

#accept_rpc_visitor(vistor) ⇒ Object



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

def accept_rpc_visitor(vistor)
end

#define_in_the_file(visitor) ⇒ Object



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

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