jarib/webidl

View on GitHub
lib/webidl/parse_tree/relative_scoped_name.rb

Summary

Maintainability
A
0 mins
Test Coverage
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