Eclipse CDT
Pre-release 3.0

org.eclipse.cdt.core.dom.ast.gnu.cpp
Interface IGPPASTDeclSpecifier

All Superinterfaces:
IASTDeclSpecifier, IASTNode
All Known Subinterfaces:
IGPPASTSimpleDeclSpecifier

public interface IGPPASTDeclSpecifier
extends IASTDeclSpecifier

G++ allows for restrict to be a modifier for the decl spec.


Field Summary
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier
sc_auto, sc_extern, sc_last, sc_register, sc_static, sc_typedef, sc_unspecified
 
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
EMPTY_NODE_ARRAY
 
Method Summary
 boolean isRestrict()
          Was restrict keyword encountered?
 void setRestrict(boolean value)
          Set restrict-modifier-encountered to value.
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTDeclSpecifier
getRawSignature, getStorageClass, isConst, isInline, isVolatile, setConst, setInline, setStorageClass, setVolatile
 
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IASTNode
accept, getContainingFilename, getFileLocation, getNodeLocations, getParent, getPropertyInParent, getTranslationUnit, setParent, setPropertyInParent
 

Method Detail

isRestrict

boolean isRestrict()
Was restrict keyword encountered?

Returns:
boolean

setRestrict

void setRestrict(boolean value)
Set restrict-modifier-encountered to value.

Parameters:
value - boolean

Eclipse CDT
Pre-release 3.0

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