qt5base-lts/util/lexgen
Allan Sandfeld Jensen b3959b515f Update qcssscanner so it can parse our normal offline documentation CSS
Adds the three CSS3 attribute selectors.

During this the internal naming of the existing attribute-selectors have
been changed to be more clear, and the dash-matching has been fixed to
not just be beginsWith.

A non-breaking space have also been removed from the CSS.

Change-Id: Ia4db4a5a19e3ceee8c3c8a4b744149edd1d32bdc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
2016-07-26 13:26:00 +00:00
..
tests Updated license headers 2016-01-21 18:55:18 +00:00
configfile.cpp Updated license headers 2016-01-21 18:55:18 +00:00
configfile.h Fix compilation on qt css lexer generator 2016-07-19 18:40:53 +00:00
css2-simplified.lexgen Update qcssscanner so it can parse our normal offline documentation CSS 2016-07-26 13:26:00 +00:00
generator.cpp Updated license headers 2016-01-21 18:55:18 +00:00
generator.h Updated license headers 2016-01-21 18:55:18 +00:00
global.h Updated license headers 2016-01-21 18:55:18 +00:00
lexgen.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen.pri Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
lexgen.pro Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
main.cpp Updated license headers 2016-01-21 18:55:18 +00:00
nfa.cpp Updated license headers 2016-01-21 18:55:18 +00:00
nfa.h Updated license headers 2016-01-21 18:55:18 +00:00
re2nfa.cpp Updated license headers 2016-01-21 18:55:18 +00:00
re2nfa.h Updated license headers 2016-01-21 18:55:18 +00:00
README Nokia -> Qt Project 2013-02-05 20:53:57 +01:00
test.lexgen Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
tokenizer.cpp Updated license headers 2016-01-21 18:55:18 +00:00

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>