Re: [Development] who generates gui/text/qcssparser.cpp

2018-10-31 Thread Sérgio Martins via Development

On 2018-10-31 11:40, Martin Koller wrote:

In this file I find:

// auto generated. DO NOT EDIT.
class QCssScanner_Generated

Who/what generates this file ?



Looks like is generated by util/lexgen

$ cd util/lexgen
$ qmake && make
$ ./lexgen css3-simplified.lexgen


Regards,
--
Sérgio Martins | sergio.mart...@kdab.com | Senior Software Engineer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel: Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - The Qt, C++ and OpenGL Experts
___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development


[Development] who generates gui/text/qcssparser.cpp

2018-10-31 Thread Martin Koller
In this file I find:

// auto generated. DO NOT EDIT.
class QCssScanner_Generated

Who/what generates this file ?

I'm looking for the syntax definition for the attribute matching since
the docs only talk about attr=value and attr~=value
but in the code I find others:

enum ValueMatchType {
NoMatch,
MatchEqual,
MatchIncludes,
MatchDashMatch,
MatchBeginsWith,
MatchEndsWith,
MatchContains
};

and I wanted to know which tokens lead to these enum values.

-- 
Best regards/Schöne Grüße

Martin
A: Because it breaks the logical sequence of discussion
Q: Why is top posting bad?

()  ascii ribbon campaign - against html e-mail 
/\- against proprietary attachments

Geschenkideen, Accessoires, Seifen, Kulinarisches: www.lillehus.at


___
Development mailing list
Development@qt-project.org
http://lists.qt-project.org/mailman/listinfo/development