Skip to content

refactor(tokenizer): Introduce sequences & fast forwarding#1007

Merged
fb55 merged 13 commits intomasterfrom
refactor/sequences
Nov 11, 2021
Merged

refactor(tokenizer): Introduce sequences & fast forwarding#1007
fb55 merged 13 commits intomasterfrom
refactor/sequences

Conversation

@fb55
Copy link
Owner

@fb55 fb55 commented Nov 11, 2021

Sequences allow us to remove a lot of repetitive states. Fast forwarding allows us to skip ahead in the buffer, if we are only looking for one specific character.

Also fixes a bug where immediately closed comments (eg. <!-->) wouldn't be recognised.

@coveralls
Copy link

coveralls commented Nov 11, 2021

Pull Request Test Coverage Report for Build 1446853899

  • 149 of 149 (100.0%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.04%) to 99.473%

Totals Coverage Status
Change from base Build 1446358020: -0.04%
Covered Lines: 755
Relevant Lines: 759

💛 - Coveralls

@fb55 fb55 merged commit 6a1b54d into master Nov 11, 2021
@fb55 fb55 deleted the refactor/sequences branch November 11, 2021 01:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants