/* * Copyright (c) 2020 PANTHEON.tech, s.r.o. and others. All rights reserved. * * This program and the accompanying materials are made available under the * terms of the Eclipse Public License v1.0 which accompanies this distribution, * and is available at http://www.eclipse.org/legal/epl-v10.html */ package org.opendaylight.yangtools.yang.parser.rfc7950.ir; import static java.util.Objects.requireNonNull; import com.google.common.collect.ImmutableList; import org.eclipse.jdt.annotation.NonNull; final class IRStatement144 extends IRStatement044 { private final @NonNull IRStatement statement; IRStatement144(final IRKeyword keyword, final IRArgument argument, final IRStatement statement, final int startLine, final int startColumn) { super(keyword, argument, startLine, startColumn); this.statement = requireNonNull(statement); } @Override public ImmutableList statements() { return ImmutableList.of(statement); } }