Class: WebIDL::ParseTree::ScopedNameList
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- WebIDL::ParseTree::ScopedNameList
- Defined in:
- lib/webidl/parse_tree/scoped_name_list.rb
Instance Method Summary collapse
Instance Method Details
#build(parent) ⇒ Object
5 6 7 8 9 10 11 12 |
# File 'lib/webidl/parse_tree/scoped_name_list.rb', line 5 def build(parent) result = [] result << name.build(parent) result += names.build(parent) unless names.empty? result end |