diff options
Diffstat (limited to 'src/builder.h')
-rw-r--r-- | src/builder.h | 10 |
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; | |||
11 | class FunctionFactory; | 11 | class FunctionFactory; |
12 | class Perform; | 12 | class Perform; |
13 | class PerformFactory; | 13 | class PerformFactory; |
14 | class Target; | ||
15 | class 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 ) |
16 | YY_DECL; | 18 | YY_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 | ||
33 | private: | 34 | private: |
34 | std::string file; | 35 | std::string file; |
35 | void scanBegin(); | 36 | void scanBegin(); |
36 | void scanEnd(); | 37 | void scanEnd(); |
37 | 38 | ||
39 | public: // Target functions | ||
40 | bool isTarget( const char *sType ); | ||
41 | |||
42 | private: // Target variables | ||
43 | Target *pTmpTarget; | ||
44 | TargetFactory &fTarget; | ||
45 | |||
38 | public: // Function functions | 46 | public: // 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 ); |