1
1
mirror of https://github.com/github/semantic.git synced 2024-12-26 16:33:03 +03:00
Commit Graph

2214 Commits

Author SHA1 Message Date
Rob Rix
1444acf2a2 Extract another leaf. 2015-11-05 11:14:27 -05:00
Rob Rix
72b1313006 Rename the upper level leaf. 2015-11-05 11:14:04 -05:00
Rob Rix
d37f9bb355 Extract an inner leaf. 2015-11-05 11:13:50 -05:00
Rob Rix
3e0b3797d2 Test that we can move into branches. 2015-11-05 11:10:46 -05:00
Rob Rix
c46426d311 Correct the test of moving back up. 2015-11-05 11:10:08 -05:00
Rob Rix
18aa5bd2d4 Test that we can move back upwards in explorations. 2015-11-05 11:09:36 -05:00
Rob Rix
274fb6bfab Test that leaves are not branches. 2015-11-05 10:57:41 -05:00
Rob Rix
d0c9f27975 Test that the start of exploration can’t move sideways. 2015-11-05 10:57:30 -05:00
Rob Rix
23725c7fd6 Test that exploration starts at a root. 2015-11-05 10:57:07 -05:00
Rob Rix
1ec85928a3 Test the start of exploration. 2015-11-05 10:56:55 -05:00
Rob Rix
f13d2068ab Add some test fixtures. 2015-11-05 10:56:36 -05:00
Rob Rix
b60e3aac24 Stub in a test suite for Location. 2015-11-05 10:56:15 -05:00
Rob Rix
4d867db4c4 Cofree can be explored. 2015-11-05 10:45:21 -05:00
Rob Rix
224f636f9b Remove a bogus default case. 2015-11-05 10:34:27 -05:00
Rob Rix
c6baaf677d Explore Keyed nodes. 2015-11-05 10:33:54 -05:00
Rob Rix
e6429cee40 Convenience helper for keyed locations. 2015-11-05 10:33:49 -05:00
Rob Rix
ccbb3f1bb4 Constructor for keyed locations. 2015-11-05 10:33:43 -05:00
Rob Rix
703db77789 Generalize the helper method to arbitrary mutable collection types. 2015-11-04 16:57:03 -05:00
Rob Rix
50518da5e1 Generalize the variadic constructor to arbitrary mutable collections. 2015-11-04 16:47:39 -05:00
Rob Rix
ad0dffe20c Explore Fixed terms in diffs. 2015-11-04 16:34:47 -05:00
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
joshvera
d99000562b ++Madness 2015-11-04 16:07:25 -05:00
joshvera
aeaabfd6a9 update Info.== 2015-11-04 16:06:54 -05:00
joshvera
eff47e0a3e Construct terms with line and column info 2015-11-04 15:12:22 -05:00
joshvera
dd8d4bac2c Parameterize CofreeJSON by SourcePos 2015-11-04 15:11:35 -05:00
joshvera
92c4141b44 bump Madness 2015-11-04 15:11:09 -05:00
joshvera
2cb3521cb0 Pass Line and Column to Info 2015-11-04 15:11:01 -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
joshvera
26dd51eb49 Merge remote-tracking branch 'origin/master' into line-numbers 2015-11-04 12:34:59 -05:00
joshvera
a8e378cafa ++Madness 2015-11-04 12:34:36 -05:00
Rob Rix
03def65a8e Add Location. 2015-11-04 12:11:18 -05:00
Josh Vera
574ef530c4 Merge pull request #211 from github/syntax-highlighting
Syntax highlighting
2015-11-03 17:11:46 -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