Lines Matching refs:Ptr
102 typedef unique_ptr<type> Ptr; \ in EXPAND_NODES()
107 typedef unique_ptr<Node> Ptr; typedef
133 typedef unique_ptr<StmtNode> Ptr; typedef
137 typedef vector<StmtNode::Ptr> StmtNodeList;
141 typedef unique_ptr<ExprNode> Ptr; typedef
162 typedef vector<ExprNode::Ptr> ExprNodeList;
180 IdentExprNode::Ptr copy() const { in copy()
181 return IdentExprNode::Ptr(new IdentExprNode(*this)); in copy()
226 ExprNode::Ptr expr_;
233 typedef vector<IdentExprNode::Ptr> IdentExprNodeList;
240 ExprNode::Ptr lhs_;
241 ExprNode::Ptr rhs_;
242 AssignExprNode(IdentExprNode::Ptr id, ExprNode::Ptr rhs) in AssignExprNode()
247 AssignExprNode(ExprNode::Ptr lhs, ExprNode::Ptr rhs) in AssignExprNode()
258 IdentExprNode::Ptr id_;
259 explicit PacketExprNode(IdentExprNode::Ptr id) : id_(move(id)) {} in PacketExprNode()
296 ExprNode::Ptr lhs_;
298 ExprNode::Ptr rhs_;
299 BinopExprNode(ExprNode::Ptr lhs, int op, ExprNode::Ptr rhs) in BinopExprNode()
308 ExprNode::Ptr expr_;
310 UnopExprNode(int op, ExprNode::Ptr expr) : expr_(move(expr)), op_(op) {} in UnopExprNode()
318 IdentExprNode::Ptr id_;
319 GotoExprNode(IdentExprNode::Ptr id, bool is_continue = false)
327 ExprNode::Ptr expr_;
328 ReturnExprNode(ExprNode::Ptr expr) in ReturnExprNode()
347 IdentExprNode::Ptr id_;
349 BlockStmtNode::Ptr block_;
350 MethodCallExprNode(IdentExprNode::Ptr id, ExprNodeList&& args, int lineno) in MethodCallExprNode()
360 IdentExprNode::Ptr id_;
361 IdentExprNode::Ptr sub_;
362 ExprNode::Ptr index_;
365 TableIndexExprNode(IdentExprNode::Ptr id, ExprNode::Ptr index) in TableIndexExprNode()
374 ExprNode::Ptr expr_;
375 explicit ExprStmtNode(ExprNode::Ptr expr) : expr_(move(expr)) {} in ExprStmtNode()
382 ExprNode::Ptr cond_;
383 StmtNode::Ptr true_block_;
384 StmtNode::Ptr false_block_;
386 IfStmtNode(ExprNode::Ptr cond, StmtNode::Ptr true_block) in IfStmtNode()
389 IfStmtNode(ExprNode::Ptr cond, StmtNode::Ptr true_block, StmtNode::Ptr false_block) in IfStmtNode()
398 IdentExprNode::Ptr cond_;
399 StmtNode::Ptr block_;
400 StmtNode::Ptr else_block_;
402 OnValidStmtNode(IdentExprNode::Ptr cond, StmtNode::Ptr block) in OnValidStmtNode()
405 OnValidStmtNode(IdentExprNode::Ptr cond, StmtNode::Ptr block, StmtNode::Ptr else_block) in OnValidStmtNode()
413 ExprNode::Ptr cond_;
414 BlockStmtNode::Ptr block_;
415 SwitchStmtNode(ExprNode::Ptr cond, BlockStmtNode::Ptr block) in SwitchStmtNode()
422 IntegerExprNode::Ptr value_;
423 BlockStmtNode::Ptr block_;
424 CaseStmtNode(IntegerExprNode::Ptr value, BlockStmtNode::Ptr block) in CaseStmtNode()
426 explicit CaseStmtNode(BlockStmtNode::Ptr block) : block_(move(block)) {} in CaseStmtNode()
431 typedef unique_ptr<VariableDeclStmtNode> Ptr; typedef
435 IdentExprNode::Ptr id_;
442 …explicit VariableDeclStmtNode(IdentExprNode::Ptr id, storage_type t, size_t bit_width = 0, size_t …
449 typedef vector<VariableDeclStmtNode::Ptr> FormalList;
455 IdentExprNode::Ptr struct_id_;
456 StructVariableDeclStmtNode(IdentExprNode::Ptr struct_id, IdentExprNode::Ptr id,
465 IntegerVariableDeclStmtNode(IdentExprNode::Ptr id, const string& bits) in DECLARE()
473 IdentExprNode::Ptr id_;
477 StructDeclStmtNode(IdentExprNode::Ptr id, FormalList&& stmts = FormalList())
488 IdentExprNode::Ptr id_;
491 explicit ParserStateStmtNode(IdentExprNode::Ptr id) in ParserStateStmtNode()
493 static Ptr make(const IdentExprNode::Ptr& id) { in make()
494 return Ptr(new ParserStateStmtNode(id->copy())); in make()
504 IdentExprNode::Ptr id_;
505 BlockStmtNode::Ptr block_;
506 ParserStateStmtNode::Ptr parser_;
526 IdentExprNode::Ptr id_;
529 ParserStateStmtNode::Ptr parser_;
532 StateDeclStmtNode(IdentExprNode::Ptr id, BlockStmtNode::Ptr block) : id_(move(id)) { in StateDeclStmtNode()
533 …subs_.push_back(Sub(make_unique<IdentExprNode>(""), move(block), ParserStateStmtNode::Ptr(), NULL)… in StateDeclStmtNode()
535 StateDeclStmtNode(IdentExprNode::Ptr id1, IdentExprNode::Ptr id2, BlockStmtNode::Ptr block) in StateDeclStmtNode()
537 subs_.push_back(Sub(move(id2), move(block), ParserStateStmtNode::Ptr(), NULL)); in StateDeclStmtNode()
554 IdentExprNode::Ptr id_;
556 BlockStmtNode::Ptr block_;
557 MatchDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in MatchDeclStmtNode()
565 IdentExprNode::Ptr id_;
567 BlockStmtNode::Ptr block_;
568 MissDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in MissDeclStmtNode()
576 IdentExprNode::Ptr id_;
578 BlockStmtNode::Ptr block_;
579 FailureDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in FailureDeclStmtNode()
587 IdentExprNode::Ptr table_type_;
589 IdentExprNode::Ptr id_;
597 TableDeclStmtNode(IdentExprNode::Ptr table_type, IdentExprNodeList&& templates, in TableDeclStmtNode()
598 IdentExprNode::Ptr id, string* size) in TableDeclStmtNode()
609 IdentExprNode::Ptr id_;
611 BlockStmtNode::Ptr block_;
613 FuncDeclStmtNode(IdentExprNode::Ptr id, FormalList&& formals, BlockStmtNode::Ptr block) in FuncDeclStmtNode()