Re: [Introspector-developers] CVS update n3 parsing running, generation 4 is starting
Status: Beta
Brought to you by:
mdupont
|
From: James M. D. <mdu...@ya...> - 2002-12-15 13:14:13
|
--- James Michael DuPont <mdu...@ya...> wrote:
> I added some functions to the node classes, manually for now,
> later they will be added to the createclasses.pm
>
> you will see them like this :
> introspector/node_record_type.pm
> if you test this, and notice other fields missing,
> please add them in like this :
>
> introspector-cvs/introspector/node_record_type.pm
Ok, well forget that,
just update the CreateClasses.pm and
then re-run intrspctr.pl
here are my additions for c++, for now :
just add in the cpp stuff here, if you want to do java, then
you need to create a new sub and call it.
##############################
sub cpp_types
{
my $repository = shift;
AddClass($repository,'eh_spec_block'); #
the class called ids
AddField($repository,
'eh_spec_block',
'body',
TypeRef($repository,'stmt')
); # the body of the function
AddInheritance($repository,"eh_spec_block","stmt"); # this is a
type of statement
AddField($repository,'record_type','fncs',
TypeRef($repository,'base') ); # the functions of the class ::TODO
figure out the types
AddField($repository, 'record_type', 'vfld',
TypeRef($repository,'base') ); # the vtable of the class ::TODO
figure out the types
AddField($repository, 'field_decl', 'mngl',
TypeRef($repository,'base') ); # the vtable of the class ::TODO
figure out the types
AddField($repository, 'type', 'const', TypeRef($repository,'base')
); # the vtable of the class ::TODO figure out the types
}
mike
=====
James Michael DuPont
http://introspector.sourceforge.net/
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
|