aboutsummaryrefslogtreecommitdiff
path: root/src/runner.h
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2012-11-08 22:58:28 +0000
committerMike Buland <eichlan@xagasoft.com>2012-11-08 22:58:28 +0000
commit52be1ef0d126f09ba943c7afcf367e7d9347f2fd (patch)
treefd4b0dd148751c3c6c1b95296c3b82cb86051b83 /src/runner.h
parent795d0737fed40d88a7801b451b7750ba90802345 (diff)
downloadbuild-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.gz
build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.bz2
build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.tar.xz
build-52be1ef0d126f09ba943c7afcf367e7d9347f2fd.zip
tabconv: it's all spaces now.
Diffstat (limited to 'src/runner.h')
-rw-r--r--src/runner.h52
1 files changed, 26 insertions, 26 deletions
diff --git a/src/runner.h b/src/runner.h
index 0efcb44..59f1703 100644
--- a/src/runner.h
+++ b/src/runner.h
@@ -6,38 +6,38 @@
6class Runner 6class Runner
7{ 7{
8public: 8public:
9 Runner( class Ast &rAst, class Context &rCont ); 9 Runner( class Ast &rAst, class Context &rCont );
10 virtual ~Runner(); 10 virtual ~Runner();
11 11
12 /** 12 /**
13 * Run through and pull out all of the functions. Maybe more later. 13 * Run through and pull out all of the functions. Maybe more later.
14 */ 14 */
15 void initialize(); 15 void initialize();
16 class Variable execExpr( AstBranch::NodeList::const_iterator e ); 16 class Variable execExpr( AstBranch::NodeList::const_iterator e );
17 class Variable execExpr( AstBranch::NodeList::const_iterator e, 17 class Variable execExpr( AstBranch::NodeList::const_iterator e,
18 const class Variable &vIn ); 18 const class Variable &vIn );
19 void run(); 19 void run();
20 Variable run( AstBranch::NodeList::const_iterator n ); 20 Variable run( AstBranch::NodeList::const_iterator n );
21 class Variable execFunc( const class AstBranch *pFunc, 21 class Variable execFunc( const class AstBranch *pFunc,
22 class Variable &vIn ); 22 class Variable &vIn );
23 void execProfile( class Target *pTarget, const Bu::String &sProfile ); 23 void execProfile( class Target *pTarget, const Bu::String &sProfile );
24 void execAction( const Bu::String &sName ); 24 void execAction( const Bu::String &sName );
25 25
26 Context &getContext(); 26 Context &getContext();
27 27
28private: 28private:
29 class Target *buildTarget( const Bu::String &sOutput, 29 class Target *buildTarget( const Bu::String &sOutput,
30 AstBranch::NodeList::const_iterator n ); 30 AstBranch::NodeList::const_iterator n );
31 class Rule *buildRule( const Bu::String &sName, 31 class Rule *buildRule( const Bu::String &sName,
32 AstBranch::NodeList::const_iterator n ); 32 AstBranch::NodeList::const_iterator n );
33 void attachDefaults(); 33 void attachDefaults();
34 Variable doSet( const AstBranch *pRoot ); 34 Variable doSet( const AstBranch *pRoot );
35 35
36private: 36private:
37 class Ast &rAst; 37 class Ast &rAst;
38 class Context &rCont; 38 class Context &rCont;
39 Target *pCurTarget; 39 Target *pCurTarget;
40 Rule *pCurRule; 40 Rule *pCurRule;
41}; 41};
42 42
43#endif 43#endif