Class: WebIDL::ParseTree::IncludesStatement

Inherits:
Treetop::Runtime::SyntaxNode
  • Object
show all
Defined in:
lib/webidl/parse_tree/includes_statement.rb

Instance Method Summary collapse

Instance Method Details

#build(parent) ⇒ Object



5
6
7
8
9
10
# File 'lib/webidl/parse_tree/includes_statement.rb', line 5

def build(parent)
  includer_name = includer.build(parent).qualified_name
  includee_name = includee.build(parent).qualified_name

  Ast::IncludesStatement.new(parent, includer_name, includee_name)
end