Class: WebIDL::Ast::IncludesStatement

Inherits:
Node
  • Object
show all
Defined in:
lib/webidl/ast/includes_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, includer_name, includee_name) ⇒ IncludesStatement

Returns a new instance of IncludesStatement.



7
8
9
10
# File 'lib/webidl/ast/includes_statement.rb', line 7

def initialize(parent, includer_name, includee_name)
  @includer = includer_name
  @includee = includee_name
end

Instance Attribute Details

#includeeObject (readonly)

Returns the value of attribute includee.



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

def includee
  @includee
end

#includerObject (readonly)

Returns the value of attribute includer.



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

def includer
  @includer
end