File: parser.h

package info (click to toggle)
kascade 1.0-beta10-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 964 kB
  • ctags: 815
  • sloc: cpp: 7,780; makefile: 39
file content (22 lines) | stat: -rw-r--r-- 677 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#include <string>
#include <vector>
#include <fstream>
using namespace std;

class Category;

Category *parseDIIFile( string );
Category *processDIIFile( string );
int parseHeader( string, Category * );
void preprocess( );
int parseRecursive( int, Category *, string & );
int checkOptions( string &, Category *, int );
string getLine( );
int closingLine( string & ); 
int takeTo( const string &, string &, string & );
void sortOwnerSpec( Category *, string );
string macroExpand( string );
void insertHeaderInfo( Category *, Category * );
int parseTarget( string &, Category * );
int setCategoryFlags( Category * );
void checkMultipleSlashes( string & );