Eclipse CDT
7.0

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

All Superinterfaces:
IASTNode, IASTPreprocessorStatement

public interface IASTPreprocessorPragmaStatement
extends IASTPreprocessorStatement

Represents a #pragma directive or a pragma operator.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
IASTNode.CopyStyle
 
Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTPreprocessorStatement
MACRO_NAME
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 char[] getMessage()
          Returns the pragma message.
 boolean isPragmaOperator()
          Returns whether this uses the pragma operator syntax, e.g: _Pragma("once")
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, contains, copy, copy, getChildren, getContainingFilename, getFileLocation, getLeadingSyntax, getNodeLocations, getOriginalNode, getParent, getPropertyInParent, getRawSignature, getSyntax, getTrailingSyntax, getTranslationUnit, isActive, isFrozen, isPartOfTranslationUnitFile, setParent, setPropertyInParent
 

Method Detail

getMessage

char[] getMessage()
Returns the pragma message.


isPragmaOperator

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

Since:
5.2

Eclipse CDT
7.0

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