• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

type-ruby / t-ruby / 20560733162

28 Dec 2025 10:59PM UTC coverage: 79.076% (+1.7%) from 77.331%
20560733162

Pull #29

github

web-flow
Merge 5e12f0648 into fda099366
Pull Request #29: refactor: migrate parser from regex to token-based parser combinator

1849 of 2098 new or added lines in 53 files covered. (88.13%)

6 existing lines in 2 files now uncovered.

6644 of 8402 relevant lines covered (79.08%)

908.09 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

71.43
/lib/t_ruby/parser_combinator/primitives/fail.rb
1
# frozen_string_literal: true
2

3
module TRuby
1✔
4
  module ParserCombinator
1✔
5
    # Always fail
6
    class Fail < Parser
1✔
7
      def initialize(message)
1✔
NEW
8
        @message = message
×
9
      end
10

11
      def parse(input, position = 0)
1✔
NEW
12
        ParseResult.failure(@message, input, position)
×
13
      end
14
    end
15
  end
16
end
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc