1
1
mirror of https://github.com/github/semantic.git synced 2025-01-02 12:23:08 +03:00
Commit Graph

20923 Commits

Author SHA1 Message Date
Charlie Somerville
c999557043 ruby: emit Send terms from vcallOrLocal rather than Call 2018-04-16 16:19:23 +10:00
Charlie Somerville
d08c675318 ruby: make parameter assignment more strict in accepted symbols 2018-04-16 16:19:23 +10:00
Charlie Somerville
c5be01e8a0 ruby: use methodSelector rather than plainIdentifier for def names 2018-04-16 16:19:23 +10:00
Charlie Somerville
66720795cc ruby: allow Setter symbols in methodSelector 2018-04-16 16:19:23 +10:00
Timothy Clem
024d1c362e Allow ability to prioritize local identifiers for certain syntaxes 2018-04-16 16:19:23 +10:00
Charlie Somerville
5ff04bebcc ruby: add Assignment' type so we can remove type constraints 2018-04-16 16:19:23 +10:00
Charlie Somerville
237ffea294 alternate with End in putRubyLocals 2018-04-16 16:19:23 +10:00
Charlie Somerville
ccca1e5857 ruby: implement variable scoping around scoped constructs 2018-04-16 16:19:23 +10:00
Charlie Somerville
437df993b5 ruby: pull out some duplication in block assignment 2018-04-16 16:19:23 +10:00
Charlie Somerville
8dfaae81e1 ruby: define locals as they are encountered 2018-04-16 16:19:23 +10:00
Charlie Somerville
ba99be7345 ruby: emit barewords that aren't defined locals as method calls 2018-04-16 16:19:23 +10:00
Charlie Somerville
e6bf961c91 assignment: add special-cased ruby locals state 2018-04-16 16:19:23 +10:00
Timothy Clem
0b9d2e142c In JavaScript, continue and break can also have trailing comments - assign them 2018-04-13 14:12:54 -07:00
Timothy Clem
224ad7297c throwException if js resolution doesn't work 2018-04-13 14:12:31 -07:00
Timothy Clem
2d2d4fd38b In JavaScript, continue and break can also have trailing comments - assign them 2018-04-13 14:12:04 -07:00
Timothy Clem
6e19109554 Make sure we properly classify .js files 2018-04-13 11:39:57 -07:00
Timothy Clem
40bf466dbb Make sure we properly classify .js files 2018-04-13 10:58:25 -07:00
Timothy Clem
50f3dbae48 JavaScript returns can have comments even with no return expression 2018-04-13 10:54:30 -07:00
Timothy Clem
a9e5ff6a11 Assign HashBangLines in JavaScript/TypeScript 2018-04-13 10:54:22 -07:00
Timothy Clem
937c0df863 Assign out JavaScript require calls 2018-04-13 10:53:28 -07:00
Timothy Clem
47033ad9e8 Sort by name 2018-04-13 10:53:13 -07:00
Timothy Clem
25e70aa7a3 Let's eval javascript projects 2018-04-13 10:52:58 -07:00
Timothy Clem
ab0a6072b8 Some JavaScript analysis fixtures 2018-04-13 10:52:31 -07:00
Timothy Clem
dab7e2d304 Ignore all top level test files 2018-04-13 10:52:00 -07:00
Timothy Clem
c065344f3b JavaScript returns can have comments even with no return expression 2018-04-13 10:49:48 -07:00
Timothy Clem
1cffcf0504 Assign HashBangLines in JavaScript/TypeScript 2018-04-13 10:49:16 -07:00
Timothy Clem
97a566e973 Allow allocation in assignment again 2018-04-12 15:19:27 -07:00
Timothy Clem
01d3e7d547 Merge pull request #1724 from github/graph-cli
Wire up graph analysis to the CLI
2018-04-12 15:09:05 -07:00
Timothy Clem
c230e58cbe Merge branch 'master' into graph-cli 2018-04-12 11:00:46 -07:00
Timothy Clem
5c6535608e Docs and formatting 2018-04-12 08:24:58 -07:00
Charlie Somerville
d45fafd5e2 Merge pull request #1736 from github/charliesome/fix-generate-example
Make script/generate-example more resilient around missing files
2018-04-12 11:42:01 +10:00
Timothy Clem
16a55d68a0 Linting 2018-04-11 16:02:03 -07:00
Timothy Clem
aedc6c1144 Remove extra imports 2018-04-11 15:55:12 -07:00
Timothy Clem
8dc79708be Don't need these 2018-04-11 14:49:01 -07:00
Timothy Clem
13a0daea98 Handle evaluating preludes as part of import graph analysis 2018-04-11 14:48:30 -07:00
Timothy Clem
283fb8c7dc Few util changes to eval Python 2018-04-11 14:47:40 -07:00
Charlie Somerville
63a10f210b make script/generate-example more resilient around missing files 2018-04-11 15:49:57 +10:00
Timothy Clem
3a000ca7c0 Lost this formatting 2018-04-10 15:16:52 -07:00
Timothy Clem
e1160a19a9 Minor formatting 2018-04-10 15:12:55 -07:00
Timothy Clem
64744014fd Formatting 2018-04-10 14:57:31 -07:00
Timothy Clem
2beb02387a Merge remote-tracking branch 'origin/master' into graph-cli 2018-04-10 13:04:34 -07:00
Josh Vera
2cb4726f50 Merge pull request #1733 from github/ruby-binary-unary-fix
++tree-sitter-ruby for binary/unary fix
2018-04-10 15:13:13 -04:00
Josh Vera
bb5e9ac2a0 Merge branch 'master' into ruby-binary-unary-fix 2018-04-10 14:56:44 -04:00
Josh Vera
a7c2b1fced Merge pull request #1734 from github/declaration-error
Add missing fields to Declaration data constructors
2018-04-10 14:55:49 -04:00
Timothy Clem
b81203d140 ++tree-sitter-ruby for binary/unary fix 2018-04-10 11:31:25 -07:00
Rick Winfrey
979098e42a Add declarationText and declarationLanguage fields too all Declaration data constructors 2018-04-10 11:30:58 -07:00
Josh Vera
a69906aa28 Merge pull request #1729 from github/charliesome/ruby-method-calls
Add special Ruby.Syntax.Send node type
2018-04-10 13:33:50 -04:00
Timothy Clem
6dbc730ea8 Comment are allowed here 2018-04-10 09:06:02 -07:00
Timothy Clem
775d39088a Merge remote-tracking branch 'origin/master' into charliesome/ruby-method-calls 2018-04-10 08:32:03 -07:00
Timothy Clem
0bc4ea5673 Merge pull request #1731 from github/ruby-block-hash-fix
++tree-sitter-ruby for block hash fix
2018-04-10 08:18:48 -07:00