Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
May 25, 2008, 9:58:14 PM (16 years ago)
Author:
landauf
Message:

finally got a good approach for the CommandExecutor parser. more to come.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/console/src/core/CommandEvaluation.h

    r1417 r1424  
    4545        CS_Empty,
    4646        CS_ShortcutOrIdentifier,
    47         CS_Shortcut_Params,
    48         CS_Shortcut_Finished,
    4947        CS_Function,
    50         CS_Function_Params,
    51         CS_Function_Finished,
     48        CS_Params,
     49        CS_Finished,
    5250        CS_Error
    5351    };
     
    6361
    6462            bool execute() const;
    65             std::string complete() const;
     63            std::string complete();
    6664            std::string hint() const;
    6765            void evaluateParams();
     
    8280        private:
    8381            unsigned int getStartindex() const;
    84             static std::string getCommonBegin(const std::list<std::pair<const std::string*, const std::string*> >& list);
    8582            static std::string dump(const std::list<std::pair<const std::string*, const std::string*> >& list);
    8683            static std::string dump(const ConsoleCommand* command);
     
    8885
    8986            bool bNewCommand_;
     87            bool bCommandChanged_;
    9088
    9189            std::string originalCommand_;
Note: See TracChangeset for help on using the changeset viewer.