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