org.eclipse.cdt.core.dom.ast.cpp
Interface ICPPASTStaticAssertDeclaration
- All Superinterfaces:
- IASTDeclaration, IASTNode
public interface ICPPASTStaticAssertDeclaration
- extends IASTDeclaration
Models static assertions: static_assert(false, "message");
- Since:
- 5.2
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 |
CONDITION
static final ASTNodeProperty CONDITION
MESSAGE
static final ASTNodeProperty MESSAGE
getCondition
IASTExpression getCondition()
- Returns the condition of the assertion
getMessage
ICPPASTLiteralExpression getMessage()
- Returns the message of the assertion, or potentially
null
when using content assist.
Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.