Skip to content

Commit

Permalink
former : experimenting
Browse files Browse the repository at this point in the history
  • Loading branch information
Wandalen committed Apr 23, 2024
1 parent 02ca273 commit 76fd851
Show file tree
Hide file tree
Showing 14 changed files with 304 additions and 280 deletions.
8 changes: 4 additions & 4 deletions module/core/former/tests/inc/former_tests/a_basic_manual.rs
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,8 @@ where End : former::FormingEnd< Struct1FormerDefinitionTypes< Context, Formed >
type End = End;
}

pub type Struct1FormerWithClosure< Context, Formed > =
Struct1FormerDefinition< Context, Formed, former::FormingEndClosure< Struct1FormerDefinitionTypes< Context, Formed > > >;
// pub type Struct1FormerWithClosure< Context, Formed > =
// Struct1FormerDefinition< Context, Formed, former::FormingEndClosure< Struct1FormerDefinitionTypes< Context, Formed > > >;

// = storage

Expand Down Expand Up @@ -162,7 +162,7 @@ where
}

#[ inline( always ) ]
pub fn _new_precise( on_end : Definition::End ) -> Self
pub fn new_precise( on_end : Definition::End ) -> Self
{
Self::begin_coercing( None, None, on_end )
}
Expand All @@ -175,7 +175,7 @@ where
}

#[ inline( always ) ]
pub fn _begin_precise
pub fn begin_precise
(
mut storage : core::option::Option< < Definition::Types as former::FormerDefinitionTypes >::Storage >,
context : core::option::Option< < Definition::Types as former::FormerDefinitionTypes >::Context >,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use super::*;
// use std::collections::HashSet;

#[ derive( Default, Debug, PartialEq, former::Former ) ]
// #[ debug ]
// #[ derive( Default, Debug, PartialEq, former::Former ) ] #[ debug ]
// #[ derive( Default, Debug, PartialEq ) ]
pub struct Struct1
{
Expand All @@ -17,6 +17,8 @@ pub struct Struct1
hashset_1 : std::collections::HashSet< String >,
}

// = generated
// == generated begin

// == generated end

include!( "./only_test/containers_with_subformer.rs" );
Loading

0 comments on commit 76fd851

Please sign in to comment.