Skip to content

Commit

Permalink
Update of generated header files.
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxSagebaum committed Jul 6, 2024
1 parent e106333 commit dc2a9f1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 28 deletions.
48 changes: 24 additions & 24 deletions include/cpp2regex.h
Original file line number Diff line number Diff line change
Expand Up @@ -240,8 +240,8 @@ template<typename Iter> class match_group {
public: Iter end {};

public: bool matched {false};
public: explicit match_group(auto const& start_, auto const& end_, auto const& matched_);
public: explicit match_group();
public: match_group(auto const& start_, auto const& end_, auto const& matched_);
public: match_group();

#line 55 "regex.h2"
};
Expand All @@ -250,8 +250,8 @@ public: explicit match_group();
template<typename Iter> class match_return {
public: bool matched {false};
public: Iter pos {};
public: explicit match_return(auto const& matched_, auto const& pos_);
public: explicit match_return();
public: match_return(auto const& matched_, auto const& pos_);
public: match_return();

#line 62 "regex.h2"
};
Expand Down Expand Up @@ -594,8 +594,8 @@ class parse_context_group_state {
#line 412 "regex.h2"
// Apply optimizations to the matcher list.
public: static auto post_process_list(token_vec& list) -> void;
public: explicit parse_context_group_state(auto const& cur_match_list_, auto const& alternate_match_lists_, auto const& modifiers_);
public: explicit parse_context_group_state();
public: parse_context_group_state(auto const& cur_match_list_, auto const& alternate_match_lists_, auto const& modifiers_);
public: parse_context_group_state();


#line 426 "regex.h2"
Expand Down Expand Up @@ -623,8 +623,8 @@ class parse_context_branch_reset_state {
#line 458 "regex.h2"
// Initialize for a branch reset group.
public: auto set_active_reset(cpp2::impl::in<int> restart) & -> void;
public: explicit parse_context_branch_reset_state(auto const& is_active_, auto const& cur_group_, auto const& max_group_, auto const& from_);
public: explicit parse_context_branch_reset_state();
public: parse_context_branch_reset_state(auto const& is_active_, auto const& cur_group_, auto const& max_group_, auto const& from_);
public: parse_context_branch_reset_state();


#line 465 "regex.h2"
Expand Down Expand Up @@ -788,8 +788,8 @@ class generation_function_context {

#line 864 "regex.h2"
public: auto remove_tabs(cpp2::impl::in<int> c) & -> void;
public: explicit generation_function_context(auto const& code_, auto const& tabs_);
public: explicit generation_function_context();
public: generation_function_context(auto const& code_, auto const& tabs_);
public: generation_function_context();


#line 867 "regex.h2"
Expand Down Expand Up @@ -1527,13 +1527,13 @@ return cpp2::move(_ret) + ")";
}

template <typename Iter> match_group<Iter>::match_group(auto const& start_, auto const& end_, auto const& matched_)
: start{ start_ }
, end{ end_ }
, matched{ matched_ }{}
: start{ start_ }
, end{ end_ }
, matched{ matched_ }{}
template <typename Iter> match_group<Iter>::match_group(){}
template <typename Iter> match_return<Iter>::match_return(auto const& matched_, auto const& pos_)
: matched{ matched_ }
, pos{ pos_ }{}
: matched{ matched_ }
, pos{ pos_ }{}
template <typename Iter> match_return<Iter>::match_return(){}
#line 30 "regex.h2"
//-----------------------------------------------------------------------
Expand Down Expand Up @@ -1931,9 +1931,9 @@ template<typename Func> [[nodiscard]] auto make_on_return(Func const& func) -> a
}

parse_context_group_state::parse_context_group_state(auto const& cur_match_list_, auto const& alternate_match_lists_, auto const& modifiers_)
: cur_match_list{ cur_match_list_ }
, alternate_match_lists{ alternate_match_lists_ }
, modifiers{ modifiers_ }{}
: cur_match_list{ cur_match_list_ }
, alternate_match_lists{ alternate_match_lists_ }
, modifiers{ modifiers_ }{}
parse_context_group_state::parse_context_group_state(){}

#line 437 "regex.h2"
Expand Down Expand Up @@ -1967,10 +1967,10 @@ parse_context_group_state::parse_context_group_state(){}
}

parse_context_branch_reset_state::parse_context_branch_reset_state(auto const& is_active_, auto const& cur_group_, auto const& max_group_, auto const& from_)
: is_active{ is_active_ }
, cur_group{ cur_group_ }
, max_group{ max_group_ }
, from{ from_ }{}
: is_active{ is_active_ }
, cur_group{ cur_group_ }
, max_group{ max_group_ }
, from{ from_ }{}
parse_context_branch_reset_state::parse_context_branch_reset_state(){}

#line 485 "regex.h2"
Expand Down Expand Up @@ -2369,8 +2369,8 @@ parse_context_branch_reset_state::parse_context_branch_reset_state(){}
}

generation_function_context::generation_function_context(auto const& code_, auto const& tabs_)
: code{ code_ }
, tabs{ tabs_ }{}
: code{ code_ }
, tabs{ tabs_ }{}
generation_function_context::generation_function_context(){}

#line 882 "regex.h2"
Expand Down
8 changes: 4 additions & 4 deletions source/reflect.h
Original file line number Diff line number Diff line change
Expand Up @@ -697,7 +697,7 @@ class value_member_info {
public: std::string name;
public: std::string type;
public: std::string value;
public: explicit value_member_info(auto const& name_, auto const& type_, auto const& value_);
public: value_member_info(auto const& name_, auto const& type_, auto const& value_);

#line 999 "reflect.h2"
};
Expand Down Expand Up @@ -1663,9 +1663,9 @@ auto cpp2_struct(meta::type_declaration& t) -> void
}

value_member_info::value_member_info(auto const& name_, auto const& type_, auto const& value_)
: name{ name_ }
, type{ type_ }
, value{ value_ }{}
: name{ name_ }
, type{ type_ }
, value{ value_ }{}

#line 1001 "reflect.h2"
auto basic_enum(
Expand Down

0 comments on commit dc2a9f1

Please sign in to comment.