Home » Language IDEs » C / C++ IDE (CDT) » about CDT Parser
about CDT Parser [message #67488] |
Thu, 24 April 2003 19:29  |
Eclipse User |
|
|
|
Hello Folks,
I have some questions about CDT parser.
1. where is the directory of Parser source code?
Under CVS org.eclipse.cdt.core, there are 2 directories, Parser and
Src--org/eclipse/cdt/internal/core/parser
because the contents of source code under the two are difference, could
you tell me about them?
2. where is the Parser source code being used ?
Because the parser is part of the CDT compiler, as I understand, inside
CBuilder,
Process p = launcher.execute(makepath, userArgs, env, workingDirectory);
here, the builder is called, so, it is a seperate process, and Parser
will be in the compiler.
when I use MingW, the parser would be used in the MingW compiler, so, in
org.eclipse.cdt.core, the parser is for what? and where is it used?
Thank you very much!
QHmd.
|
|
| |
Re: about CDT Parser [message #67982 is a reply to message #67488] |
Wed, 30 April 2003 15:37  |
Eclipse User |
|
|
|
There are currently 2 parsers included in the HEAD/1_1 source tree.
org.eclipse.cdt.internal.core.parser is the new hand-coded parser which is
used in the Code Model, Compare feature and Outline View. This parser is
used by default.
the other parser is the old parser, which can be turned on through
Preferences --> C/C++.
the old parser is still available for support purposes only and will be
removed for the next release after 1.1.
JohnC
"Qhmd" <hmdeng6@yahoo.com> wrote in message
news:3EA87374.319E814C@yahoo.com...
> Hello Folks,
>
> I have some questions about CDT parser.
>
> 1. where is the directory of Parser source code?
> Under CVS org.eclipse.cdt.core, there are 2 directories, Parser and
> Src--org/eclipse/cdt/internal/core/parser
> because the contents of source code under the two are difference, could
> you tell me about them?
> 2. where is the Parser source code being used ?
> Because the parser is part of the CDT compiler, as I understand, inside
> CBuilder,
> Process p = launcher.execute(makepath, userArgs, env, workingDirectory);
>
> here, the builder is called, so, it is a seperate process, and Parser
> will be in the compiler.
> when I use MingW, the parser would be used in the MingW compiler, so, in
> org.eclipse.cdt.core, the parser is for what? and where is it used?
>
> Thank you very much!
>
> QHmd.
>
|
|
|
Goto Forum:
Current Time: Tue May 13 12:32:28 EDT 2025
Powered by FUDForum. Page generated in 0.03455 seconds
|