f4606e168c8ca7b2f74f24c370443a33584025d0
[yangtools.git] / yang / yang-parser-spi / src / main / java / org / opendaylight / yangtools / yang / parser / spi / TypeNamespace.java
1 /*
2  * Copyright (c) 2015 Cisco Systems, Inc. and others.  All rights reserved.
3  *
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
7  */
8 package org.opendaylight.yangtools.yang.parser.spi;
9
10 import org.opendaylight.yangtools.yang.common.QName;
11 import org.opendaylight.yangtools.yang.model.api.stmt.TypedefEffectiveStatement;
12 import org.opendaylight.yangtools.yang.model.api.stmt.TypedefStatement;
13 import org.opendaylight.yangtools.yang.parser.spi.meta.StatementNamespace.TreeScoped;
14
15 /**
16  * Derived types namespace
17  *
18  * All derived type names defined within a parent node or at the top level of
19  * the module or its submodules share the same type identifier namespace. This
20  * namespace is scoped to all descendant nodes of the parent node or module.
21  * This means that any descendant node may use that typedef, and it MUST NOT
22  * define a typedef with the same name.
23  *
24  * This namespace includes all type definitions implied by the language in which
25  * the current statement resides (e.g. RFC6020 for YANG).
26  */
27 public interface TypeNamespace extends TreeScoped<QName, TypedefStatement, TypedefEffectiveStatement> {
28
29 }