|
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 CsmOffsetable
- All Superinterfaces:
- CsmObject
- All Known Subinterfaces:
- CsmCaseStatement, CsmClass, CsmClassForwardDeclaration, CsmCompoundClassifier<T>, CsmCompoundStatement, CsmCondition, CsmConstructor, CsmDeclarationStatement, CsmEnum, CsmEnumerator, CsmExceptionHandler, CsmExpression, CsmExpressionStatement, CsmField, CsmForStatement, CsmFriend<T>, CsmFriendClass, CsmFriendFunction, CsmFunction<T>, CsmFunctionDefinition<T>, CsmGotoStatement, CsmIfStatement, CsmInclude, CsmInheritance, CsmLabel, CsmLoopStatement, CsmMacro, CsmMember<T>, CsmMethod<T>, CsmNamespaceAlias, CsmNamespaceDefinition, CsmOffsetableDeclaration<T>, CsmParameter, CsmReturnStatement, CsmStatement, CsmTryCatchStatement, CsmType, CsmTypedef, CsmUsingDeclaration, CsmUsingDirective, CsmVariable<T>, CsmVariableDefinition
public interface CsmOffsetable
An object, which has correspondent file and a pair of offsets (start and end)
Nested Class Summary | |
---|---|
static interface |
CsmOffsetable.Position
|
Method Summary | |
---|---|
CsmFile |
getContainingFile()
gets the file, which contains the given object |
int |
getEndOffset()
gets the offset of the character, following by the last character of the object |
CsmOffsetable.Position |
getEndPosition()
gets the position of the character, following by the last character of the object |
int |
getStartOffset()
gets the offset of the 1-st character of the object |
CsmOffsetable.Position |
getStartPosition()
gets the position of the 1-st character of the object |
String |
getText()
gets this object's text |
Method Detail |
---|
getContainingFile
CsmFile getContainingFile()
- gets the file, which contains the given object
getStartOffset
int getStartOffset()
- gets the offset of the 1-st character of the object
getEndOffset
int getEndOffset()
- gets the offset of the character, following by the last character of the object
getStartPosition
CsmOffsetable.Position getStartPosition()
- gets the position of the 1-st character of the object
getEndPosition
CsmOffsetable.Position getEndPosition()
- gets the position of the character, following by the last character of the object
getText
String getText()
- gets this object's text
|
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.