Class: WebIDL::Ast::ImplementsStatement
- Defined in:
- lib/webidl/ast/implements_statement.rb
Instance Attribute Summary collapse
-
#implementee ⇒ Object
readonly
Returns the value of attribute implementee.
-
#implementor ⇒ Object
readonly
Returns the value of attribute implementor.
Instance Method Summary collapse
-
#initialize(parent, implementor_name, implementee_name) ⇒ ImplementsStatement
constructor
A new instance of ImplementsStatement.
Methods inherited from Node
#accept, #qualified_name, #snake_name
Constructor Details
#initialize(parent, implementor_name, implementee_name) ⇒ ImplementsStatement
Returns a new instance of ImplementsStatement.
7 8 9 10 |
# File 'lib/webidl/ast/implements_statement.rb', line 7 def initialize(parent, implementor_name, implementee_name) @implementor = implementor_name @implementee = implementee_name end |
Instance Attribute Details
#implementee ⇒ Object (readonly)
Returns the value of attribute implementee.
5 6 7 |
# File 'lib/webidl/ast/implements_statement.rb', line 5 def implementee @implementee end |
#implementor ⇒ Object (readonly)
Returns the value of attribute implementor.
5 6 7 |
# File 'lib/webidl/ast/implements_statement.rb', line 5 def implementor @implementor end |