Lines Matching refs:std
40 std::string ToString();
54 explicit LiteralDecl(const std::string& expression);
59 const std::string expression_;
66 ClassDecl(const std::string& name,
67 const std::string& parent);
68 ClassDecl(const std::string& name,
69 const std::string& parent,
70 std::vector<std::unique_ptr<Declaration>> public_members,
71 std::vector<std::unique_ptr<Declaration>> private_members);
76 void AddPublic(std::unique_ptr<Declaration> member);
77 void AddPrivate(std::unique_ptr<Declaration> member);
80 std::string name_;
81 std::string parent_;
82 std::vector<std::unique_ptr<Declaration>> public_members_;
83 std::vector<std::unique_ptr<Declaration>> private_members_;
90 Enum(const std::string& name, const std::string& base_type);
91 explicit Enum(const std::string& name);
97 void AddValue(const std::string& key, const std::string& value);
101 EnumField(const std::string& k, const std::string& v);
102 const std::string key;
103 const std::string value;
106 std::string enum_name_;
107 std::string underlying_type_;
108 std::vector<EnumField> fields_;
116 explicit ArgList(const std::string& single_argument);
117 explicit ArgList(const std::vector<std::string>& arg_list);
118 explicit ArgList(std::vector<std::unique_ptr<AstNode>> arg_list);
125 std::vector<std::unique_ptr<AstNode>> arguments_;
138 ConstructorDecl(const std::string& name,
140 ConstructorDecl(const std::string& name,
149 const std::string name_;
158 MacroDecl(const std::string& name, ArgList&& arg_list);
164 const std::string name_;
181 MethodDecl(const std::string& return_type,
182 const std::string& name,
184 MethodDecl(const std::string& return_type,
185 const std::string& name,
193 const std::string return_type_;
194 const std::string name_;
211 void AddStatement(std::unique_ptr<AstNode> statement);
213 void AddLiteral(const std::string& expression, bool add_semicolon = true);
219 std::vector<std::unique_ptr<AstNode>> statements_;
226 ConstructorImpl(const std::string& class_name,
228 const std::vector<std::string>& initializer_list);
234 std::string class_name_;
236 std::vector<std::string> initializer_list_;
246 MethodImpl(const std::string& return_type,
247 const std::string& class_name,
248 const std::string& method_name,
259 std::string return_type_;
260 std::string method_name_;
270 explicit SwitchStatement(const std::string& expression);
278 StatementBlock* AddCase(const std::string& value_expression);
282 const std::string switch_expression_;
283 std::vector<std::string> case_values_;
284 std::vector<std::unique_ptr<StatementBlock>> case_logic_;
291 Assignment(const std::string& left, const std::string& right);
292 Assignment(const std::string& left, AstNode* right);
297 const std::string lhs_;
298 std::unique_ptr<AstNode> rhs_;
305 MethodCall(const std::string& method_name,
306 const std::string& single_argument);
307 MethodCall(const std::string& method_name, ArgList&& arg_list);
312 const std::string method_name_;
328 std::unique_ptr<AstNode> expression_;
338 explicit Statement(std::unique_ptr<AstNode> expression);
340 explicit Statement(const std::string& expression);
345 std::unique_ptr<AstNode> expression_;
352 Comparison(AstNode* lhs, const std::string& comparison, AstNode* rhs);
357 std::unique_ptr<AstNode> left_;
358 std::unique_ptr<AstNode> right_;
359 const std::string operator_;
366 explicit LiteralExpression(const std::string& expression);
371 const std::string expression_;
378 CppNamespace(const std::string& name,
379 std::vector<std::unique_ptr<Declaration>> declarations);
380 CppNamespace(const std::string& name,
381 std::unique_ptr<Declaration> declaration);
382 explicit CppNamespace(const std::string& name);
388 std::vector<std::unique_ptr<Declaration>> declarations_;
389 std::string name_;
396 Document(const std::vector<std::string>& include_list,
397 std::vector<std::unique_ptr<Declaration>> declarations);
402 std::vector<std::string> include_list_;
403 std::vector<std::unique_ptr<Declaration>> declarations_;
410 CppHeader(const std::string& include_guard, const std::vector<std::string>& include_list,
411 std::vector<std::unique_ptr<Declaration>> declarations);
415 const std::string include_guard_;
422 CppSource(const std::vector<std::string>& include_list,
423 std::vector<std::unique_ptr<Declaration>> declarations);