Eclipse CDT
7.0

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

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
IASTNode.CopyStyle
 
Field Summary
static ASTNodeProperty CONDITION
           
static ASTNodeProperty MESSAGE
           
 
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
 IASTExpression getCondition()
          Returns the condition of the assertion
 ICPPASTLiteralExpression getMessage()
          Returns the message of the assertion, or potentially null when using content assist.
 
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 Detail

CONDITION

static final ASTNodeProperty CONDITION

MESSAGE

static final ASTNodeProperty MESSAGE
Method Detail

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.


Eclipse CDT
7.0

Copyright (c) IBM Corp. and others 2004, 2012. All Rights Reserved.