|
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 CsmFile
- All Superinterfaces:
- CsmIdentifiable<CsmFile>, CsmNamedElement, CsmObject, CsmScope, CsmValidable
public interface CsmFile
Represents a source file
Method Summary | |
---|---|
String |
getAbsolutePath()
Gets this file absolute path |
List<CsmOffsetableDeclaration> |
getDeclarations()
Sorted (by start offset) list of declarations in the file |
List<CsmInclude> |
getIncludes()
Sorted (by start offset) list of #include directives in the file |
List<CsmMacro> |
getMacros()
Sorted (by start offset) list of #define directives in the file |
CsmProject |
getProject()
Gets the project, to which the file belongs |
String |
getText()
Gets this file text |
String |
getText(int start,
int end)
Gets this file text |
boolean |
isHeaderFile()
returns true if file is header file. |
boolean |
isParsed()
Returns true if the file has been already parsed (i.e. |
boolean |
isSourceFile()
returns true if file is source file. |
void |
scheduleParsing(boolean wait)
|
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmNamedElement |
---|
getName |
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmScope |
---|
getScopeElements |
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmValidable |
---|
isValid |
Methods inherited from interface org.netbeans.modules.cnd.api.model.CsmIdentifiable |
---|
getUID |
Method Detail |
---|
getAbsolutePath
String getAbsolutePath()
- Gets this file absolute path
getProject
CsmProject getProject()
- Gets the project, to which the file belongs
getText
String getText()
- Gets this file text
getText
String getText(int start, int end)
- Gets this file text
getIncludes
List<CsmInclude> getIncludes()
- Sorted (by start offset) list of #include directives in the file
getDeclarations
List<CsmOffsetableDeclaration> getDeclarations()
- Sorted (by start offset) list of declarations in the file
getMacros
List<CsmMacro> getMacros()
- Sorted (by start offset) list of #define directives in the file
isParsed
boolean isParsed()
- Returns true if the file has been already parsed
(i.e. was parsed since last change),
otherwise false
scheduleParsing
void scheduleParsing(boolean wait) throws InterruptedException
- Throws:
InterruptedException
isSourceFile
boolean isSourceFile()
- returns true if file is source file.
isHeaderFile
boolean isHeaderFile()
- returns true if file is header file.
|
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.