Searched refs:struct_def_ (Results 1 – 2 of 2) sorted by relevance
28 if (node.struct_def_->parent_ != nullptr) { in StructParserGenerator()30 if (node.struct_def_->parent_->name_ == parent.struct_def_->name_) { in StructParserGenerator()45 s << child->struct_def_->name_ << "::IsInstance(*" << field->GetName() << "_value.get())) {"; in explore_children()47 …s << "std::unique_ptr<" << child->struct_def_->name_ << "> " << child->packet_field_->GetName() <<… in explore_children()49 s << child->struct_def_->name_ << "(*" << field->GetName() << "_value));"; in explore_children()50 if (child->struct_def_->fields_.HasBody()) { in explore_children()52 …s << child->struct_def_->name_ << "::Parse( " << child->packet_field_->GetName() << "_value.get(),… in explore_children()57 …s << child->struct_def_->name_ << "::Parse( " << child->packet_field_->GetName() << "_value.get(),… in explore_children()73 … s << "inline std::unique_ptr<" << node.struct_def_->name_ << "> Parse" << node.struct_def_->name_; in Generate()80 s << "std::make_unique<" << node.struct_def_->name_ << ">();"; in Generate()[all …]
35 : struct_def_(s), packet_field_(s->GetNewField(s->name_ + "_parse", ParseLocation())) {} in TreeNode()36 const StructDef* struct_def_; variable