Lines Matching defs:Instruction
56 Add(Instruction("go", jtl::NAVIGATE, Arguments(String)));
57 Add(Instruction("any", jtl::NAVIGATE_ANY, Arguments()));
58 Add(Instruction("back", jtl::NAVIGATE_BACK, Arguments()));
59 Add(Instruction("store_bool", jtl::STORE_BOOL, Arguments(String, Bool)));
60 Add(Instruction("store_hash",
62 Add(Instruction("store_hashed",
64 Add(Instruction("store_node_bool",
66 Add(Instruction("store_node_hash",
68 Add(Instruction("store_node_registerable_domain_hash",
71 Add(Instruction("compare_bool", jtl::COMPARE_NODE_BOOL, Arguments(Bool)));
72 Add(Instruction("compare_hashed",
74 Add(Instruction("compare_hashed_not",
76 Add(Instruction("compare_stored_bool",
79 Add(Instruction("compare_stored_hashed",
82 Add(Instruction("compare_to_stored_bool",
85 Add(Instruction("compare_to_stored_hash",
88 Add(Instruction("compare_substring_hashed",
91 Add(Instruction("break", jtl::STOP_EXECUTING_SENTENCE, Arguments()));
102 const Instruction& instruction(instruction_map_.at(name));
165 struct Instruction {
166 Instruction() : op_code(jtl::END_OF_SENTENCE) {}
167 Instruction(const char* name,
190 void Add(const Instruction& instruction) {
194 std::map<std::string, Instruction> instruction_map_;