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
17
18
|
# File 'lib/protobuf/compiler/nodes.rb', line 17
def accept_descriptor_visitor(visitor)
end
|
#accept_message_visitor(visitor) ⇒ Object
11
12
|
# File 'lib/protobuf/compiler/nodes.rb', line 11
def accept_message_visitor(visitor)
end
|
#accept_rpc_visitor(vistor) ⇒ Object
14
15
|
# File 'lib/protobuf/compiler/nodes.rb', line 14
def accept_rpc_visitor(vistor)
end
|
#define_in_the_file(visitor) ⇒ Object
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
|