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

1877 Commits

Author SHA1 Message Date
Rob Rix
51166a0e0f Explore Indexed terms in diffs. 2015-11-04 16:34:37 -05:00
Rob Rix
51293d2202 Variadic branch convenience constructor. 2015-11-04 16:34:20 -05:00
Rob Rix
bac71d1f24 Construct Location over variadic branches. 2015-11-04 16:34:03 -05:00
Rob Rix
80a29789ad Patches & leaves are nullary. 2015-11-04 16:22:42 -05:00
Rob Rix
29645e0d99 Stub in Free.explore() 2015-11-04 16:22:29 -05:00
Rob Rix
d362c1b26f Formatting. 2015-11-04 16:15:26 -05:00
Rob Rix
63aaa39ba4 The private properties are implementation details. 2015-11-04 16:14:43 -05:00
Rob Rix
c1f3b5e01f Reference the specific section of Weaving a Web implemented. 2015-11-04 12:50:34 -05:00
Rob Rix
31dd09a080 Document Location. 2015-11-04 12:43:50 -05:00
Rob Rix
920c08c80e Document a couple of fields. 2015-11-04 12:43:46 -05:00
Rob Rix
d29277a60a Correct a couple of comments. 2015-11-04 12:43:37 -05:00
Rob Rix
03def65a8e Add Location. 2015-11-04 12:11:18 -05:00
joshvera
7f014eff8e Merge branch 'master' into syntax-highlighting 2015-11-03 17:09:06 -05:00
Rob Rix
5b23d62b48 Split mode. 2015-11-03 15:38:59 -05:00
Rob Rix
9e1ceccc77 Highlight for/in statements. 2015-11-03 15:30:34 -05:00
Rob Rix
e096881578 Rename rangeAndSyntaxToDOM. 2015-11-03 15:26:32 -05:00
Rob Rix
f5c21074c5 Don’t flatten terms. 2015-11-03 15:25:52 -05:00
Rob Rix
ea96c3d580 Highlight within patches. 2015-11-03 15:16:43 -05:00
Rob Rix
5e6c94fd75 Pass the whole annotation into rangeAndSyntaxToDOM. 2015-11-03 15:16:36 -05:00
Rob Rix
dbeb9073a3 Highlight function names. 2015-11-03 15:13:39 -05:00
Rob Rix
f38da39f86 Highlight regexps. 2015-11-03 15:12:44 -05:00
Rob Rix
94c6297026 Highlight type names. 2015-11-03 15:09:55 -05:00
Rob Rix
a33eec8c58 Highlight new. 2015-11-03 15:09:50 -05:00
Rob Rix
dbc59507e9 Highlight undefined. 2015-11-03 15:07:20 -05:00
Rob Rix
787cb679b1 Highlight null. 2015-11-03 15:07:17 -05:00
Rob Rix
1216c34d21 Highlight the operators en masse. 2015-11-03 15:06:58 -05:00
Rob Rix
fbf1704425 Highlight function calls. 2015-11-03 15:00:49 -05:00
Rob Rix
85e634dbd1 Highlight assignments. 2015-11-03 14:57:22 -05:00
Rob Rix
767aecd690 Highlight relational operators. 2015-11-03 14:56:52 -05:00
Rob Rix
50c7575ecd Highlight ternaries. 2015-11-03 14:55:51 -05:00
Rob Rix
440a7326fb Highlight true and false. 2015-11-03 14:54:28 -05:00
Rob Rix
e1a4a97c46 Highlight keys in objects. 2015-11-03 14:51:41 -05:00
Rob Rix
f006b7f95c Only match the assigned-to property with this rule. 2015-11-03 14:49:45 -05:00
Rob Rix
684a6f24ae Match member assignment a little more carefully. 2015-11-03 14:48:30 -05:00
Rob Rix
eca1b0e2b2 Match member access a little more carefully. 2015-11-03 14:48:22 -05:00
Rob Rix
9b78911a04 Highlight a bunch of operators and statements. 2015-11-03 14:40:37 -05:00
Rob Rix
fbeee38bd4 Highlight comments. 2015-11-03 14:35:19 -05:00
Rob Rix
4deba67404 Highlight member accesses. 2015-11-03 14:35:12 -05:00
Josh Vera
28d89241d5 Merge pull request #210 from github/benchmark-parsing-and-diffing
Benchmarks & optimization
2015-11-03 14:34:50 -05:00
Rob Rix
ad9e9f7a1d Don’t inherit syntax highlighting by default. 2015-11-03 14:31:36 -05:00
Rob Rix
0c9698c75d Prefix the highlighting selectors with .diff. 2015-11-03 14:31:22 -05:00
Rob Rix
2081b7447f Highlight numbers. 2015-11-03 14:12:45 -05:00
Rob Rix
2d18d653c8 Highlight strings. 2015-11-03 14:12:41 -05:00
Rob Rix
880d51ffd8 Add CSS classes for the various categories. 2015-11-03 14:08:32 -05:00
Rob Rix
547ab8d3d2 Unpack the ranges. 2015-11-03 14:03:55 -05:00
Rob Rix
4ff4f570bd We no longer use termToDOM. 2015-11-03 13:59:57 -05:00
Rob Rix
4a31774d98 Extract the correct ranges. 2015-11-03 13:58:59 -05:00
Rob Rix
ad3462b135 Terms are annotated with their categories in the JSON too. 2015-11-03 13:20:38 -05:00
Rob Rix
edcb850f93 Extract range & categories. 2015-11-03 13:20:01 -05:00
Rob Rix
9be365ce30 Indentation. 2015-11-03 13:12:35 -05:00