Class: ZOMG::IDL::Nodes::InterfaceHeader

Inherits:
Node
  • Object
show all
Defined in:
lib/zomg/idl/nodes/interface_header.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#children

Instance Method Summary collapse

Methods inherited from Node

#duhr, #to_i, #to_ruby, #to_ruby_sexp, #to_sexp

Methods included from Visitable

#accept

Constructor Details

#initialize(abstract, name, inheritance_spec = []) ⇒ InterfaceHeader

Returns a new instance of InterfaceHeader.



6
7
8
9
10
# File 'lib/zomg/idl/nodes/interface_header.rb', line 6

def initialize(abstract, name, inheritance_spec = [])
  @abstract = abstract
  @name = name
  super(inheritance_spec)
end

Instance Attribute Details

#abstractObject

Returns the value of attribute abstract.



5
6
7
# File 'lib/zomg/idl/nodes/interface_header.rb', line 5

def abstract
  @abstract
end

#nameObject

Returns the value of attribute name.



5
6
7
# File 'lib/zomg/idl/nodes/interface_header.rb', line 5

def name
  @name
end