public interface ICPPASTStaticAssertDeclaration extends IASTDeclaration
static_assert(false, "message");IASTNode.CopyStyle| Modifier and Type | Field and Description |
|---|---|
static ASTNodeProperty |
CONDITION |
static ASTNodeProperty |
MESSAGE |
EMPTY_DECLARATION_ARRAYEMPTY_NODE_ARRAY| Modifier and Type | Method and Description |
|---|---|
IASTExpression |
getCondition()
Returns the condition of the assertion
|
ICPPASTLiteralExpression |
getMessage()
Returns the message of the assertion.
|
copy, copyaccept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParentstatic final ASTNodeProperty CONDITION
static final ASTNodeProperty MESSAGE
IASTExpression getCondition()
ICPPASTLiteralExpression getMessage()
null when message is omitted
or using content assist.Copyright (c) IBM Corp. and others 2004, 2020. All Rights Reserved.