Class: WebIDL::Ast::ImplementsStatement

Inherits:
Node
  • Object
show all
Defined in:
lib/webidl/ast/implements_statement.rb

Instance Attribute Summary collapse

Attributes inherited from Node

#parent

Instance Method Summary collapse

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

#implementeeObject (readonly)

Returns the value of attribute implementee.



5
6
7
# File 'lib/webidl/ast/implements_statement.rb', line 5

def implementee
  @implementee
end

#implementorObject (readonly)

Returns the value of attribute implementor.



5
6
7
# File 'lib/webidl/ast/implements_statement.rb', line 5

def implementor
  @implementor
end