Interface IASTPreprocessorIfdefStatement

All Superinterfaces:
IASTNode, IASTPreprocessorStatement

public interface IASTPreprocessorIfdefStatement extends IASTPreprocessorStatement
This interface represent a preprocessor #ifdef statement.
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Method Details

    • taken

      boolean taken()
      Returns whether this branch was taken.
    • getCondition

      char[] getCondition()
      The condition of the ifdef-statement.
      Returns:
      the condition
    • getMacroReference

      IASTName getMacroReference()
      Returns the macro reference, or null if the macro does not exist.