[cedet-semantic] wisent/semantic question for new language
Brought to you by:
zappo
From: DaveS <da...@te...> - 2003-11-15 21:12:24
|
After several late night sessions and some help this list I now have the first draft of a working wisent tag parser for C#. ECB shows classes, structs, methods, and other goodies. It works fairly well right now, but I do have a few more things I need to sort out. (cedet-1.0beta1c) I currently tag all the types variables and methods which does the trick for ECB. Is their any reason use CODE-TAG? I'm not clear what it's for. I'm not parsing the function bodies at this point. I'm assuming that the senator completion mechanism will require that I tag all the local variable definitions so it can identify the types. Do I have to do anything special to get this to work? C# adds a new protection symbol "internal". Is there any way to register a symbol (+#-) for this so it doesn't get a blank symbol. I've got auto-parse mode on but show-unmatched-syntax only seems to add or remove the red underline when I save the buffer. Is there any extra mode setup I have to do to get this to update while editing? semantic-highlight-by-attribute-mode seems to cause some problems. In the following code block the entire method definition gets an overline, all the way to the closing brace. struct Thing { private int GetOne() { return one; } } I'm sure I'll have more questions as I keep going, but I appreciate the help. Thanx. -- DS |