Details of interdependant identifiers appearing in the workspace.
Field name | Field type | Value description |
---|---|---|
EID | INTEGER | Unique identifier key |
NAME | CHARACTER VARYING | Identifier name |
READONLY | BOOLEAN | True if it appears in at least one read-only file |
UNDEFMACRO | BOOLEAN | True if it is apparantly an undefined macro |
MACRO | BOOLEAN | True if it a preprocessor macro |
MACROARG | BOOLEAN | True if it a preprocessor macro argument |
ORDINARY | BOOLEAN | True if it is an ordinary identifier (variable or function) |
SUETAG | BOOLEAN | True if it is a structure, union, or enumeration tag |
SUMEMBER | BOOLEAN | True if it is a structure or union member |
LABEL | BOOLEAN | True if it is a label |
TYPEDEF | BOOLEAN | True if it is a typedef |
ENUM | BOOLEAN | True if it is an enumeration member |
FUN | BOOLEAN | True if it is a function name |
CSCOPE | BOOLEAN | True if its scope is a compilation unit |
LSCOPE | BOOLEAN | True if it has linkage scope |
UNUSED | BOOLEAN | True if it is not used |
Instances of identifier tokens within the source code.
Field name | Field type | Value description |
---|---|---|
FID | INTEGER | File key (references FILES) |
FOFFSET | INTEGER | Offset within the file |
EID | INTEGER | Identifier key (references IDS) |
Comments in the code.
Field name | Field type | Value description |
---|---|---|
FID | INTEGER | File key (references FILES) |
FOFFSET | INTEGER | Offset within the file |
COMMENT | CHARACTER VARYING | The comment, including its delimiters |
Strings in the code.
Field name | Field type | Value description |
---|---|---|
FID | INTEGER | File key (references FILES) |
FOFFSET | INTEGER | Offset within the file |
STRING | CHARACTER VARYING | The string, including its delimiters |
Remaining, non-identifier source code.
Field name | Field type | Value description |
---|---|---|
FID | INTEGER | File key (references FILES) |
FOFFSET | INTEGER | Offset within the file |
CODE | CHARACTER VARYING | The actual code |
Line number offsets within each file.
Field name | Field type | Value description |
---|---|---|
FID | INTEGER | File key (references FILES) |
FOFFSET | INTEGER | Offset within the file |
LNUM | INTEGER | Line number (starts at 1) |
Project details.
Field name | Field type | Value description |
---|---|---|
PID | INTEGER | Unique project key |
NAME | CHARACTER VARYING | Project name |
Identifiers appearing in projects.
Field name | Field type | Value description |
---|---|---|
EID | INTEGER | Identifier key (references IDS) |
PID | INTEGER | Project key (references PROJECTS) |
File details.
Field name | Field type | Value description |
---|---|---|
FID | INTEGER | Unique file key |
NAME | CHARACTER VARYING | File name |
RO | BOOLEAN | True if the file is read-only |
NCHAR | INTEGER | Size in characters |
NLCOMMENT | INTEGER | Number of line comments |
NBCOMMENT | INTEGER | Number of block comments |
NLINE | INTEGER | Number of lines |
MAXLINELEN | INTEGER | Maximum line length |
NCCOMMENT | INTEGER | Number of comment characters |
NSPACE | INTEGER | Number of spaces |
NFUNCTION | INTEGER | Number of functions |
NPPDIRECTIVE | INTEGER | Number of C preprocessor directives |
NINCFILE | INTEGER | Number of included files |
NSTATEMENT | INTEGER | Number of C statements |
NSTRING | INTEGER | Number of strings |
Files used in projects.
Field name | Field type | Value description |
---|---|---|
FID | INTEGER | File key (references FILES) |
PID | INTEGER | Project key (references PROJECTS) |
Included files defining required elements for a given compilation unit and project.
Field name | Field type | Value description |
---|---|---|
PID | INTEGER | Project key (references PROJECTS) |
CUID | INTEGER | Compilation unit key (references FILES) |
BASEFILEID | INTEGER | File (often .c) requiring (using) a definition (references FILES) |
DEFINERID | INTEGER | File (often .h) providing a definition (references FILES) |
Included files including required files for a given compilation unit and project.
Field name | Field type | Value description |
---|---|---|
PID | INTEGER | Project key (references PROJECTS) |
CUID | INTEGER | Compilation unit key (references FILES) |
BASEFILEID | INTEGER | File included in the compilation (references FILES) |
INCLUDERID | INTEGER | Files that include it (references FILES) |
Included files providing code or data for a given compilation unit and project.
Field name | Field type | Value description |
---|---|---|
PID | INTEGER | Project key (references PROJECTS) |
CUID | INTEGER | Compilation unit key (references FILES) |
PROVIDERID | INTEGER | Included file (references FILES) |
Included files defining required elements for a given compilation unit and project.
Field name | Field type | Value description |
---|---|---|
PID | INTEGER | Project key (references PROJECTS) |
CUID | INTEGER | Compilation unit key (references FILES) |
BASEFILEID | INTEGER | File requiring a definition (references FILES) |
DEFINERID | INTEGER | File providing a definition (references FILES) |
FOFFSET | INTEGER | Definition's offset within the providing file |
LEN | INTEGER | Token's length |
C functions and function-like macros.
Field name | Field type | Value description |
---|---|---|
ID | INTEGER | Unique function identifier |
NAME | CHARACTER VARYING | Function name (redundant; see FUNCTIONID) |
ISMACRO | BOOLEAN | True if a function-like macro (otherwise a C function) |
DEFINED | BOOLEAN | True if the function is defined within the workspace |
DECLARED | BOOLEAN | True if the function is declared within the workspace |
FILESCOPED | BOOLEAN | True if the function's scope is a single compilation unit (static or macro) |
FID | INTEGER | File key of the function's definition, declaration, or use (references FILES) |
FOFFSET | INTEGER | Offset of definition, declaration, or use within the file |
Identifiers comprising a function's name.
Field name | Field type | Value description |
---|---|---|
FUNCTIONID | INTEGER | Function identifier key (references FUNCTIONS) |
ORDINAL | INTEGER | Position of the identifier within the function name (0-based) |
EID | INTEGER | Identifier key (references IDS) |
Function calls.
Field name | Field type | Value description |
---|---|---|
SOURCEID | INTEGER | Calling function identifier key (references FUNCTIONS) |
DESTID | INTEGER | Called function identifier key (references FUNCTIONS) |
Files occuring in more than one copy.
Field name | Field type | Value description |
---|---|---|
GROUPID | INTEGER | Unique file group identifier |
FID | INTEGER | Key of file belonging to a group of identical files (references FILES) |
Contents | « Previous Next (Examples of SQL Queries) » |