|
Eclipse CDT 7.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 | |
---|---|
static IVariable[] |
EMPTY_VARIABLE_ARRAY
|
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 |
Field Detail |
---|
static final IVariable[] EMPTY_VARIABLE_ARRAY
Method Detail |
---|
IType getType()
IValue getInitialValue()
null
otherwise.
boolean isStatic()
boolean isExtern()
boolean isAuto()
boolean isRegister()
|
Eclipse CDT 7.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |