1
1
mirror of https://github.com/github/semantic.git synced 2024-12-21 05:41:54 +03:00
Commit Graph

185 Commits

Author SHA1 Message Date
Timothy Clem
ab0a6d59dd Merge branch 'master' into fix-json-output-again 2017-05-05 13:30:48 -07:00
Timothy Clem
2b4d4a0e85 Bring back original json structure with 'sourceRange' and identifier only on specific nodes 2017-05-05 09:08:58 -07:00
Rob Rix
eb18e2ef6e Move the GAlign instance for Syntax into Syntax’ module. 2017-05-03 15:45:07 -04:00
Rob Rix
96d2ccf92e Decorate the term with the identifier algebraically. 2017-04-27 16:57:47 -04:00
Rob Rix
4a8311892b 🔥 some unnecessary foralls. 2017-04-03 10:35:00 -04:00
joshvera
81e178fc61 Keep track of clauses before a Method identifier 2017-03-30 18:00:13 -04:00
joshvera
c52623b04b Lookup Identifier term in VarAssignment 2017-03-30 15:12:56 -04:00
Rob Rix
957aa324a3 Merge branch 'master' into typescript 2017-03-30 14:32:22 -04:00
joshvera
b5f9938279 Remove ty from Method and throw every part of a call signature into a list 2017-03-29 16:24:54 -04:00
joshvera
cdbd260b0f Remove type from Function and unpack call signatures 2017-03-29 12:36:05 -04:00
joshvera
ad68312273 Allow type parameters in function and method calls 2017-03-28 18:55:57 -04:00
joshvera
60b47317c1 Relax class heritage structure in Syntax.Class 2017-03-28 18:16:04 -04:00
joshvera
9c5e73897b Add interfaces 2017-03-28 15:54:31 -04:00
joshvera
f86d43a6e5 Add namespace mapping 2017-03-28 15:43:21 -04:00
joshvera
01a8087b0a Map public_field_definition to FieldDecl and fix up VarDecl and VarAssignment mappings 2017-03-28 13:00:15 -04:00
joshvera
d05e297084 Relax VarDecl and VarAssignment constraints 2017-03-27 16:28:37 -04:00
Rick Winfrey
44bb5cfe5b Add ScopedTypeVariables to Syntax 2017-03-16 13:21:25 -07:00
Rick Winfrey
e22b723b6a Add extractLeafValue and maybeIdentifier to Syntax 2017-03-16 13:16:11 -07:00
Timothy Clem
94dc2ac506 Implement NFData instances so we can deepseq 2017-03-13 16:46:52 -07:00
Rob Rix
802fef2d5a Define an Eq1 instance for Syntax. 2017-02-21 16:26:11 -05:00
Timothy Clem
2f230a485e Add receiver to Syntax.Method 2017-02-07 14:53:15 -08:00
Rob Rix
41a10c977f Merge remote-tracking branch 'origin/master' into consolidate-common-term-assignment-patterns 2017-01-25 20:44:58 -05:00
joshvera
bd5b2a4c93 Add optional type to Syntax.Function 2017-01-25 11:41:09 -05:00
Rob Rix
2929fb3cb4 Rename Syntax.Error to ParseError. 2017-01-25 03:09:53 -05:00
Rob Rix
e5902d9358 Switch takes a list of subject clauses. 2017-01-23 15:02:52 -05:00
Rob Rix
f5d22fcc4d Syntax.Ty takes a list of fields. 2017-01-23 14:39:12 -05:00
joshvera
7f396dd7b7 Rename Default to DefaultCase 2017-01-18 14:06:45 -05:00
joshvera
d34b8e2354 Parse methods 2017-01-18 13:38:31 -05:00
joshvera
8e88838495 Merge remote-tracking branch 'origin/master' into more-go-terms 2017-01-18 11:14:03 -05:00
joshvera
fc55bee5fc Change Break and Continue to take a Maybe 2017-01-17 17:20:50 -05:00
joshvera
c3201ed689 Map var declarations to VarDecl 2017-01-17 14:56:59 -05:00
joshvera
52c4f1a7b4 Add tag to FieldDecl 2017-01-17 11:53:44 -05:00
joshvera
20ead53d1c Add send statements 2017-01-12 18:39:09 -05:00
joshvera
98f2407677 Add Ty syntax 2017-01-12 17:56:41 -05:00
Rick Winfrey
9d9e3e295f Add FieldDecl Syntax 2017-01-11 15:06:06 -08:00
joshvera
5d1e105dc3 Parse type declarations 2017-01-10 18:04:34 -05:00
joshvera
0d13819f30 Make a switch statements clause a Maybe 2017-01-10 16:41:55 -05:00
joshvera
cbd132c8dc Add a Default Syntax for default cases 2017-01-10 16:05:55 -05:00
joshvera
3d95799fc7 Handle parameter declarations 2017-01-10 15:09:09 -05:00
Rob Rix
1ee9a60039 🔥 Arbitrary instances. 2017-01-09 14:59:04 -05:00
joshvera
ae40908cd2 Update go tests 2017-01-05 17:08:28 -05:00
Rob Rix
c6b3025635 Define a Listable instance over Syntax leaf recur. 2017-01-05 15:22:56 -05:00
Rob Rix
7676e162cb Define a Listable1 instance over Listable leaf => Syntax leaf. 2017-01-05 15:22:49 -05:00
Rob Rix
15bc5d2cda Define a Listable2 instance over Syntax. 2017-01-05 15:22:29 -05:00
Timothy Clem
91721682a6 Give BEGIN/END their own Syntax 2016-12-12 15:26:26 -08:00
joshvera
563652355d Add ArrayTy, DictionaryTy, StructTy, Struct 2016-12-06 16:09:04 -05:00
Timothy Clem
6e42369ffe Collapse up math assignment into operator assignment syntax 2016-12-06 12:36:56 -08:00
Timothy Clem
048ac119ed Remove need for Binary and Unary - just use operator instead. 2016-12-06 11:43:20 -08:00
Timothy Clem
97c17a1b5c Just moving operator_assignment around 2016-12-06 11:42:41 -08:00
Timothy Clem
907d9d6cff Update termConstruction for ruby with new unary and binary 2016-12-06 11:23:10 -08:00