core/src/parser.h
changeset 79 f3d01c9dd099
parent 70 b06038904ef8
equal deleted inserted replaced
78:6a2083f7eeb8 79:f3d01c9dd099
    39 		EKeepGoing			= 0x00000001,
    39 		EKeepGoing			= 0x00000001,
    40 		EDebug				= 0x00000002,
    40 		EDebug				= 0x00000002,
    41 		EExportLineNumbers	= 0x00000004
    41 		EExportLineNumbers	= 0x00000004
    42 		};
    42 		};
    43 public:
    43 public:
    44 	static CParser* NewL(TUint aMode, const TDesC& aDes, RIoSession& aIoSession, RIoReadHandle& aStdin, RIoWriteHandle& aStdout, RIoWriteHandle& aStderr, IoUtils::CEnvironment& aEnv, CCommandFactory& aFactory, MParserObserver* aObserver);
    44 	static CParser* NewL(TUint aMode, const TDesC& aDes, RIoSession& aIoSession, RIoReadHandle& aStdin, RIoWriteHandle& aStdout, RIoWriteHandle& aStderr, IoUtils::CEnvironment& aEnv, CCommandFactory& aFactory, MParserObserver* aObserver, TInt aStartingLineNumber = 1);
    45 	~CParser();
    45 	~CParser();
    46 	void Start();
    46 	void Start();
    47 	void Start(TBool& aIsForeground);
    47 	void Start(TBool& aIsForeground);
    48 	void Kill();
    48 	void Kill();
    49 	TInt Suspend();
    49 	TInt Suspend();
    60 		EAnd,
    60 		EAnd,
    61 		EOr,
    61 		EOr,
    62 		EAndOr
    62 		EAndOr
    63 		};
    63 		};
    64 private:
    64 private:
    65 	CParser(TUint aMode, const TDesC& aDes, RIoSession& aIoSession, RIoReadHandle& aStdin, RIoWriteHandle& aStdout, RIoWriteHandle& aStderr, IoUtils::CEnvironment& aEnv, CCommandFactory& aFactory, MParserObserver* aObserver);
    65 	CParser(TUint aMode, const TDesC& aDes, RIoSession& aIoSession, RIoReadHandle& aStdin, RIoWriteHandle& aStdout, RIoWriteHandle& aStderr, IoUtils::CEnvironment& aEnv, CCommandFactory& aFactory, MParserObserver* aObserver, TInt aStartingLineNumber);
    66 	void ConstructL();
    66 	void ConstructL();
    67 	void CreateNextPipeLine(TBool* aIsForeground);
    67 	void CreateNextPipeLine(TBool* aIsForeground);
    68 	void CreateNextPipeLineL(TBool* aIsForeground);
    68 	void CreateNextPipeLineL(TBool* aIsForeground);
    69 	void FindNextPipeLineL(TPtrC& aData, TCondition& aCondition, TBool& aReachedLineEnd);
    69 	void FindNextPipeLineL(TPtrC& aData, TCondition& aCondition, TBool& aReachedLineEnd);
    70 	HBufC* ExpandVariablesLC(const TDesC& aData);
    70 	HBufC* ExpandVariablesLC(const TDesC& aData);