Interface IPragma

All Superinterfaces:
org.eclipse.core.runtime.IAdaptable, ICElement, ISourceManipulation, ISourceReference

public interface IPragma extends ICElement, ISourceManipulation, ISourceReference
Represents a pragma statement.
Since:
7.3
Restriction:
This interface is not intended to be implemented by clients.
Restriction:
This interface is not intended to be extended by clients.
  • Method Details

    • isPragmaOperator

      boolean isPragmaOperator()
      Returns whether this uses the pragma operator syntax, e.g: _Pragma("once")
      Since:
      5.2
    • getPragmaMarkInfo

      Optional<IPragma.PragmaMarkInfo> getPragmaMarkInfo()
      Returns the PragmaMarkInfo if the pragma represents a #pragma mark or similar pragma that should be interpreted as such.
      Returns:
      Optional of the IPragma.PragmaMarkInfo