Class: WebIDL::Ast::Exception
Instance Attribute Summary collapse
-
#extended_attributes ⇒ Object
Returns the value of attribute extended_attributes.
-
#inherits ⇒ Object
Returns the value of attribute inherits.
-
#members ⇒ Object
Returns the value of attribute members.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
Attributes inherited from Node
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 12 13 |
# File 'lib/webidl/ast/exception.rb', line 7 def initialize(parent, name) @parent = parent @name = name @members = [] @inherits = [] @extended_attributes = [] end |
Instance Attribute Details
#extended_attributes ⇒ Object
Returns the value of attribute extended_attributes.
5 6 7 |
# File 'lib/webidl/ast/exception.rb', line 5 def extended_attributes @extended_attributes end |
#inherits ⇒ Object
Returns the value of attribute inherits.
5 6 7 |
# File 'lib/webidl/ast/exception.rb', line 5 def inherits @inherits end |
#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 |