Package org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTStaticAssertDeclaration
- All Superinterfaces:
IASTDeclaration
,IASTNode
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.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
IASTNode.CopyStyle
-
Field Summary
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclaration
EMPTY_DECLARATION_ARRAY
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
-
Method Summary
Modifier and TypeMethodDescriptionReturns the condition of the assertionReturns the message of the assertion.Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclaration
copy, copy
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, contains, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
-
Field Details
-
CONDITION
-
MESSAGE
-
-
Method Details
-
getCondition
IASTExpression getCondition()Returns the condition of the assertion -
getMessage
ICPPASTLiteralExpression getMessage()Returns the message of the assertion. Potentiallynull
when message is omitted or using content assist.
-