|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IVariable
Interface for all sorts of variables: local, parameter, global, field.
Field Summary |
---|
Fields inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
EMPTY_BINDING_ARRAY |
Method Summary | |
---|---|
IValue |
getInitialValue()
Returns the value for a variable with an initializer, or null otherwise. |
IType |
getType()
Returns the type of the variable |
boolean |
isAuto()
Returns whether this variable is an automatic variable. |
boolean |
isExtern()
Returns whether this variable is declared extern. |
boolean |
isRegister()
Returns whether this variable is declared register. |
boolean |
isStatic()
Returns whether this variable is declared static. |
Methods inherited from interface org.eclipse.cdt.core.dom.ast.IBinding |
---|
getLinkage, getName, getNameCharArray, getOwner, getScope |
Method Detail |
---|
IType getType() throws DOMException
DOMException
IValue getInitialValue()
null
otherwise.
boolean isStatic() throws DOMException
DOMException
boolean isExtern() throws DOMException
DOMException
boolean isAuto() throws DOMException
DOMException
boolean isRegister() throws DOMException
DOMException
|
Eclipse CDT Pre-release 3.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |