On Sunday, 2 April 2017 at 14:15:50 UTC, rikki cattermole wrote:
On 02/04/2017 2:58 PM, Begah wrote:
[...]

Quite out of date.

Here is some code that worked for me:

string raw_input = ...;

        auto domBuilder = raw_input
                .lexer
                        .parser
                        .cursor((CursorError err){})
                        .domBuilder;
        domBuilder.setSource(raw_input);
        domBuilder.buildRecursive;
        auto dom = domBuilder.getDocument;

Dub/Dmd still complains that there is no property/function 'lexer' for type string.

Reply via email to