Commit graph

7 commits

Author SHA1 Message Date
33363ab2d3 Fixed Data bug
• Fixed bug where Data::consumeWhile and Data::consumeUntil wouldn't move the pointer back one position if there were no matches.
• Changed DataStream to Data.
• Made each class have its own debug static property so each can print debug information separately.
2018-08-27 14:57:47 -05:00
fd886d9a3a DataStream fixes
• Removed dependency on ext-mbstring.
• Fixed bug where when using DataStream::consumeUntil and DataStream::consumeWhile where the column would be advanced whether the pointer was moved or not.
2018-08-24 08:35:55 -05:00
1b172f4d61 Rewrote DataStream
• Changed DataStream from using an internal array storage to using /mensbeam/intl, much more efficient and in line with the specification.
• DataStream now calculates the line and column as it goes instead of relying upon a weird array of positions.
• Removed dependency on ext-intl.
2018-08-23 23:17:27 -05:00
37205029a3 Decoupled Stack from Parser 2018-08-04 18:01:15 -05:00
027e5b9f58 Moved tokenizer to its own class
• Changed the name of the parser instance variable from Parser::$self to Parser::$instance
• Added parse errors for entities into ParseError.
• Moved Parser::fixDOM to DOM::fixIdAttributes.
• Added an exception for when the tokenizer enters an invalid state (infinite looping).
• Made ParseError use Parser::$instance->data instead of a passed around DataStream object.
2018-08-01 16:40:03 -05:00
6f74630c98 Begin Implementation of Tree Builder
• Added parsing instructions for tokens in foreign content
2018-04-08 10:46:30 -05:00
a89f6c9f09 Beginning Rewrite 2018-03-21 10:55:32 -05:00