// This file is part of CPAchecker,
// a tool for configurable software verification:
// https://cpachecker.sosy-lab.org
//
// SPDX-FileCopyrightText: 2007-2020 Dirk Beyer <https://www.sosy-lab.org>
//
// SPDX-License-Identifier: Apache-2.0

package org.sosy_lab.cpachecker.cfa.ast.c;

import org.sosy_lab.cpachecker.cfa.ast.AStatement;

public sealed interface CStatement extends CAstNode, AStatement
    permits CAssignment,
        CExpressionAssignmentStatement,
        CExpressionStatement,
        CFunctionCall,
        CFunctionCallAssignmentStatement,
        CFunctionCallStatement {

  <R, X extends Exception> R accept(CStatementVisitor<R, X> v) throws X;
}
