Timothy Clem
01af025638
Move parse back into semantic
2019-01-16 15:39:07 -08:00
Timothy Clem
8d989cdead
Remove crazy term and diff language specific protos
2019-01-16 12:41:32 -08:00
Ayman Nadeem
da6dd46bfe
Merge pull request #2299 from github/factor-abstract-value-as-value-effects
...
Factor AbstractValue as value effects
2019-01-16 14:18:12 -05:00
Ayman Nadeem
cef0b1cdb6
make sure haskell-tree-sitter reflects master
2019-01-16 13:53:07 -05:00
Timothy Clem
d80098615d
Fill out rest of languages, little bit of cleanup
2019-01-16 10:52:31 -08:00
Ayman Nadeem
b9f4d36272
fix accidental revert of patrick's changes
2019-01-16 12:57:30 -05:00
joshvera
36cadf6fd1
Add owner to RepositoryPush
2019-01-16 12:16:57 -05:00
Rick Winfrey
8675f7485f
Define a specialized Ord instance for AccessControl
...
This makes it possible to express an order specification for AccessControl. The leftward entity's AccessControl is evaluated according to the order specification defined by `(<=)` with the rightward entity's AccessControl. Private is the bottom most AccessControl (implying anything that is Private can see anything above it), and Public is the topmost Access Control.
Public <= Private -- False
Private <= Public -- True
Public <= Protected -- False
Protected <= Public -- True
Unknown <= _ -- Always true
_ <= Unknown -- Always true
2019-01-15 18:56:06 -08:00
Rick Winfrey
73d98bc2f9
Use declarationsByRelation
2019-01-15 17:22:30 -08:00
Rick Winfrey
0fc01f2149
💅
2019-01-15 17:22:15 -08:00
Rick Winfrey
89ad50eb9a
Rename for clarity
2019-01-15 17:22:04 -08:00
Rick Winfrey
11b670b2ee
Simplify logic b/c relation and access control are no longer intertwined
2019-01-15 17:21:34 -08:00
Rick Winfrey
03375eff11
Add helper function for retrieving declarations by AccessControl
2019-01-15 17:20:24 -08:00
Rick Winfrey
5e56ae63d8
Correct applications of declare
to use AccessControl
2019-01-15 17:19:04 -08:00
Rick Winfrey
78fe6e33e2
Update applications of define
to include AccessControl as a separate parameter
2019-01-15 17:13:49 -08:00
Rick Winfrey
28fc303de4
Parameterize defineBuiltIn
with AccessControl
2019-01-15 17:13:12 -08:00
Rick Winfrey
3371b46b0b
Parameterize define
with AccessControl
2019-01-15 17:12:44 -08:00
Rick Winfrey
df18a4fa07
Construct info with access control
2019-01-15 17:12:11 -08:00
Rick Winfrey
71646b50db
Parameterize declare
with AccessControl
2019-01-15 17:11:53 -08:00
Rick Winfrey
dd85e414d6
Remove access control from Relation
2019-01-15 17:11:36 -08:00
Rick Winfrey
7326df0c65
Define access control on Info
2019-01-15 17:11:24 -08:00
Timothy Clem
e316385e1e
Comments in protos are nice
2019-01-15 15:58:58 -08:00
Josh Vera
bcc026c12b
Merge pull request #2333 from github/cleanup-indexer
...
Cleanup and harden indexer’s main loop.
2019-01-15 16:54:49 -05:00
Ayman Nadeem
896cfe983c
Reference Data.Abstract.Value.Concrete and not Control.Abstract.Value
2019-01-15 16:54:00 -05:00
Ayman Nadeem
2f29c9a566
disambiguate
2019-01-15 16:47:40 -05:00
Ayman Nadeem
790bf4dd1c
refactor do block using monad laws
2019-01-15 16:35:10 -05:00
Ayman Nadeem
12ad3a8a37
remove superfluous parens
2019-01-15 16:33:39 -05:00
Ayman Nadeem
bab4759a2f
drop more misc comments
2019-01-15 16:31:10 -05:00
Ayman Nadeem
857b644c0d
clean up comments
2019-01-15 16:29:48 -05:00
Ayman Nadeem
238bc6ed88
hide hash from Prologue import for shorter export name
2019-01-15 16:27:08 -05:00
Ayman Nadeem
7b676dc038
move runBitwise near its friends
2019-01-15 16:23:08 -05:00
Rick Winfrey
439e9ff9ae
Update remaining
2019-01-15 12:27:09 -08:00
Rick Winfrey
2b1e3a9585
Update expression syntax
2019-01-15 12:26:45 -08:00
Rick Winfrey
17079bcbc5
Update syntax declarations to use termToAccessControl
2019-01-15 12:26:09 -08:00
Rick Winfrey
0ab26b07aa
Update Taggable instance
2019-01-15 12:25:33 -08:00
Rick Winfrey
201a305756
Update language assignments to use AccessControl
2019-01-15 12:25:21 -08:00
Rick Winfrey
dac3b47256
Rename Visibility
syntax -> AccessControl
syntax
2019-01-15 12:24:43 -08:00
Rick Winfrey
00d074bced
Rename Visibility
-> AccessControl
2019-01-15 12:24:10 -08:00
Rick Winfrey
688d744c2c
Rename Visibilities
& Visibilities1
-> AccessControls
& AccessControls1
...
Visibilities is from the scope graph literature, and is not the same idea or equivalent in any way to the idea of access control.
2019-01-15 12:23:48 -08:00
Patrick Thomson
9c44ad374c
attempt to clean up the indexer
2019-01-15 13:57:52 -05:00
Ayman Nadeem
ed6f225213
fix build errors
2019-01-15 13:57:14 -05:00
Ayman Nadeem
b1b014a993
fix conflicts
2019-01-15 13:20:48 -05:00
Timothy Clem
26b771715f
Wire in Twirp ping and symbols endpoints, disable grpc entirely
2019-01-15 08:45:20 -08:00
Rick Winfrey
8679f360fb
Reflect instance methods / field definitions access control when instantiating objects
2019-01-14 17:58:18 -08:00
Rick Winfrey
ad68196124
Reflow
2019-01-14 17:57:31 -08:00
Rick Winfrey
f1300c2136
Declare public field name with correct access control
2019-01-14 17:57:22 -08:00
Rick Winfrey
4b5eb19700
Simplify scope lookup for MemberAccess
2019-01-14 17:22:03 -08:00
Rick Winfrey
2a4cc4eab2
Update example
2019-01-14 15:21:25 -08:00
Rick Winfrey
ed88f498a9
Generate list of possible Relation
based on Visibilties of lhs in MemberAccess
2019-01-14 15:21:10 -08:00
Rick Winfrey
b2cbb3299a
Manually define Visibilities This
instance
2019-01-14 15:20:25 -08:00