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

graphql / graphql-js / 2325
98%
master: 98%

Build:
Build:
LAST BUILD BRANCH: directives
DEFAULT BRANCH: master
Ran 22 Jun 2017 12:33AM UTC
Jobs 1
Files 161
Run time 8s
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

pending completion
2325

push

travis-ci

leebyron
RFC: Multi-line String

This RFC adds a new lexed token, the multi-line string, similar to that found in Python and Scala.

A multi-line string starts and ends with a triple-quote:

```
"""This is a triple-quoted string
and it can contain multiple lines"""
```

Multi-line strings are useful for typing literal bodies of text where new lines should be interpretted literally. In fact, the only escape sequence used is `\"""` and `\` is otherwise allowed unescaped. This is beneficial when writing documentation within strings which may reference the back-slash often:

```
"""
In a multi-line string \n and C:\\ are unescaped.
"""
```

The primary value of multi-line strings are to write long-form input directly in query text, in tools like GraphiQL, and as a prerequisite to another pending RFC to allow docstring style documentation in the Schema Definition Language.

3408 of 3760 branches covered (90.64%)

47 of 47 new or added lines in 4 files covered. (100.0%)

8912 of 9091 relevant lines covered (98.03%)

1283.68 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/language/parser.js
1
100.0
src/language/__tests__/visitor-test.js
Jobs
ID Job ID Ran Files Coverage
1 2325.1 22 Jun 2017 12:33AM UTC 0
98.03
Travis Job 2325.1
Source Files on build 2325
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2325
  • ba1fcc09 on github
  • Prev Build on rfc-longstring (#2323)
  • Next Build on rfc-longstring (#2327)
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