Class: WebIDL::ParseTree::Interface
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- WebIDL::ParseTree::Interface
- Defined in:
- lib/webidl/parse_tree/interface.rb
Direct Known Subclasses
Instance Method Summary collapse
Instance Method Details
#add_inheritance(parent, intf) ⇒ Object
17 18 19 20 21 |
# File 'lib/webidl/parse_tree/interface.rb', line 17 def add_inheritance(parent, intf) if inherits.any? intf.inherits = inherits.build(parent) end end |