7bc58a43b66582592de98015f05621c2eb3885d1
[yangtools.git] / yang / yang-model-api / src / main / java / org / opendaylight / yangtools / yang / model / api / stmt / UnrecognizedStatement.java
1 /*
2  * Copyright (c) 2017 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.model.api.stmt;
9
10 import com.google.common.annotations.Beta;
11
12 /**
13  * Common interface for unrecognized unknown statements. An {@link UnrecognizedStatement} is an instance of a statement
14  * defined via an {@code extension} statement, for which the parser did not have semantic support (in which case the
15  * statement would result in a corresponding semantic subclass of {@link UnknownStatement}).
16  *
17  * <p>
18  * This construct does not have a {@link UnknownEffectiveStatement} counterpart because we cannot reasonably build an
19  * effective model of something we do not recognize.
20  */
21 @Beta
22 public interface UnrecognizedStatement extends UnknownStatement<Object> {
23
24 }