Lines Matching refs:string
37 bool IsActionableProperty(Subcontext* subcontext, const std::string& prop_name) {
55 Result<Success> ParsePropertyTrigger(const std::string& trigger, Subcontext* subcontext,
56 std::map<std::string, std::string>* property_triggers) {
57 const static std::string prop_str("property:");
58 std::string prop_name(trigger.substr(prop_str.length()));
60 if (equal_pos == std::string::npos) {
64 std::string prop_value(prop_name.substr(equal_pos + 1));
77 Result<Success> ParseTriggers(const std::vector<std::string>& args, Subcontext* subcontext,
78 std::string* event_trigger,
79 std::map<std::string, std::string>* property_triggers) {
80 const static std::string prop_str("property:");
113 Result<Success> ActionParser::ParseSection(std::vector<std::string>&& args,
114 const std::string& filename, int line) {
115 std::vector<std::string> triggers(args.begin() + 1, args.end());
130 std::string event_trigger;
131 std::map<std::string, std::string> property_triggers;
145 Result<Success> ActionParser::ParseLineSection(std::vector<std::string>&& args, int line) {