aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/inc/Parsing/Lexer
Commit message (Collapse)AuthorAge
* Use str_starts_with/str_ends_withfiwswe2023-09-14
|
* code style: line breaksAndreas Gohr2023-08-31
|
* code style: operator spacingAndreas Gohr2023-08-31
|
* Apply rector fixes to inc/ParsingAndreas Gohr2023-08-29
|
* Update core code to make use of sexplode()Andreas Gohr2022-10-19
| | | | | This makes use of our own explode mechanism everywhere were we expect a fixed number of results.
* PHP 8: rename match() to apply() in Lexer #3298Andreas Gohr2020-12-03
|
* Move defines to their own fileAndreas Gohr2020-06-04
| | | | | | | | | | | | | | | | | | | As described in https://github.com/dwp-forge/columns/issues/5#issuecomment-638467603 sometime the Lexer constants have not been (auto)loaded when a syntax plugin is invoked (I'm not sure why). In general PSR2 discourages a mix of main code and function/class setup with the call to define() being considered main code. This patch moves these the define calls to a separate new file, solving both of the above problems. These are not all our defines. Instead I focused on the ones that are ENUM-like. In the future we should think about what defines can be replaced by class constants and what other define() calls should be moved.
* Let plugins access the lexer mode stackAnna Dabrowska2020-04-08
|
* Make lexer/state stack more understandableChristopher Smith2018-05-23
| | | | | | - rename lexer $mode property to avoid two different uses of "mode" variables in the lexer - clarify/improve comments
* moved all parsing related namespaces to their ownAndreas Gohr2018-05-04