Class: WebIDL::ParseTree::PartialDictionary
- Inherits:
-
Dictionary
- Object
- Treetop::Runtime::SyntaxNode
- Dictionary
- WebIDL::ParseTree::PartialDictionary
- Defined in:
- lib/webidl/parse_tree/partial_dictionary.rb
Instance Method Summary collapse
Instance Method Details
#add_inheritance(intf) ⇒ Object
12 13 14 |
# File 'lib/webidl/parse_tree/partial_dictionary.rb', line 12 def add_inheritance(intf) # partial dictionaries does not support inheritance end |
#build(parent) ⇒ Object
5 6 7 8 9 10 |
# File 'lib/webidl/parse_tree/partial_dictionary.rb', line 5 def build(parent) intf = super intf.partial = true intf end |
#partial? ⇒ Boolean
16 17 18 |
# File 'lib/webidl/parse_tree/partial_dictionary.rb', line 16 def partial? true end |