Class: WebIDL::ParseTree::Exception
- Inherits:
-
Treetop::Runtime::SyntaxNode
- Object
- Treetop::Runtime::SyntaxNode
- WebIDL::ParseTree::Exception
- Defined in:
- lib/webidl/parse_tree/exception.rb
Instance Method Summary collapse
Instance Method Details
#build(parent) ⇒ Object
5 6 7 8 9 10 11 12 13 14 15 |
# File 'lib/webidl/parse_tree/exception.rb', line 5 def build(parent) ex = Ast::Exception.new(parent, name.text_value) unless inherits.empty? ex.inherits = inherits.build(parent) end members.build(ex) unless members.empty? ex end |