Interface IASTPreprocessorIfStatement
- All Superinterfaces:
IASTNode, IASTPreprocessorStatement
This interface represent a preprocessor #if statement.
- 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 IASTNode
IASTNode.CopyStyle -
Field Summary
Fields inherited from interface IASTNode
EMPTY_NODE_ARRAYFields inherited from interface IASTPreprocessorStatement
MACRO_NAME -
Method Summary
Modifier and TypeMethodDescriptionchar[]The condition of the if.booleantaken()Was this branch taken?Methods inherited from interface IASTNode
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
-
Method Details
-
taken
boolean taken()Was this branch taken?- Returns:
- boolean
-
getCondition
char[] getCondition()The condition of the if.- Returns:
- the Condition
-