|
org.netbeans.modules.cnd.api.model/1 1.3 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
org.netbeans.modules.cnd.api.model
Interface CsmVariable<T>
- All Superinterfaces:
- CsmDeclaration<T>, CsmIdentifiable<T>, CsmNamedElement, CsmObject, CsmOffsetable, CsmOffsetableDeclaration<T>, CsmQualifiedNamedElement, CsmScopeElement
- All Known Subinterfaces:
- CsmField, CsmParameter, CsmVariableDefinition
public interface CsmVariable<T>
Represents a variable
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.CsmDeclaration |
---|
CsmDeclaration.Kind |
Nested classes/interfaces inherited from interface org.netbeans.modules.cnd.api.model.CsmOffsetable |
---|
CsmOffsetable.Position |
Method Summary | |
---|---|
String |
getDeclarationText()
|
CsmVariableDefinition |
getDefinition()
Gets this (static) variable definition |
String |
getDisplayText()
Gets text as it is displayed to user. |
CsmExpression |
getInitialValue()
Gets this variable initial value |
CsmType |
getType()
Gets this variable type |
boolean |
isExtern()
|
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmDeclaration |
---|
getKind, getUniqueName |
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmQualifiedNamedElement |
---|
getQualifiedName |
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmNamedElement |
---|
getName |
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScopeElement |
---|
getScope |
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmIdentifiable |
---|
getUID |
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmOffsetable |
---|
getContainingFile, getEndOffset, getEndPosition, getStartOffset, getStartPosition, getText |
Method Detail |
---|
getType
CsmType getType()
- Gets this variable type
getInitialValue
CsmExpression getInitialValue()
- Gets this variable initial value
getDeclarationText
String getDeclarationText()
getDefinition
CsmVariableDefinition getDefinition()
- Gets this (static) variable definition
isExtern
boolean isExtern()
getDisplayText
String getDisplayText()
- Gets text as it is displayed to user.
It's necessary here especially for pointers to functions,
for which just typeName+' '+variableName does not work
TODO: move it to one of the ancestors?
|
org.netbeans.modules.cnd.api.model/1 1.3 1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Built on November 23 2007. | Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.