1
1
mirror of https://github.com/github/semantic.git synced 2024-12-24 15:35:14 +03:00
Commit Graph

9181 Commits

Author SHA1 Message Date
joshvera
783355427a ++text-icu 2016-09-14 09:16:54 -04:00
Rob Rix
86d2a3950f Revert "🔥 a redundant import."
This reverts commit dc5698979818d0057eb558ec3ce2d8e09c941f44.
2016-09-14 02:44:26 -04:00
Rob Rix
85bb9d577a Revert "Move totalSpan into Source."
This reverts commit 3085a4efe5b6b3e8807df6a05db784afccab58e2.
2016-09-14 02:41:28 -04:00
Rob Rix
25306dba99 🔥 a redundant import. 2016-09-14 02:19:24 -04:00
Rob Rix
6b65574193 Correct the end column.
Oy vey.
2016-09-14 02:18:57 -04:00
Rob Rix
979abfefab Avoid repeated Range computations. 2016-09-14 02:10:30 -04:00
Rob Rix
4a06d76054 Move cmarkParser to its own module. 2016-09-14 02:08:27 -04:00
Rob Rix
88865f2c09 Traverse nodes within their parent spans. 2016-09-14 02:04:38 -04:00
Rob Rix
da19d6672e Use totalSpan to define errorNode. 2016-09-14 01:58:38 -04:00
Rob Rix
6317228466 Move totalSpan into Source. 2016-09-14 01:57:51 -04:00
Rob Rix
f30fe7b358 Trim out nodes without positions. 2016-09-14 01:56:25 -04:00
Rob Rix
89a769ca35 Convert between 0- and 1-indexed spans. 2016-09-14 01:45:17 -04:00
Rob Rix
27d4cc0775 🔥 an obsolete comment. 2016-09-14 01:44:52 -04:00
Rob Rix
56fd38d9d3 Merge branch 'master' into markdown 2016-09-14 00:12:50 -04:00
Rick Winfrey
8ccf703f5f Update identifiable term to include MethodCall and DoWhile syntaxes constructors
- Unifies isIdentifiable and identifiable functions because
isIdentifiable is never applied on its own.

- Use lambda case and return partially constructed Identifiables.
2016-09-13 17:54:05 -05:00
Rick Winfrey
b9015c3ef5 Merge branch 'master' into do-while-diff-summaries 2016-09-13 16:11:07 -05:00
Rob Rix
5f771deb33 Merge branch 'master' into summarizing-pairs 2016-09-13 16:45:13 -04:00
Rob Rix
9e36a53f07 Merge pull request #825 from github/icu-fixes
ICU fixes
2016-09-13 16:44:51 -04:00
joshvera
c1e09c3c00 Merge remote-tracking branch 'origin/icu-fixes' into rws-large-diffs 2016-09-13 15:56:16 -04:00
Timothy Clem
8762f6352a Merge remote-tracking branch 'origin/master' into summarizing-pairs 2016-09-13 12:48:51 -07:00
joshvera
c9d86fc930 ++text-icu 2016-09-13 15:45:44 -04:00
Timothy Clem
5caee16318 Use ellipsis for Unidentifiable too 2016-09-13 12:45:00 -07:00
Rob Rix
baba6eec73 🔥 the unused outputPath field from DiffArguments. 2016-09-13 15:40:53 -04:00
Rob Rix
12302e17ed Compute a Range for Markdown nodes. 2016-09-13 15:17:27 -04:00
Rob Rix
a6633a5351 🔥 a redundant binding. 2016-09-13 15:10:49 -04:00
Rob Rix
953bf3ba58 Stop hiding ++, Source doesn’t export it any more. 2016-09-13 15:09:55 -04:00
Rob Rix
85fdc3a807 Correct the computation of the end index. 2016-09-13 15:04:25 -04:00
Rob Rix
1c335df1f0 Verify that sourceSpanToRange computes correct ranges within lines. 2016-09-13 15:04:17 -04:00
Rob Rix
e6f4db8ee8 Compute the insetting of SourceSpans & Ranges. 2016-09-13 15:03:58 -04:00
joshvera
b4a94e27a1 ++text-icu 2016-09-13 15:00:40 -04:00
joshvera
e4a0980cf9 ++text-icu 2016-09-13 14:47:06 -04:00
Rob Rix
50e5f8a411 Verify that sourceSpanToRange computes multi-line ranges. 2016-09-13 14:27:52 -04:00
Rob Rix
8de562b88e Verify that totalSpan covers multiple lines. 2016-09-13 14:27:36 -04:00
Rob Rix
1b890bcde4 Verify that totalSpan covers single lines. 2016-09-13 14:27:29 -04:00
Rob Rix
8bdf162874 Rename the line-by-line test. 2016-09-13 14:27:15 -04:00
Rob Rix
c157962785 Add a helper to compute the total span of some source. 2016-09-13 14:27:05 -04:00
joshvera
37925939ea ++text-icu 2016-09-13 13:51:19 -04:00
joshvera
ac313a6b08 ++text-icu 2016-09-13 13:46:18 -04:00
Rob Rix
6ce0ce5e26 Indentation. 2016-09-13 13:14:02 -04:00
joshvera
ed7778ae18 ++text-icu 2016-09-13 12:43:34 -04:00
Rob Rix
c5fed4ac25 Test sourceSpanToRange across arbitrary sources. 2016-09-13 12:37:59 -04:00
Rob Rix
61dd23789d Rename the test. 2016-09-13 12:32:28 -04:00
Rob Rix
03f3cc01d3 Abstract how lengths are summed. 2016-09-13 12:25:55 -04:00
Rob Rix
66f5d39021 Compute the end index. 2016-09-13 12:24:47 -04:00
Rob Rix
07247e83c0 Compute the start index. 2016-09-13 12:23:47 -04:00
Rob Rix
5459bd4313 🔥 This was wrong. 2016-09-13 12:23:25 -04:00
Rob Rix
77ddc0abd8 Source spans are zero-indexed. 2016-09-13 12:23:05 -04:00
Rob Rix
b7d9ab1875 Add a trivial test of SourceSpan -> Range computation. 2016-09-13 12:09:18 -04:00
Rob Rix
7dc8393953 📝 sourceSpanToRange. 2016-09-13 12:00:41 -04:00
Rob Rix
b3248a4a95 Merge branch 'master' into markdown 2016-09-13 11:59:50 -04:00