public interface IVariable extends IBinding
Modifier and Type | Field and Description |
---|---|
static IVariable[] |
EMPTY_VARIABLE_ARRAY |
EMPTY_BINDING_ARRAY
Modifier and Type | Method and Description |
---|---|
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.
|
getLinkage, getName, getNameCharArray, getOwner, getScope
static final IVariable[] EMPTY_VARIABLE_ARRAY
IType getType()
IValue getInitialValue()
null
otherwise.boolean isStatic()
boolean isExtern()
boolean isAuto()
boolean isRegister()
Copyright (c) IBM Corp. and others 2004, 2014. All Rights Reserved.