Class: WebIDL::ParseTree::RelativeScopedName

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

Instance Method Summary collapse

Instance Method Details

#build(parent) ⇒ Object



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

def build(parent)
  n = ''
  n << name.text_value
  n << parts.text_value

  Ast::ScopedName.new(parent, n, :relative => true)
end