Source-Navigator does not invoke a compiler to build its databases; instead, it has a plug-in parser for each language it supports. For details on how to add plug-in parsers to Source-Navigator, see The Parser Toolbox Library.
Source-Navigator was designed to support not only the most common software development languages, but to support them together. With Source-Navigator you can follow references from a C++ method to a FORTRAN subroutine, and even to assembly language. To accomplish this task efficiently, Source-Navigator shares terms between multiple languages, even when the languages are defined in different terms.
For example, a C struct is represented in Source-Navigator as a class; there is no separate struct type for C. By unifying these terms, Source-Navigator greatly simplifies both the task of multi-language code comprehension and its own internal organization.
This parser understands C++, K&R C, and ANSI C languages, including the pre-processor directives. Pre-processing is not necessary to parse C or C++ source code. During project creation a default include search path is created that has the same role as the -I option for the C pre-processor. The include search path can be modified during project creation or from the File menu by selecting Project Preferences -> Include.
The FORTRAN parser understands the FORTRAN 77 syntax, plus extensions such as record, structure, and include. The usual FORTRAN extensions are understood by the parser as well. The include search path has the same role as the -I option for the C pre-processor. The include search path can be modified during project creation or from the File menu by selecting Project Preferences -> Include.
The FORTRAN structure declaration is mapped by the tools to a class. Structure members are treated as instance variables.
The COBOL parser understands these dialects: ANSI '74 Standard, ANSI '85 Standard (ANSI X3.23-1985), IBM OS/VS COBOL, IBM VS COBOL II, IBM SAA COBOL/370, IBM DOSVS COBOL, X/Open, and Micro Focus COBOL.
The Tcl parser understands all versions of Tcl/Tk through version 8.1. In addition, it understands [incr Tcl] versions 1.5 and 2.x.
The Java parser understands Java 1.0.
The PowerPC assembly parser understands model number 601 assembly language.
The empty areas of Type Definitions for Supported Languages represent types that don't exist in each language.
Instance |
Instance |
|||||
1. In C and C++. Return to text.
2. In C and C++. Return to text.
3. In Java. Return to text.
4. For structure members. Return to text.
5. For structure members. Return to text.