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_ARRAY
EMPTY_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, copy
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
static 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, 2014. All Rights Reserved.