Skip to content

Commit

Permalink
Merge pull request #16424 from github/cklin/ruby-entities-reorder
Browse files Browse the repository at this point in the history
Ruby: Use entities in reorder directives
  • Loading branch information
cklin committed May 21, 2024
2 parents 358c741 + cbc0261 commit 8a22e22
Show file tree
Hide file tree
Showing 10 changed files with 296 additions and 296 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
description: Update grammar
compatibility: backwards
ruby_splat_argument_def.rel: reorder ruby_splat_argument_child.rel ( int id, int child) id child
ruby_splat_argument_def.rel: reorder ruby_splat_argument_child.rel ( @ruby_splat_argument id, @ruby_underscore_arg child) id child
ruby_splat_argument_child.rel: delete
ruby_hash_splat_argument_def.rel: reorder ruby_hash_splat_argument_child.rel ( int id, int child) id child
ruby_hash_splat_argument_def.rel: reorder ruby_hash_splat_argument_child.rel ( @ruby_hash_splat_argument id, @ruby_underscore_arg child) id child
ruby_hash_splat_argument_child.rel: delete
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
description: Update ERB parser
compatibility: partial

erb_comment_directive_def.rel: reorder erb_comment_directive_child.rel (int id, int child) id child
erb_comment_directive_def.rel: reorder erb_comment_directive_child.rel (@erb_comment_directive id, @erb_token_comment child) id child
erb_comment_directive_child.rel: delete

erb_directive_def.rel: reorder erb_directive_child.rel (int id, int child) id child
erb_directive_def.rel: reorder erb_directive_child.rel (@erb_directive id, @erb_token_code child) id child
erb_directive_child.rel: delete

erb_graphql_directive_def.rel: reorder erb_graphql_directive_child.rel (int id, int child) id child
erb_graphql_directive_def.rel: reorder erb_graphql_directive_child.rel (@erb_graphql_directive id, @erb_token_code child) id child
erb_graphql_directive_child.rel: delete

erb_output_directive_def.rel: reorder erb_output_directive_child.rel (int id, int child) id child
erb_output_directive_def.rel: reorder erb_output_directive_child.rel (@erb_output_directive id, @erb_token_code child) id child
erb_output_directive_child.rel: delete
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
description: Revert: Move location columns to a single table
compatibility: full

erb_ast_node_parent.rel: reorder erb_ast_node_info.rel (int node, int parent, int parent_index, int loc) node parent parent_index
ruby_ast_node_parent.rel: reorder ruby_ast_node_info.rel (int node, int parent, int parent_index, int loc) node parent parent_index
erb_ast_node_parent.rel: reorder erb_ast_node_info.rel (@erb_ast_node node, @erb_ast_node_parent parent, int parent_index, @location loc) node parent parent_index
ruby_ast_node_parent.rel: reorder ruby_ast_node_info.rel (@ruby_ast_node node, @ruby_ast_node_parent parent, int parent_index, @location loc) node parent parent_index

erb_ast_node_info.rel: delete
ruby_ast_node_info.rel: delete
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
description: Removed unused column from the `folders` and `files` relations
compatibility: full
files.rel: reorder files.rel (int id, string name, string simple, string ext, int fromSource) id name
folders.rel: reorder folders.rel (int id, string name, string simple) id name
files.rel: reorder files.rel (@file id, string name, string simple, string ext, int fromSource) id name
folders.rel: reorder folders.rel (@folder id, string name, string simple) id name
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
description: Update ERB parser
compatibility: full
erb_comment_directive_def.rel: reorder erb_comment_directive_def.rel (int id, int child) id
erb_comment_directive_child.rel: reorder erb_comment_directive_def.rel (int id, int child) id child
erb_comment_directive_def.rel: reorder erb_comment_directive_def.rel (@erb_comment_directive id, @erb_token_comment child) id
erb_comment_directive_child.rel: reorder erb_comment_directive_def.rel (@erb_comment_directive id, @erb_token_comment child) id child

erb_directive_def.rel: reorder erb_directive_def.rel (int id, int child) id
erb_directive_child.rel: reorder erb_directive_def.rel (int id, int child) id child
erb_directive_def.rel: reorder erb_directive_def.rel (@erb_directive id, @erb_token_code child) id
erb_directive_child.rel: reorder erb_directive_def.rel (@erb_directive id, @erb_token_code child) id child

erb_graphql_directive_def.rel: reorder erb_graphql_directive_def.rel (int id, int child) id
erb_graphql_directive_child.rel: reorder erb_graphql_directive_def.rel (int id, int child) id child
erb_graphql_directive_def.rel: reorder erb_graphql_directive_def.rel (@erb_graphql_directive id, @erb_token_code child) id
erb_graphql_directive_child.rel: reorder erb_graphql_directive_def.rel (@erb_graphql_directive id, @erb_token_code child) id child

erb_output_directive_def.rel: reorder erb_output_directive_def.rel (int id, int child) id
erb_output_directive_child.rel: reorder erb_output_directive_def.rel (int id, int child) id child
erb_output_directive_def.rel: reorder erb_output_directive_def.rel (@erb_output_directive id, @erb_token_code child) id
erb_output_directive_child.rel: reorder erb_output_directive_def.rel (@erb_output_directive id, @erb_token_code child) id child

0 comments on commit 8a22e22

Please sign in to comment.