Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast
Interface IASTPreprocessorIfdefStatement

All Superinterfaces:
IASTNode, IASTPreprocessorStatement

public interface IASTPreprocessorIfdefStatement
extends IASTPreprocessorStatement

This interface represent a preprocessor #ifdef statement.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 char[] getCondition()
          The condition of the ifdef.
 boolean taken()
          Was this #ifdef branch taken?
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, contains, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getRawSignature, getTranslationUnit, setParent, setPropertyInParent
 

Method Detail

taken

public boolean taken()
Was this #ifdef branch taken?

Returns:

getCondition

public char[] getCondition()
The condition of the ifdef.

Returns:
the Condition

Eclipse CDT
Pre-release 3.0

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