Interface ICPPASTStaticAssertDeclaration

All Superinterfaces:
IASTDeclaration, IASTNode

public interface ICPPASTStaticAssertDeclaration extends IASTDeclaration
Models static assertions: static_assert(false, "message");
Since:
5.2
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Field Details

  • Method Details

    • getCondition

      IASTExpression getCondition()
      Returns the condition of the assertion
    • getMessage

      Returns the message of the assertion. Potentially null when message is omitted or using content assist.