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

anachronauts / jeff65 / 302 / 2
89%
master: 88%

Build:
Build:
LAST BUILD BRANCH: pass-schedule
DEFAULT BRANCH: master
Ran 18 Aug 2018 11:15PM UTC
Files 23
Run time 1s
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

18 Aug 2018 11:08PM UTC coverage: 89.207%. First build
302.2

push

travis-ci

jdpage
Store decendents of AstNodes exclusively in attrs

Ultimately this simplifies the code, especially sequence handling, since
it can now just be pattern matched as a linked list.

This was brought on by my reading of the Dragon Book, where I noticed
that it didn't distinguish between "children" and "attributes" of AST
nodes. This clicked with me, since I'd been struggling to determine what
should be a child vs. an attr since the AstNode structure was
introduced.

This also has a nice benefit that we no longer need the weird behavior
where if you return a list from transform_exit, it'll get spliced into
the child list of the parent. All transforms return exactly one node; if
you need to return multiple, match the containing list node and rewrite
the linked list appropriately.

496 of 564 branches covered (87.94%)

Branch coverage included in aggregate %.

1496 of 1669 relevant lines covered (89.63%)

0.9 hits per line

Source Files on job 302.2
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 120
  • Travis Job 302.2
  • 701c23bf on github
  • Next Job for on childless-ast (#307.1)
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