module WebIDL module ParseTree class RelativeScopedName < Treetop::Runtime::SyntaxNode def build(parent) n = '' n << name.text_value n << parts.text_value Ast::ScopedName.new(parent, n, :relative => true) end end # RelativeScopedName end # ParseTree end # WebIDL