2 * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved.
4 * This program and the accompanying materials are made available under the
5 * terms of the Eclipse Public License v1.0 which accompanies this distribution,
6 * and is available at http://www.eclipse.org/legal/epl-v10.html
8 package org.opendaylight.yangtools.yang.parser.spi.meta;
10 import com.google.common.annotations.Beta;
13 * {@link ParserNamespace} serves as common superclass for namespaces used during parser operation. Each such namespace,
14 * is a type-captured subclass. This type capture of namespace allows for handy type-safe reading methods such as
15 * {@link NamespaceStmtCtx#getFromNamespace(Class, Object)} and still allows introduction of new namespaces without need
18 * @param <K> Identifier type
19 * @param <V> Value type
22 public interface ParserNamespace<K, V> {