aboutsummaryrefslogtreecommitdiff
path: root/src/builder.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/builder.h')
-rw-r--r--src/builder.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/builder.h b/src/builder.h
index 529edc6..a6f88f4 100644
--- a/src/builder.h
+++ b/src/builder.h
@@ -11,6 +11,8 @@ class Function;
11class FunctionFactory; 11class FunctionFactory;
12class Perform; 12class Perform;
13class PerformFactory; 13class PerformFactory;
14class Target;
15class TargetFactory;
14 16
15#define YY_DECL int yylex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, Builder &bld ) 17#define YY_DECL int yylex( YYSTYPE *yylval_param, YYLTYPE *yylloc_param, Builder &bld )
16YY_DECL; 18YY_DECL;
@@ -28,13 +30,19 @@ public:
28 30
29 void load( const std::string &sFile ); 31 void load( const std::string &sFile );
30 32
31 int getTargetType( const char *sType );
32 33
33private: 34private:
34 std::string file; 35 std::string file;
35 void scanBegin(); 36 void scanBegin();
36 void scanEnd(); 37 void scanEnd();
37 38
39public: // Target functions
40 bool isTarget( const char *sType );
41
42private: // Target variables
43 Target *pTmpTarget;
44 TargetFactory &fTarget;
45
38public: // Function functions 46public: // Function functions
39 bool isFunction( const char *sFunc ); 47 bool isFunction( const char *sFunc );
40 void newFunctionCall( const char *sName ); 48 void newFunctionCall( const char *sName );