Package org.eclipse.cdt.core
Interface IBinaryParser.ISymbol
- All Superinterfaces:
Comparable<Object>
- All Known Implementing Classes:
GNUPESymbol64
,GNUSymbol
,SomSymbol
,Symbol
,XCoffSymbol
- Enclosing interface:
IBinaryParser
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionAddress of the symbolReturn the binary object this symbol is from.int
End line number of the symbol in the sourceorg.eclipse.core.runtime.IPath
Source filename of the symbol.int
getLineNumber
(long offset) Line number corresponding to the address offset.getName()
Name of the Symbollong
getSize()
Size of the symbol.int
Start linenumber of the symbol in the sourceint
getType()
Type of the symbolMethods inherited from interface java.lang.Comparable
compareTo
-
Field Details
-
FUNCTION
static final int FUNCTIONSymbol is type function.- See Also:
-
VARIABLE
static final int VARIABLESymbol is type variable- See Also:
-
-
Method Details
-
getName
String getName()Name of the Symbol -
getAddress
IAddress getAddress()Address of the symbol -
getSize
long getSize()Size of the symbol. -
getStartLine
int getStartLine()Start linenumber of the symbol in the source -
getEndLine
int getEndLine()End line number of the symbol in the source -
getFilename
org.eclipse.core.runtime.IPath getFilename()Source filename of the symbol. -
getType
int getType()Type of the symbol -
getLineNumber
int getLineNumber(long offset) Line number corresponding to the address offset.- Parameters:
offset
-
-
getBinaryObject
IBinaryParser.IBinaryObject getBinaryObject()Return the binary object this symbol is from.
-