qt5base-lts/util/lexgen
Allan Sandfeld Jensen 997fa05d90 Handle indirect sibling selector
Adds parsing and handling of the indirect sibling selector, this should
mean we can at least parse all CSS3 selectors even if we do not yet
support all of them.

Also adds tests for previously added CSS3 selectors.

Change-Id: I1ce9afb9466044a38bdec167affc21a87837e4a4
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2016-07-27 20:18:02 +00:00
..
tests
configfile.cpp
configfile.h
css3-simplified.lexgen Handle indirect sibling selector 2016-07-27 20:18:02 +00:00
generator.cpp
generator.h
global.h
lexgen.lexgen
lexgen.pri
lexgen.pro
main.cpp
nfa.cpp
nfa.h
re2nfa.cpp
re2nfa.h
README
test.lexgen
tokenizer.cpp

Lexgen
------

This is a little tool to generate lexical scanners from a rather simplistic
configuration file. We use it internally in Qt to generate the scanner for the
CSS parser that is built into the toolkit (used for the widget styling and the
HTML import into QTextDocument).

Beware, it's very slow (in generating the code) and it may not generate what
you want. But I like that it generates code that operates on QChar and friends.

Use at your own risk ;-)


--
Simon Hausmann <simon.hausmann@digia.com>