Merge branch 'master' of ../controller
[yangtools.git] / yang / yang-parser-spi / src / main / java / org / opendaylight / yangtools / yang / parser / spi / meta / MutableStatement.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.parser.spi.meta;
9
10 /**
11  * Mutable statement interface. Each mutable statement must be sealed as the
12  * last step of statement parser processing.
13  */
14 public interface MutableStatement {
15     /**
16      * Finish statement and make it immutable. After this method is invoked, any
17      * further modifications of current object are not allowed.
18      */
19     void seal();
20 }