Lines Matching refs:std
31 Command(BuiltinFunction f, const std::vector<std::string>& args,
32 const std::string& filename, int line);
35 std::string BuildCommandString() const;
36 std::string BuildSourceString() const;
40 std::vector<std::string> args_;
41 std::string filename_;
49 bool AddCommand(const std::vector<std::string>& args,
50 const std::string& filename, int line, std::string* err);
52 const std::vector<std::string>& args,
53 const std::string& filename = "", int line = 0);
55 bool InitTriggers(const std::vector<std::string>& args, std::string* err);
56 bool InitSingleTrigger(const std::string& trigger);
57 std::size_t NumCommands() const;
58 void ExecuteOneCommand(std::size_t command) const;
60 bool CheckEventTrigger(const std::string& trigger) const;
61 bool CheckPropertyTrigger(const std::string& name,
62 const std::string& value) const;
64 std::string BuildTriggersString() const;
75 bool CheckPropertyTriggers(const std::string& name = "",
76 const std::string& value = "") const;
77 bool ParsePropertyTrigger(const std::string& trigger, std::string* err);
79 std::map<std::string, std::string> property_triggers_;
80 std::string event_trigger_;
81 std::vector<Command> commands_;
96 void AddAction(std::unique_ptr<Action> action);
97 void QueueEventTrigger(const std::string& trigger);
98 void QueuePropertyTrigger(const std::string& name, const std::string& value);
100 void QueueBuiltinAction(BuiltinFunction func, const std::string& name);
111 std::vector<std::unique_ptr<Action>> actions_;
112 std::queue<std::unique_ptr<Trigger>> trigger_queue_;
113 std::queue<const Action*> current_executing_actions_;
114 std::size_t current_command_;
121 bool ParseSection(const std::vector<std::string>& args,
122 std::string* err) override;
123 bool ParseLineSection(const std::vector<std::string>& args,
124 const std::string& filename, int line,
125 std::string* err) const override;
127 void EndFile(const std::string&) override { in EndFile()
130 std::unique_ptr<Action> action_;