Class: WebIDL::Ast::Exception
Instance Attribute Summary collapse
-
#members ⇒ Object
Returns the value of attribute members.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Instance Method Summary collapse
-
#initialize(parent, name) ⇒ Exception
constructor
A new instance of Exception.
Methods inherited from Node
#accept, #qualified_name, #snake_name
Constructor Details
#initialize(parent, name) ⇒ Exception
Returns a new instance of Exception.
7 8 9 10 11 |
# File 'lib/webidl/ast/exception.rb', line 7 def initialize(parent, name) @parent = parent @name = name @members = [] end |
Instance Attribute Details
#members ⇒ Object
Returns the value of attribute members.
5 6 7 |
# File 'lib/webidl/ast/exception.rb', line 5 def members @members end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
4 5 6 |
# File 'lib/webidl/ast/exception.rb', line 4 def name @name end |