1
1
mirror of https://github.com/github/semantic.git synced 2024-11-28 10:15:55 +03:00
Commit Graph

24344 Commits

Author SHA1 Message Date
Rob Rix
6e5a2aeb9c Rename the AddressError constructors. 2018-07-17 13:59:11 -04:00
Patrick Thomson
1bf1b33819 Store CallStack information in Errors directly.
Adds a `makeError` constructor that provides a HasCallStack
constraint. One should generally use this instead of the Error
constructor.
2018-07-17 13:47:31 -04:00
Patrick Thomson
aab70bd697 Merge pull request #2067 from github/call-graph-grpc
Hook up call graph to gRPC
2018-07-17 13:18:55 -04:00
Patrick Thomson
f14f47d87a Merge remote-tracking branch 'origin/master' into call-graph-grpc 2018-07-17 13:01:29 -04:00
Rick Winfrey
918f9e2de2 Merge pull request #2064 from github/pretty-debug
Easier to read debug output for graphs
2018-07-17 09:53:33 -07:00
Rick Winfrey
922d6ffe2d Merge branch 'master' into pretty-debug 2018-07-17 09:40:08 -07:00
Timothy Clem
cca39728d0 Merge pull request #2066 from github/abstracter-semantics
Abstracter semantics
2018-07-17 09:09:50 -07:00
Rick Winfrey
03643629f3 Merge branch 'master' into pretty-debug 2018-07-17 09:07:01 -07:00
Patrick Thomson
7c056163fc Merge remote-tracking branch 'origin/master' into call-graph-grpc 2018-07-17 11:42:19 -04:00
Patrick Thomson
361f62c812 Rename ImportGraph to AdjacencyList 2018-07-17 11:35:03 -04:00
Timothy Clem
808511b0d0 Merge branch 'master' into abstracter-semantics 2018-07-17 08:17:11 -07:00
Rob Rix
924dffcb07 Use Abstract semantics instead of Type semantics. 2018-07-17 10:18:29 -04:00
Rob Rix
00f194007f Export resumingTypeError. 2018-07-17 10:18:23 -04:00
Patrick Thomson
9b7bd3c7f0 Hook up gRPC to call graph. Not too hard. 2018-07-17 10:15:04 -04:00
Rick Winfrey
945cae783e Also prettyShow package info 2018-07-16 17:21:24 -07:00
Rick Winfrey
2fddfa1172 Conditionally include app, pid, etc when not in a terminal 2018-07-16 17:20:54 -07:00
Rick Winfrey
b4d21495c5 Make it easier to read the various resumable exceptions when debugging a call graph or import graph 2018-07-16 15:46:23 -07:00
Rick Winfrey
825abe968e Add a prettyShow function in Semantic.Graph
This is slightly different from `Semantic.Util`'s `prettyShow` and is not exported from `Semantic.Graph`.
2018-07-16 15:45:24 -07:00
Patrick Thomson
3a56dc17e0 Merge pull request #2057 from github/call-graph-tests
Add test cases for graphs.
2018-07-16 13:29:28 -04:00
Patrick Thomson
9813122425 cleanup 2018-07-16 13:13:53 -04:00
Rob Rix
dc6e661d62 Merge branch 'master' into call-graph-tests 2018-07-16 12:29:38 -04:00
Rob Rix
096081c026 Merge pull request #2056 from github/declarations-for-the-declarations-god,-free-variables-for-the-free-variables-throne
Use Declarations for declared names, and FreeVariables for free variables
2018-07-16 12:16:16 -04:00
Rob Rix
56e2724c64 Merge branch 'master' into declarations-for-the-declarations-god,-free-variables-for-the-free-variables-throne 2018-07-16 11:47:08 -04:00
Rob Rix
6e8875d645 Merge pull request #2055 from github/increase-default-hint-severity
Increase default hint severity
2018-07-16 11:46:51 -04:00
Rob Rix
ae5a7cba66 Note what a declared name even is. 2018-07-16 11:44:36 -04:00
Rob Rix
27b3f4adac Correct the docs for liftDeclaredName. 2018-07-16 11:40:03 -04:00
Patrick Thomson
5c8cd4a109 test less-copacetic cases 2018-07-16 11:36:17 -04:00
Patrick Thomson
e05f419314 Abstract interpretation test. 2018-07-16 11:12:17 -04:00
Patrick Thomson
0ed48c7bbe Simplest test possible. 2018-07-16 11:07:40 -04:00
Rob Rix
153102a3e5 Specialize FreeVariables1 for Method. 2018-07-16 11:02:47 -04:00
Rob Rix
aee818fc35 Specialize FreeVariables1 for Function. 2018-07-16 11:01:42 -04:00
Rob Rix
ad8dfb3b66 Compute sets of free variables. 2018-07-16 10:55:41 -04:00
Rob Rix
5cccde998b 📝 global scope “namespaces.” 2018-07-16 10:53:02 -04:00
Rob Rix
91b446856f Handle anonymous namespaces. 2018-07-16 10:50:19 -04:00
Rob Rix
d0fc64e2df Unpack PHP namespace names. 2018-07-16 10:50:13 -04:00
Rob Rix
1b00ea555a Recover from NoNameError with a gensym. 2018-07-16 10:39:20 -04:00
Rob Rix
360ae0e2f1 Replace FreeVariablesError with NoNameError. 2018-07-16 10:38:47 -04:00
Rob Rix
bebea2c6de Use declaredName to get function/method parameter names. 2018-07-16 10:31:33 -04:00
Rob Rix
5ed183d25d 🔥 a bunch of redundant parens. 2018-07-16 10:27:54 -04:00
Rob Rix
d74f5ce79c 🔥 freeVariables1. 2018-07-16 10:27:40 -04:00
Rob Rix
44fb03899c 🔥 freeVariable. 2018-07-16 10:26:34 -04:00
Rob Rix
3829cf50de Use Declarations for declared names in lets. 2018-07-16 10:26:29 -04:00
Rob Rix
8d07c5a30b Use Declarations for declared names in Python. 2018-07-16 10:26:21 -04:00
Rob Rix
5df6613cf0 Use Declarations for declared names in Go. 2018-07-16 10:26:12 -04:00
Rob Rix
24825d3a6d Use Declarations for declared names in Ruby. 2018-07-16 10:25:18 -04:00
Rob Rix
ab7daf2591 Use Declarations for the declared names in TypeScript. 2018-07-16 10:24:46 -04:00
Rob Rix
2df729831c Get the declared names of type aliases using declaredName. 2018-07-16 10:23:01 -04:00
Rob Rix
406a2ee625 Get the declared names of classes using declaredName. 2018-07-16 10:22:27 -04:00
Rob Rix
cc6ed63103 Get the declared names of methods using declaredName. 2018-07-16 10:21:30 -04:00
Rob Rix
12d2bc1d6b Get the declared names of functions using declaredName. 2018-07-16 10:21:00 -04:00