new feaure needed for classviewer/class store for scripting languages.

luc willems Willems.luc at pandora.be
Sat Mar 29 19:52:06 UTC 2003


	hello all,

For scripting language , it would be good to have a "scripts" folder in the classviewer that includes a list of all scripts in that project
(same as global functions and variables).

This is needed for perl support to include all scripts off a project and  for each scripts , a list of functions in this script.

For this i was thinking for following :

-  add additional functionalities in KdevLanguage :
    enum Features {
         Classes=1, Structs=2, Functions=4, Variables=8,
         Namespaces=16, Signals=32, Slots=64, Declarations=128,   /* features of the language itself       */
         NewClass=512, AddMethod=1024, AddAttribute=2048,         /* features of the language support part */
         Scripts=4096, NewScript=8192                                                /* features for scripting support (perl) */
    };

-  add a folder "scripts" if the script Feature is enabled. There , a list of all scripts in the current project (added by addScript()) will exist
-  add the supporting classes like ParsedScript . a script can have an functions list and optional a list of included files ( perl "use ....")
-  add methods to support adding and showing this ParsedScript classes like we now have for classes,methods,....

My question for the community :

	- any remarks , further ideas
	- who can support me with adding this features in the classtore and classviewer ?

of course , this can be reused for other scripting languages.

	luc

	






More information about the KDevelop-devel mailing list