parsing c++ declarations

Discussion in 'C++' started by jeff@harriscomputersolutions.com, Apr 6, 2006.

  1. Guest

    I need to write a small program that will take a C++ prototype and
    output the return type, function name, and all the parameter
    types/names. Does anyone know of a tool that does this or what the
    best approach (ie yacc/lex, perl, etc) is for accomplishing this?

    Thanks,
    Jeff
     
    , Apr 6, 2006
    #1
    1. Advertising

  2. wrote:
    > I need to write a small program that will take a C++ prototype and
    > output the return type, function name, and all the parameter
    > types/names. Does anyone know of a tool that does this or what the
    > best approach (ie yacc/lex, perl, etc) is for accomplishing this?


    Doxygen?
     
    Victor Bazarov, Apr 6, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. GIMME
    Replies:
    2
    Views:
    877
    GIMME
    Feb 11, 2004
  2. Naren
    Replies:
    0
    Views:
    585
    Naren
    May 11, 2004
  3. Arthur J. O'Dwyer

    Parsing C declarations [savestruct]

    Arthur J. O'Dwyer, Oct 1, 2003, in forum: C Programming
    Replies:
    14
    Views:
    536
    Mike Wahler
    Oct 12, 2003
  4. Christopher Diggins
    Replies:
    0
    Views:
    612
    Christopher Diggins
    Jul 9, 2007
  5. Christopher Diggins
    Replies:
    0
    Views:
    439
    Christopher Diggins
    Jul 9, 2007
Loading...

Share This Page