haasdo95 / dot_parser_cpp Goto Github PK
View Code? Open in Web Editor NEWA C++ parser for the DOT language
License: MIT License
A C++ parser for the DOT language
License: MIT License
Hi there,
Would you please help with the following errors:
❯ make all
[ 10%] Built target lexy_file
Consolidate compiler generated dependencies of target dot_parser
[ 15%] Building CXX object src/CMakeFiles/dot_parser.dir/parser.cpp.o
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:61: error: no match for ‘operator/’ (operand types are ‘const lexyd::ascii::_blank’ and ‘const lexyd::_nl’)
19 | constexpr auto wsr = dsl::whitespace((dsl::ascii::blank / dsl::newline) | multi_line_comment | line_comment);
| ~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
| | |
| | const lexyd::_nl
| const lexyd::ascii::_blank
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:292:16: note: candidate: ‘template<class T1, class L1, class ... R1, class T2, class L2, class ... R2> constexpr auto lexyd::operator/(lexyd::_op<Tag, Literal, R ...>, lexyd::_op<T2, L2, R2 ...>)’
292 | constexpr auto operator/(_op<T1, L1, R1...> lhs, _op<T2, L2, R2...> rhs)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:292:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_op<Tag, Literal, R ...>’
19 | constexpr auto wsr = dsl::whitespace((dsl::ascii::blank / dsl::newline) | multi_line_comment | line_comment);
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:297:16: note: candidate: ‘template<class ... Ops, class T2, class L2, class ... R2> constexpr auto lexyd::operator/(lexyd::_opc<Ops ...>, lexyd::_op<T2, L2, R2 ...>)’
297 | constexpr auto operator/(_opc<Ops...>, _op<T2, L2, R2...> rhs)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:297:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_opc<Ops ...>’
19 | constexpr auto wsr = dsl::whitespace((dsl::ascii::blank / dsl::newline) | multi_line_comment | line_comment);
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:302:16: note: candidate: ‘template<class T1, class L1, class ... R1, class ... Ops> constexpr auto lexyd::operator/(lexyd::_op<Tag, Literal, R ...>, lexyd::_opc<Ops ...>)’
302 | constexpr auto operator/(_op<T1, L1, R1...> lhs, _opc<Ops...>)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:302:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_op<Tag, Literal, R ...>’
19 | constexpr auto wsr = dsl::whitespace((dsl::ascii::blank / dsl::newline) | multi_line_comment | line_comment);
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:307:16: note: candidate: ‘template<class ... O1, class ... O2> constexpr auto lexyd::operator/(lexyd::_opc<Ops ...>, lexyd::_opc<O2 ...>)’
307 | constexpr auto operator/(_opc<O1...>, _opc<O2...>)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:307:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_opc<Ops ...>’
19 | constexpr auto wsr = dsl::whitespace((dsl::ascii::blank / dsl::newline) | multi_line_comment | line_comment);
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:423:16: note: candidate: ‘template<class R1, class R2> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(r1)), decltype (lexyd::_make_char_class(r2))> lexyd::operator/(R1, R2)’
423 | constexpr auto operator/(R1 r1, R2 r2)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:423:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp: In substitution of ‘template<class R1, class R2> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(r1)), decltype (lexyd::_make_char_class(r2))> lexyd::operator/(R1, R2) [with R1 = lexyd::ascii::_blank; R2 = lexyd::_nl]’:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: required from here
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: error: no matching function for call to ‘_make_char_class(lexyd::_nl&)’
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:359:16: note: candidate: ‘template<class C, class> constexpr auto lexyd::_make_char_class(C)’
359 | constexpr auto _make_char_class(C c)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:359:16: note: template argument deduction/substitution failed:
In file included from /usr/include/c++/11/bits/move.h:57,
from /usr/include/c++/11/bits/stl_pair.h:59,
from /usr/include/c++/11/utility:70,
from /usr/include/c++/11/optional:36,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:4,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/usr/include/c++/11/type_traits: In substitution of ‘template<bool _Cond, class _Tp> using enable_if_t = typename std::enable_if::type [with bool _Cond = false; _Tp = void]’:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:358:23: required by substitution of ‘template<class R1, class R2> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(r1)), decltype (lexyd::_make_char_class(r2))> lexyd::operator/(R1, R2) [with R1 = lexyd::ascii::_blank; R2 = lexyd::_nl]’
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: required from here
/usr/include/c++/11/type_traits:2585:11: error: no type named ‘type’ in ‘struct std::enable_if<false, void>’
2585 | using enable_if_t = typename enable_if<_Cond, _Tp>::type;
| ^~~~~~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp: In substitution of ‘template<class R1, class R2> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(r1)), decltype (lexyd::_make_char_class(r2))> lexyd::operator/(R1, R2) [with R1 = lexyd::ascii::_blank; R2 = lexyd::_nl]’:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: required from here
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:366:16: note: candidate: ‘template<class CharT, CharT C, class> constexpr auto lexyd::_make_char_class(lexyd::_lit<CharT, C>)’
366 | constexpr auto _make_char_class(_lit<CharT, C>)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:366:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: note: ‘lexyd::_nl’ is not derived from ‘lexyd::_lit<CharT, C>’
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:374:16: note: candidate: ‘template<char32_t CP> constexpr auto lexyd::_make_char_class(lexyd::_lcp<CP>)’
374 | constexpr auto _make_char_class(_lcp<CP>)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:374:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: note: ‘lexyd::_nl’ is not derived from ‘lexyd::_lcp<CP>’
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:16: note: candidate: ‘template<class ... Cs, class C> constexpr lexyd::_calt<Cs ..., decltype (lexyd::_make_char_class(c))> lexyd::operator/(lexyd::_calt<Cs ...>, C)’
430 | constexpr auto operator/(_calt<Cs...>, C c) -> _calt<Cs..., decltype(_make_char_class(c))>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_calt<Cs ...>’
19 | constexpr auto wsr = dsl::whitespace((dsl::ascii::blank / dsl::newline) | multi_line_comment | line_comment);
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:435:16: note: candidate: ‘template<class C, class ... Cs> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(c)), Cs ...> lexyd::operator/(C, lexyd::_calt<Cs ...>)’
435 | constexpr auto operator/(C c, _calt<Cs...>) -> _calt<decltype(_make_char_class(c)), Cs...>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:435:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: note: ‘lexyd::_nl’ is not derived from ‘lexyd::_calt<Cs ...>’
19 | constexpr auto wsr = dsl::whitespace((dsl::ascii::blank / dsl::newline) | multi_line_comment | line_comment);
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:441:16: note: candidate: ‘template<class ... Cs, class ... Ds> constexpr lexyd::_calt<Cs ..., Ds ...> lexyd::operator/(lexyd::_calt<Cs ...>, lexyd::_calt<Cs ...>)’
441 | constexpr auto operator/(_calt<Cs...>, _calt<Ds...>) -> _calt<Cs..., Ds...>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:441:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:19:68: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_calt<Cs ...>’
19 | constexpr auto wsr = dsl::whitespace((dsl::ascii::blank / dsl::newline) | multi_line_comment | line_comment);
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:14,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/capture.hpp: In instantiation of ‘constexpr auto lexyd::capture(Token) [with Token = lexyd::_br<lexyd::_calt<lexyd::ascii::_word, lexyd::_ccp<43>, lexyd::_ccp<42>, lexyd::_ccp<46>, lexyd::_ccp<58>, lexyd::_ccp<33>, lexyd::_ccp<63>, lexyd::_ccp<36>, lexyd::_ccp<37>, lexyd::_ccp<38>, lexyd::_ccp<64>, lexyd::_ccp<40>, lexyd::_ccp<41>, lexyd::_ccp<60>, lexyd::_ccp<62>, lexyd::_ccp<39>, lexyd::_ccp<96>, lexyd::_ccp<124>, lexyd::_ccp<94>, lexyd::_ccp<126>, lexyd::_ccp<92> >, lexyd::_whl<lexyd::_calt<lexyd::ascii::_word, lexyd::_ccp<43>, lexyd::_ccp<42>, lexyd::_ccp<46>, lexyd::_ccp<58>, lexyd::_ccp<33>, lexyd::_ccp<63>, lexyd::_ccp<36>, lexyd::_ccp<37>, lexyd::_ccp<38>, lexyd::_ccp<64>, lexyd::_ccp<40>, lexyd::_ccp<41>, lexyd::_ccp<60>, lexyd::_ccp<62>, lexyd::_ccp<39>, lexyd::_ccp<96>, lexyd::_ccp<124>, lexyd::_ccp<94>, lexyd::_ccp<126>, lexyd::_ccp<92> > > >]’:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:56:48: required from here
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/capture.hpp:129:25: error: static assertion failed
129 | static_assert(lexy::is_token_rule<Token>);
| ~~~~~~^~~~~~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/capture.hpp:129:25: note: ‘lexy::is_token_rule<lexyd::_br<lexyd::_calt<lexyd::ascii::_word, lexyd::_ccp<43>, lexyd::_ccp<42>, lexyd::_ccp<46>, lexyd::_ccp<58>, lexyd::_ccp<33>, lexyd::_ccp<63>, lexyd::_ccp<36>, lexyd::_ccp<37>, lexyd::_ccp<38>, lexyd::_ccp<64>, lexyd::_ccp<40>, lexyd::_ccp<41>, lexyd::_ccp<60>, lexyd::_ccp<62>, lexyd::_ccp<39>, lexyd::_ccp<96>, lexyd::_ccp<124>, lexyd::_ccp<94>, lexyd::_ccp<126>, lexyd::_ccp<92> >, lexyd::_whl<lexyd::_calt<lexyd::ascii::_word, lexyd::_ccp<43>, lexyd::_ccp<42>, lexyd::_ccp<46>, lexyd::_ccp<58>, lexyd::_ccp<33>, lexyd::_ccp<63>, lexyd::_ccp<36>, lexyd::_ccp<37>, lexyd::_ccp<38>, lexyd::_ccp<64>, lexyd::_ccp<40>, lexyd::_ccp<41>, lexyd::_ccp<60>, lexyd::_ccp<62>, lexyd::_ccp<39>, lexyd::_ccp<96>, lexyd::_ccp<124>, lexyd::_ccp<94>, lexyd::_ccp<126>, lexyd::_ccp<92> > > > >’ evaluates to false
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp: In lambda function:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:49: error: no match for ‘operator/’ (operand types are ‘const lexyd::ascii::_blank’ and ‘lexy::_detail::to_type_string<lexyd::_lit, lexy::_detail::string_literal<2, char>{"/"}>’ {aka ‘lexyd::_lit<char, '/', '*'>’})
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ~~~~~~~~~~~~~~~~~ ^
| |
| const lexyd::ascii::_blank
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:292:16: note: candidate: ‘template<class T1, class L1, class ... R1, class T2, class L2, class ... R2> constexpr auto lexyd::operator/(lexyd::_op<Tag, Literal, R ...>, lexyd::_op<T2, L2, R2 ...>)’
292 | constexpr auto operator/(_op<T1, L1, R1...> lhs, _op<T2, L2, R2...> rhs)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:292:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:51: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_op<Tag, Literal, R ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^~~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:297:16: note: candidate: ‘template<class ... Ops, class T2, class L2, class ... R2> constexpr auto lexyd::operator/(lexyd::_opc<Ops ...>, lexyd::_op<T2, L2, R2 ...>)’
297 | constexpr auto operator/(_opc<Ops...>, _op<T2, L2, R2...> rhs)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:297:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:51: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_opc<Ops ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^~~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:302:16: note: candidate: ‘template<class T1, class L1, class ... R1, class ... Ops> constexpr auto lexyd::operator/(lexyd::_op<Tag, Literal, R ...>, lexyd::_opc<Ops ...>)’
302 | constexpr auto operator/(_op<T1, L1, R1...> lhs, _opc<Ops...>)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:302:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:51: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_op<Tag, Literal, R ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^~~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:307:16: note: candidate: ‘template<class ... O1, class ... O2> constexpr auto lexyd::operator/(lexyd::_opc<Ops ...>, lexyd::_opc<O2 ...>)’
307 | constexpr auto operator/(_opc<O1...>, _opc<O2...>)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:307:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:51: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_opc<Ops ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^~~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:423:16: note: candidate: ‘template<class R1, class R2> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(r1)), decltype (lexyd::_make_char_class(r2))> lexyd::operator/(R1, R2)’
423 | constexpr auto operator/(R1 r1, R2 r2)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:423:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp: In substitution of ‘template<class R1, class R2> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(r1)), decltype (lexyd::_make_char_class(r2))> lexyd::operator/(R1, R2) [with R1 = lexyd::ascii::_blank; R2 = lexyd::_lit<char, '/', '*'>]’:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:51: required from here
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: error: no matching function for call to ‘_make_char_class(lexyd::_lit<char, '/', '*'>&)’
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:359:16: note: candidate: ‘template<class C, class> constexpr auto lexyd::_make_char_class(C)’
359 | constexpr auto _make_char_class(C c)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:359:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:366:16: note: candidate: ‘template<class CharT, CharT C, class> constexpr auto lexyd::_make_char_class(lexyd::_lit<CharT, C>)’
366 | constexpr auto _make_char_class(_lit<CharT, C>)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:366:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: note: candidate expects 1 argument, 2 provided
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:374:16: note: candidate: ‘template<char32_t CP> constexpr auto lexyd::_make_char_class(lexyd::_lcp<CP>)’
374 | constexpr auto _make_char_class(_lcp<CP>)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:374:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: note: ‘lexyd::_lit<char, '/', '*'>’ is not derived from ‘lexyd::_lcp<CP>’
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:16: note: candidate: ‘template<class ... Cs, class C> constexpr lexyd::_calt<Cs ..., decltype (lexyd::_make_char_class(c))> lexyd::operator/(lexyd::_calt<Cs ...>, C)’
430 | constexpr auto operator/(_calt<Cs...>, C c) -> _calt<Cs..., decltype(_make_char_class(c))>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:51: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_calt<Cs ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^~~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:435:16: note: candidate: ‘template<class C, class ... Cs> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(c)), Cs ...> lexyd::operator/(C, lexyd::_calt<Cs ...>)’
435 | constexpr auto operator/(C c, _calt<Cs...>) -> _calt<decltype(_make_char_class(c)), Cs...>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:435:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:51: note: ‘lexyd::_lit<char, '/', '*'>’ is not derived from ‘lexyd::_calt<Cs ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^~~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:441:16: note: candidate: ‘template<class ... Cs, class ... Ds> constexpr lexyd::_calt<Cs ..., Ds ...> lexyd::operator/(lexyd::_calt<Cs ...>, lexyd::_calt<Cs ...>)’
441 | constexpr auto operator/(_calt<Cs...>, _calt<Ds...>) -> _calt<Cs..., Ds...>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:441:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:51: note: ‘lexyd::ascii::_blank’ is not derived from ‘lexyd::_calt<Cs ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^~~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:106: error: no match for ‘operator/’ (operand types are ‘lexyd::_calt<lexyd::_ccp<59>, lexyd::_ccp<44> >’ and ‘lexyd::_token<lexyd::_nullopt>’)
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | lexyd::_token<lexyd::_nullopt>
| lexyd::_calt<lexyd::_ccp<59>, lexyd::_ccp<44> >
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:292:16: note: candidate: ‘template<class T1, class L1, class ... R1, class T2, class L2, class ... R2> constexpr auto lexyd::operator/(lexyd::_op<Tag, Literal, R ...>, lexyd::_op<T2, L2, R2 ...>)’
292 | constexpr auto operator/(_op<T1, L1, R1...> lhs, _op<T2, L2, R2...> rhs)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:292:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:130: note: ‘lexyd::_calt<lexyd::_ccp<59>, lexyd::_ccp<44> >’ is not derived from ‘lexyd::_op<Tag, Literal, R ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:297:16: note: candidate: ‘template<class ... Ops, class T2, class L2, class ... R2> constexpr auto lexyd::operator/(lexyd::_opc<Ops ...>, lexyd::_op<T2, L2, R2 ...>)’
297 | constexpr auto operator/(_opc<Ops...>, _op<T2, L2, R2...> rhs)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:297:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:130: note: ‘lexyd::_calt<lexyd::_ccp<59>, lexyd::_ccp<44> >’ is not derived from ‘lexyd::_opc<Ops ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:302:16: note: candidate: ‘template<class T1, class L1, class ... R1, class ... Ops> constexpr auto lexyd::operator/(lexyd::_op<Tag, Literal, R ...>, lexyd::_opc<Ops ...>)’
302 | constexpr auto operator/(_op<T1, L1, R1...> lhs, _opc<Ops...>)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:302:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:130: note: ‘lexyd::_calt<lexyd::_ccp<59>, lexyd::_ccp<44> >’ is not derived from ‘lexyd::_op<Tag, Literal, R ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:307:16: note: candidate: ‘template<class ... O1, class ... O2> constexpr auto lexyd::operator/(lexyd::_opc<Ops ...>, lexyd::_opc<O2 ...>)’
307 | constexpr auto operator/(_opc<O1...>, _opc<O2...>)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:307:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:130: note: ‘lexyd::_calt<lexyd::_ccp<59>, lexyd::_ccp<44> >’ is not derived from ‘lexyd::_opc<Ops ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:423:16: note: candidate: ‘template<class R1, class R2> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(r1)), decltype (lexyd::_make_char_class(r2))> lexyd::operator/(R1, R2)’
423 | constexpr auto operator/(R1 r1, R2 r2)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:423:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp: In substitution of ‘template<class R1, class R2> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(r1)), decltype (lexyd::_make_char_class(r2))> lexyd::operator/(R1, R2) [with R1 = lexyd::_calt<lexyd::_ccp<59>, lexyd::_ccp<44> >; R2 = lexyd::_token<lexyd::_nullopt>]’:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:130: required from here
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: error: no matching function for call to ‘_make_char_class(lexyd::_token<lexyd::_nullopt>&)’
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:359:16: note: candidate: ‘template<class C, class> constexpr auto lexyd::_make_char_class(C)’
359 | constexpr auto _make_char_class(C c)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:359:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:366:16: note: candidate: ‘template<class CharT, CharT C, class> constexpr auto lexyd::_make_char_class(lexyd::_lit<CharT, C>)’
366 | constexpr auto _make_char_class(_lit<CharT, C>)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:366:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: note: ‘lexyd::_token<lexyd::_nullopt>’ is not derived from ‘lexyd::_lit<CharT, C>’
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:374:16: note: candidate: ‘template<char32_t CP> constexpr auto lexyd::_make_char_class(lexyd::_lcp<CP>)’
374 | constexpr auto _make_char_class(_lcp<CP>)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:374:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:424:71: note: ‘lexyd::_token<lexyd::_nullopt>’ is not derived from ‘lexyd::_lcp<CP>’
424 | -> _calt<decltype(_make_char_class(r1)), decltype(_make_char_class(r2))>
| ~~~~~~~~~~~~~~~~^~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:16: note: candidate: ‘template<class ... Cs, class C> constexpr lexyd::_calt<Cs ..., decltype (lexyd::_make_char_class(c))> lexyd::operator/(lexyd::_calt<Cs ...>, C)’
430 | constexpr auto operator/(_calt<Cs...>, C c) -> _calt<Cs..., decltype(_make_char_class(c))>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp: In substitution of ‘template<class ... Cs, class C> constexpr lexyd::_calt<Cs ..., decltype (lexyd::_make_char_class(c))> lexyd::operator/(lexyd::_calt<Cs ...>, C) [with Cs = {lexyd::_ccp<59>, lexyd::_ccp<44>}; C = lexyd::_token<lexyd::_nullopt>]’:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:130: required from here
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:86: error: no matching function for call to ‘_make_char_class(lexyd::_token<lexyd::_nullopt>&)’
430 | constexpr auto operator/(_calt<Cs...>, C c) -> _calt<Cs..., decltype(_make_char_class(c))>
| ~~~~~~~~~~~~~~~~^~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:359:16: note: candidate: ‘template<class C, class> constexpr auto lexyd::_make_char_class(C)’
359 | constexpr auto _make_char_class(C c)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:359:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:366:16: note: candidate: ‘template<class CharT, CharT C, class> constexpr auto lexyd::_make_char_class(lexyd::_lit<CharT, C>)’
366 | constexpr auto _make_char_class(_lit<CharT, C>)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:366:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:86: note: ‘lexyd::_token<lexyd::_nullopt>’ is not derived from ‘lexyd::_lit<CharT, C>’
430 | constexpr auto operator/(_calt<Cs...>, C c) -> _calt<Cs..., decltype(_make_char_class(c))>
| ~~~~~~~~~~~~~~~~^~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:374:16: note: candidate: ‘template<char32_t CP> constexpr auto lexyd::_make_char_class(lexyd::_lcp<CP>)’
374 | constexpr auto _make_char_class(_lcp<CP>)
| ^~~~~~~~~~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:374:16: note: template argument deduction/substitution failed:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:430:86: note: ‘lexyd::_token<lexyd::_nullopt>’ is not derived from ‘lexyd::_lcp<CP>’
430 | constexpr auto operator/(_calt<Cs...>, C c) -> _calt<Cs..., decltype(_make_char_class(c))>
| ~~~~~~~~~~~~~~~~^~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:435:16: note: candidate: ‘template<class C, class ... Cs> constexpr lexyd::_calt<decltype (lexyd::_make_char_class(c)), Cs ...> lexyd::operator/(C, lexyd::_calt<Cs ...>)’
435 | constexpr auto operator/(C c, _calt<Cs...>) -> _calt<decltype(_make_char_class(c)), Cs...>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:435:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:130: note: ‘lexyd::_token<lexyd::_nullopt>’ is not derived from ‘lexyd::_calt<Cs ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/ascii.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:10,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:441:16: note: candidate: ‘template<class ... Cs, class ... Ds> constexpr lexyd::_calt<Cs ..., Ds ...> lexyd::operator/(lexyd::_calt<Cs ...>, lexyd::_calt<Cs ...>)’
441 | constexpr auto operator/(_calt<Cs...>, _calt<Ds...>) -> _calt<Cs..., Ds...>
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/char_class.hpp:441:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:70:130: note: ‘lexyd::_token<lexyd::_nullopt>’ is not derived from ‘lexyd::_calt<Cs ...>’
70 | dsl::peek(dsl::ascii::blank / LEXY_LIT("/*")) >> (ws+(dsl::lit_c<';'>/dsl::lit_c<','>/dsl::token(dsl::nullopt))+ws)
| ^
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp: At global scope:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:118:86: error: no match for ‘operator/’ (operand types are ‘const lexyd::_lit<char, ';'>’ and ‘const lexyd::_nl’)
118 | static constexpr auto rule = dsl::lookahead(dsl::lit_c<'='>, dsl::lit_c<';'> / dsl::newline) >>
| ~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~
| | |
| | const lexyd::_nl
| const lexyd::_lit<char, ';'>
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:292:16: note: candidate: ‘template<class T1, class L1, class ... R1, class T2, class L2, class ... R2> constexpr auto lexyd::operator/(lexyd::_op<Tag, Literal, R ...>, lexyd::_op<T2, L2, R2 ...>)’
292 | constexpr auto operator/(_op<T1, L1, R1...> lhs, _op<T2, L2, R2...> rhs)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:292:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:118:93: note: ‘lexyd::_lit<char, ';'>’ is not derived from ‘lexyd::_op<Tag, Literal, R ...>’
118 | static constexpr auto rule = dsl::lookahead(dsl::lit_c<'='>, dsl::lit_c<';'> / dsl::newline) >>
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:297:16: note: candidate: ‘template<class ... Ops, class T2, class L2, class ... R2> constexpr auto lexyd::operator/(lexyd::_opc<Ops ...>, lexyd::_op<T2, L2, R2 ...>)’
297 | constexpr auto operator/(_opc<Ops...>, _op<T2, L2, R2...> rhs)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:297:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:118:93: note: ‘lexyd::_lit<char, ';'>’ is not derived from ‘lexyd::_opc<Ops ...>’
118 | static constexpr auto rule = dsl::lookahead(dsl::lit_c<'='>, dsl::lit_c<';'> / dsl::newline) >>
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:302:16: note: candidate: ‘template<class T1, class L1, class ... R1, class ... Ops> constexpr auto lexyd::operator/(lexyd::_op<Tag, Literal, R ...>, lexyd::_opc<Ops ...>)’
302 | constexpr auto operator/(_op<T1, L1, R1...> lhs, _opc<Ops...>)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:302:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:118:93: note: ‘lexyd::_lit<char, ';'>’ is not derived from ‘lexyd::_op<Tag, Literal, R ...>’
118 | static constexpr auto rule = dsl::lookahead(dsl::lit_c<'='>, dsl::lit_c<';'> / dsl::newline) >>
| ^~~~~~~
In file included from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/sign.hpp:11,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback/integer.hpp:8,
from /home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/callback.hpp:17,
from /home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:9,
from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:307:16: note: candidate: ‘template<class ... O1, class ... O2> constexpr auto lexyd::operator/(lexyd::_opc<Ops ...>, lexyd::_opc<O2 ...>)’
307 | constexpr auto operator/(_opc<O1...>, _opc<O2...>)
| ^~~~~~~~
/home/shi/Workspace/dot_parser_cpp/lib/lexy/include/lexy/dsl/operator.hpp:307:16: note: template argument deduction/substitution failed:
In file included from /home/shi/Workspace/dot_parser_cpp/src/parser.cpp:1:
/home/shi/Workspace/dot_parser_cpp/src/include/parser.hpp:118:93: note: ‘lexyd::_lit<char, ';'>’ is not derived from ‘lexyd::_opc<Ops ...>’
118 | static constexpr auto rule = dsl::lookahead(dsl::lit_c<'='>, dsl::lit_c<';'> / dsl::newline) >>
|
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.