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

renatahodovan / grammarinator
83%
master: 85%

Build:
Build:
LAST BUILD BRANCH: cxx-std-conf
DEFAULT BRANCH: master
Repo Added 18 Jul 2017 11:19AM UTC
Files 26
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-parser
branch: fix-parser
CHANGE BRANCH
x
Reset
  • fix-parser
  • 17.7
  • 18.10
  • 19.3
  • 23.7
  • actions-upgrade
  • add-conan
  • add-lstnr
  • adjust-parse
  • analyze2
  • antlr-4.13
  • antlr-4.8
  • antlr-cov
  • antlr-param
  • antlr-up
  • antlr-update
  • antlr4.12.0
  • api-doc
  • appveyor
  • arg-parse
  • argret
  • badge
  • bump-fbs-24.12.23
  • bump-rtd-os-u24.04
  • c++-support
  • calc_min_sizes
  • charsets-rework
  • choice
  • choice-simp
  • cite
  • cleanup-cxx-template
  • cli-refactor
  • codec-enc
  • codec-inf
  • concept-select-donor
  • condvar
  • confighpp
  • const-mutate-v2
  • copy
  • copy-resources
  • cpp-build-impr
  • cpp-indv
  • cpp-readme
  • ctxm
  • custom-weights
  • cxx-build-impr
  • cxx-build-install-abspath
  • cxx-build-subprocess-check
  • cxx-std-conf
  • cxx-template-comp-error-fix
  • dbg-annotate
  • dbg-members
  • decode
  • del-bb
  • din-max-depth
  • din-max-depth-ctx
  • doc
  • drop-py36-actions
  • dry
  • dup-rule
  • empty
  • encode-fix
  • eof-fix
  • esc-lit
  • ex-html-cpp
  • example-ascii
  • fbs-24.3.25
  • fbs-xxh-header-only
  • fbtc-cu
  • filter-immutable
  • fix-alts
  • fix-badge-url
  • fix-chain
  • fix-cool
  • fix-decode
  • fix-duprule
  • fix-exit
  • fix-html-srl
  • fix-lint
  • fix-lint-default-dict
  • fix-model-docs
  • fix-not-set
  • fix-parse-lit
  • fix-pop-check
  • fix-pylint
  • fix-pytest
  • fix-rec
  • fix-rule-id
  • fstring-check
  • gen-cool
  • gen-recursion
  • gen-typo
  • generate-name
  • generator
  • gha-fail-fast-false
  • gha-pypy311
  • gr-lf-cite
  • grammar-test-maintenance
  • ignore-dotantlr
  • img-root
  • immut-fix
  • immut-parse
  • immutable2
  • imp-lit
  • impr-format
  • individual2
  • infra-maintenance
  • init-after
  • inp-form
  • input-mutator-selection
  • input-reference
  • insert-local
  • invalid
  • label-prefix
  • label-up
  • lf-memo-2
  • lfiles
  • license
  • license-24
  • license-spdx
  • lint
  • linting
  • listener-support2
  • listener-test
  • listeners-enter-exit-cxx
  • literals
  • master
  • master_test
  • members
  • memo
  • merge-tokens
  • model-refact
  • model-test
  • multi-label
  • named-decisions
  • new-nodes-v2
  • new-ops-v5
  • no-cleanup
  • no-eof
  • no-exc
  • no-kwargs
  • no-obj-super
  • no-pass
  • no-self-use
  • no-vars
  • no-yield
  • node20
  • nodekeytype
  • non-gcc-clang-build
  • norm-cool
  • opt-lookup
  • parallel-seed
  • parse-eof
  • parse-err
  • parse-labeled
  • parse-public
  • parse-readme
  • parse-test
  • parser-strict
  • pass-parent2
  • pep8-pyonly
  • pkgdata-metadata
  • pop-mkdir
  • pop-name
  • pop-select
  • population-empty
  • print-fix
  • print-tree
  • proc-named-ids
  • pub-gen
  • py-flat
  • py3.11
  • py35
  • py36
  • py36-tests
  • py37
  • py38
  • py39
  • pylint-fix
  • pylint-fixes
  • pytest-cov-subprocess
  • quant-bt
  • random
  • random-mutators
  • range-error
  • readme-grammarinator-generate-html
  • recurr_rule_id
  • remove-all
  • rename-single
  • repl-impr
  • replquant-maxtokenlimit
  • rm-configh
  • rule-choice
  • rule-dbg
  • rule-fixmes
  • rule-getattr
  • rule-sizes
  • rule_id
  • rulesize-operators
  • save-tree
  • serializer
  • serializer-cu
  • setuptools-fix
  • shields-badges
  • simp-empty
  • simple-dot
  • simplify-gentoolhelper
  • slots
  • sphinx-build-docs-dir-runcmd
  • split-line
  • sss
  • staticdata
  • swap-nodes
  • templating
  • token-limit-review
  • token_counts
  • travis-appv
  • travis-depth-false
  • travis-win-osx
  • tree-print
  • tree-print-fix
  • tree_compare
  • tuple-ids-v2
  • typing-2
  • typo-json
  • uni
  • uniprop
  • unlexerrule-name
  • unrestricted-init
  • update-example
  • xxhash-case

27 Feb 2025 11:24PM UTC coverage: 83.05% (-0.6%) from 83.697%
13577849894

Pull #282

github

renatahodovan
Fix literal matching in parser

Ensure correct matching between grammar tree nodes and grammar
graph lexer nodes by enforcing the following conditions:

* The grammar graph node must be an UnlexerRuleNode, and the
  tree node must be an UnlexerRule.
* Their names must match, or if the tree node is named
  ('<INVALID>',), the graph node’s name must start with T__,
  indicating a constant literal.
* In the latter case, the content of the literals must also be
  compared by checking the src field of the tree node against
  the src field of the single LiteralNode neighbor in the grammar graph.

This patch ensures that this comparison is correctly applied.
Pull Request #282: Fix literal matching in parser

1 of 1 new or added line in 1 file covered. (100.0%)

36 existing lines in 3 files now uncovered.

2053 of 2472 relevant lines covered (83.05%)

0.83 hits per line

Relevant lines Covered
Build:
Build:
2472 RELEVANT LINES 2053 COVERED LINES
0.83 HITS PER LINE
Source Files on fix-parser
  • Tree
  • List 26
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
13577849894 fix-parser Fix literal matching in parser Ensure correct matching between grammar tree nodes and grammar graph lexer nodes by enforcing the following conditions: * The grammar graph node must be an UnlexerRuleNode, and the tree node must be an UnlexerRul... Pull #282 27 Feb 2025 11:26PM UTC renatahodovan github
83.05
13577809248 fix-parser Fix literal matching in parser Ensure correct matching between grammar tree nodes and grammar graph lexer nodes by enforcing the following conditions: * The grammar graph node must be an UnlexerRuleNode, and the tree node must be an UnlexerRul... push 27 Feb 2025 11:23PM UTC renatahodovan github
84.06
See All Builds (1051)
  • Repo on GitHub
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

© 2025 Coveralls, Inc