def nested_local_types
      return [] if @node.nil?
      refs = @node.xpath("ref")
      return [] if refs.nil? || refs.empty?
      refs.map { |r| Type.new(node: r, dir: @dir) }
    end
def nested_local_types
      return [] if @node.nil?
      refs = @node.xpath("ref")
      return [] if refs.nil? || refs.empty?
      refs.map { |r| Type.new(node: r, dir: @dir) }
    end
If this {Type} has type parameters (aka. template params) finds nested {Type}s
    for other {Class}es or {Struct}s parsed by Doxyparser.
  	The 'main' type is always included, so for templates two or more types will be returned.
 Example: for MyNamespace::map<std::string, MyClass> the result is: [MyNamespace::map, MyNamespace::MyClass]
 @return [Array<Type>] Nested types