mirror of
https://github.com/bolero-MURAKAMI/Sprout.git
synced 2025-07-12 14:54:10 +00:00
weed::traits::attribute_of をコンテキストに依存するよう変更
This commit is contained in:
parent
a7698fa6e9
commit
1c898f8b93
13 changed files with 64 additions and 79 deletions
|
@ -38,7 +38,11 @@ namespace sprout {
|
|||
typedef sprout::weed::parse_context<Iterator> context_type;
|
||||
typedef typename sprout::tuples::tuple_element<0, typename Expr::args_type>::type parser_type;
|
||||
public:
|
||||
typedef typename sprout::weed::traits::attribute_of<Expr, Iterator, context_type>::type attribute_type;
|
||||
typedef typename sprout::weed::traits::attribute_of<
|
||||
parser_type,
|
||||
Iterator,
|
||||
context_type
|
||||
>::type attribute_type;
|
||||
typedef sprout::weed::eval_result<context_type, Iterator, attribute_type> result_type;
|
||||
private:
|
||||
template<typename Result>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue