Class: Protobuf::Node::GroupNode

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

Instance Method Summary collapse

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.



229
230
231
# File 'lib/protobuf/compiler/nodes.rb', line 229

def initialize(label, name, value, children)
  @label, @name, @value, @children = label, name, value, children
end

Instance Method Details

#accept_descriptor_visitor(visitor) ⇒ Object

Raises:

  • (NotImplementedError)


237
238
239
# File 'lib/protobuf/compiler/nodes.rb', line 237

def accept_descriptor_visitor(visitor)
  raise NotImplementedError.new
end

#accept_message_visitor(visitor) ⇒ Object

Raises:

  • (NotImplementedError)


233
234
235
# File 'lib/protobuf/compiler/nodes.rb', line 233

def accept_message_visitor(visitor)
  raise NotImplementedError.new
end