Class: Protobuf::Node::Base
- Inherits:
-
Object
- Object
- Protobuf::Node::Base
show all
- Defined in:
- lib/protobuf/compiler/nodes.rb
Direct Known Subclasses
EnumFieldNode, EnumNode, ExtendNode, ExtensionRangeNode, ExtensionsNode, FieldNode, GroupNode, ImportNode, MessageNode, OptionNode, PackageNode, ProtoNode, RpcNode, ServiceNode
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
|