Outline

Ahhhh, I feel too tired to clearly articulate myself right now. I think I’m going to have to finish this tomorrow morning. I need to stop working/blogging so late- I’m really much more in my element in the morning… Like Cinderella’s coach, my brain turns into a pumpkin past midnight- which makes my time commitment from 7-11pm M T TH a little inconvenient ><
Plan details
Stage 1:

Picking up comments
in cscanner.c at case SWIG_TOKEN_COMMENT:
(around line 420 in my version)
3 types of tokens will be returned
-for standard doxygen blobs (aka /** or ///, //! etc) DOXYGENSTRING

-for post comments suchas /**< ///< etc (which are associated with the last thing encountered, see “Putting comments after members” at http://www.stack.nl/~dimitri/doxygen/docblocks.html for more info) DOXYGENPOSTCOMMENT

-for normal C/C++ comments CSTYLECOMMENT

Stage 2:
Attachment into the parse tree
in parser.y

General Doxygen Comments:
there are a few difficulties here- one being that occasionally comments exist independent of the location of the object they describe- they contain structural indicators:

\struct to document a C-struct.
\union to document a union.
\enum to document an enumeration type.
\fn to document a function.
\var to document a variable or typedef or enum value.
\def to document a #define.
\typedef to document a type definition.
\file to document a file.
\namespace to document a namespace.
\package to document a Java package.
\interface to document an IDL interface.

The best possible way, in my opinion, to deal with these is to make them their own nodes. It seems like it is standard to put any structural commands as the first command in a blob- so :
incoming doxygen strings are scanned until the first command is encountered, then the command is tested to see if it belongs to this small list. If it does belong, a new NODE is created with only an attribute named something like structuralDoxygenComment, containing the Doxygen Blob. (is making new node okay to do?)

Otherwise it is handled per usual- currentDoxygenComment would be set to the comment, and when a new node is formed the Doxygen Comment is attached as an attribute.

Post Comments would be added to the previous node by appending them to whatever existing (or not existing) doxygen comment entity may be an attribute in the node. The previous node would be kept track of by a global pointer.

C/C++ Comments are tricky.. because there are two ways that are common to comment:
//Function foo
int foo();

or int foo(); //the function foo
I’m not sure how to distinguish between the two >.< It doesn’t seem like it would be efficient to make every little C/C++ comment its own node, but I’m also not sure how to get it to associate C/C++ comments with the proper object given the ambiguity of C/C++ comments.

In general, by that point all “Traditional” and post-comments that are describing the same element should be in the same “blob” passed to my module- so they would be processed “together” by my blob-translating module.
My thoughts on SWIG directives are now too fuzzy to explain before I’ve slept >< Reguardless, the end result should be that my separate module doesn’t have to do anything more than translate what its given- and thus the language modules should only need to pass the blobs to translate where appropriate. The less I have to fiddle with the individual language modules, the better, I believe

Rest of this will be tomorrow! Manyana Manyana Manyana.
Extra thanks to Olly for informing me all of my post titles were based around the wrong month :-) Oops…

Comments

wow gold

World of Warcraftwow gold,wow gold,wow gold,power leveling wow gold,wow power levelingisan online role-playing experience set in the award-winninguniverse. wow gold,wow gold,WoW Goldadventure,and quest across a vast world. is a “Massively Multiplayer Online Role Playing Game” WoW Gold,wow gold,wow power leveling.wow power levelingwhich allows thousands of players to interact within the same world.Whether adventuring together or fighting against each other in epic battlesplayers will form friendships, wow power leveling,wow power leveling,wow power leveling,wow powerlevelingforge alliances,wow power leveling,wow power levelingand compete with enemies for power leveling and glory.wow gold,wow gold,wow gold,wow gold,wow gold,wow gold,buy wow gold As a wow power leveling online game, enables thousands of players to come together online and battle against theand each other. Cheap WoW Gold,Cheap WoW Gold,cheap wow gold,cheap wow gold,World Of Warcraft gold,Players from across the cheap wow gold,buy wow gold,globe can leave the real world behind and undertake grand quests and heroic exploits in a land of fantastic adventure. world of warcraft gold,world of warcraft gold,world of warcraft gold,Unlike other cheap opponents. Below are some featuresage of conan gold,aoc gold, age of conan gold,aoc gold, age of conan gold,aoc gold,aoc power leveling,cheap aoc gold,buy aoc gold,aoc power level, found in wow powerleveling world of warcraft gold,world of warcraft gold,world of warcraft gold,Unlike other cheap opponents. Below are some featuresaoc gold,age of conan gold,aoc gold, age of conan gold,aoc gold, age of conan gold,aoc gold,aoc power leveling,cheap aoc gold,buy aoc gold,aoc power level, found in wow powerlevelingoil purifier,world of warcraft power leveling,warcraft power leveling,world of warcraft power leveling,warcraft power leveling,ffxi gil,World of warcraft power leveling,ffxi gil,ffxi gil,ffxi gil,ffxi gil,final fantasy xi gil,final fantasy xi gil,final fantasy xi gil,final fantasy xi gil,cheap world of warcraft gold,warcraft gold,cheap world of warcraft gold,warcraft gold,guildwars gold,guildwars gold,guild wars gold,guild wars gold,lotro gold,lotro gold,lotr gold,lotr gold,maplestory mesos,maplestory mesos,maplestory mesos,maplestory mesos, maple story mesos,maple story mesos,maple story mesos,maple story mesos,jewelry store,
Maple Story mesos,MapleStory mesos,ms mesos,mesos,SilkRoad Gold,SRO Gold,SilkRoad Online Gold,eq2 plat,eq2 gold,eq2 Platinum,EverQuest 2 Platinum,EverQuest 2 gold,EverQuest 2 plat,lotro gold,lotr gold,Lord of the Rings online Gold,rolex replica,replica rolex,maplestory mesos,maple story mesos,runescape gold,runescape money,rs2 powerleveling,archlord gold,lineage2 adena,Lineage2 powerleveling,lotro powerleveling,chongqing,yantai,aoc gold,age of conan gold,aoc gold, age of conan gold,aoc gold, age of conan gold,aoc gold,aoc power leveling,cheap aoc gold,buy aoc gold,aoc power level,evening dresses,evening gowns,wedding dresses,bridal gowns,wedding gowns,cocktail dresses,Bridesmaid dresses,prom dresses,formal dresses,Chinese Tea,Green Tea,China Tea,Black tea,Oolong Tea,White tea,Herbal Tea,Jasmine tea,Chinese TeaGreen Tea,出国留学,英国留学,留学英国,礼品公司,商务礼品,礼品采购,礼品,网球场,wow cd key,world of warcraft cd key,aoc gold,age of conan gold,promotional products,promotional items,flashlight,环氧地坪,wow gold,wow gold,wow gold,wow gold,wow gold,wow gold,wow gold,wow gold,wow gold,wow power leveling,wow power leveling,wow power leveling,wow power leveling,wow power leveling,wow power leveling,wow gold,world of warcraft power leveling,world of warcraft power leveling,buy aoc gold,cheap aoc gold,aoc gold,age of conan gold,age of conan power leveling,wow gold, wow gold,wow gold, wow gold,wow gold,wow gold, wow gold,wow gold,wow powerleveling,Childrens Clothes,Childrens clothing,Baby Clothing,Baby Clothes,newborn clothes,infant clothes,boys clothes,boys clothing,girls clothing,girls clothes,baby boy clothes,baby boy clothing,baby girl clothes,baby girl clothing,wow power level,wow power level,wow power level

http://www.mmoinn.com

Warcraft is a natural role to play when you are at the beginning of the mainstream, with experience of accompanying equipment is trouble. Players often have to buy wow gold the cost and trouble. Now, with Mmoinn.com, on worries vanish, and we give you cheapest wow gold , in the trade mmoinn safe and fast . You can also find the Gold Coast in the vicinity of wow power leveling .