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