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.rfc7950.ir;
10 import static java.util.Objects.requireNonNull;
12 import com.google.common.collect.ImmutableList;
13 import org.eclipse.jdt.annotation.NonNull;
15 final class IRStatement144 extends IRStatement044 {
16 private final @NonNull IRStatement statement;
18 IRStatement144(final IRKeyword keyword, final IRArgument argument, final IRStatement statement,
19 final int startLine, final int startColumn) {
20 super(keyword, argument, startLine, startColumn);
21 this.statement = requireNonNull(statement);
25 public ImmutableList<IRStatement> statements() {
26 return ImmutableList.of(statement);