Class: Protobuf::Node::GroupNode
- Defined in:
- lib/protobuf/compiler/nodes.rb
Instance Method Summary collapse
- #accept_descriptor_visitor(visitor) ⇒ Object
- #accept_message_visitor(visitor) ⇒ Object
-
#initialize(label, name, value, children) ⇒ GroupNode
constructor
A new instance of GroupNode.
Methods inherited from Base
#accept_rpc_visitor, #define_in_the_file
Constructor Details
#initialize(label, name, value, children) ⇒ GroupNode
Returns a new instance of GroupNode.
231 232 233 |
# File 'lib/protobuf/compiler/nodes.rb', line 231 def initialize(label, name, value, children) @label, @name, @value, @children = label, name, value, children end |
Instance Method Details
#accept_descriptor_visitor(visitor) ⇒ Object
239 240 241 |
# File 'lib/protobuf/compiler/nodes.rb', line 239 def accept_descriptor_visitor(visitor) raise NotImplementedError.new end |
#accept_message_visitor(visitor) ⇒ Object
235 236 237 |
# File 'lib/protobuf/compiler/nodes.rb', line 235 def (visitor) raise NotImplementedError.new end |