dougm       01/03/15 18:30:47

  Added:       lib/Apache SourceTables.pm
  Log:
  module to include the generated source tables and build hash versions of each
  
  Revision  Changes    Path
  1.1                  modperl-2.0/lib/Apache/SourceTables.pm
  
  Index: SourceTables.pm
  ===================================================================
  package Apache::SourceTables;
  
  use Apache::StructureTable ();
  use Apache::FunctionTable ();
  
  #build hash versions of the tables
  %Apache::StructureTable =
    map { $_->{type}, $_->{elts} } @$Apache::StructureTable;
  
  %Apache::FunctionTable =
    map { $_->{name}, {elts => $_->{elts},
                       return_type => $_->{return_type} } }
            @$Apache::FunctionTable;
  
  1;
  __END__
  
  
  

Reply via email to