- Support ruby 4.0
- Drop support ruby 2.7, 3.0, 3.1
- Support
prism1.3.0
- Drop support ruby 2.6
- Update
prism_extto 0.3.3 - Use
Prism::Node#to_source
- Fix actual value is nil
- Update
prism_extto 0.3.0 - Update
syntax_tree_extto 0.8.1 - Update
parser_node_extto 1.3.0 - Require
parent_node_extonly when necessary
- Use
deconstruct_keysto get prism children - Get
PrismAdapter - Read prism node type
- Support
prism
- Fix
ArrayValuewithadapterparameter
- Add
adapterparameter toNodeQuery - Do not allow to configure an
adapterglobally
NODE_TYPEcan contain_- Update
syntax_tree_extto 0.6.4
- Do not handle if
child_nodeis nil
- Update
node_query_parser.y
- Add
OPERATORmacro - Use operator
=instead of==
- Check
.to_valueinstead of.type
- Revert "Flatten syntax_tree children"
- Flatten syntax_tree children
- Separate syntax_tree tests from parser tests
- Flatten child iteration for syntax_tree
- Support
Hash#exceptfor ruby 2
- Use
deconstruct_keyto get syntax_tree node children handle_recursive_childhandles Array child node
- Replace
Parserspecific code
- Require
parserandsyntax_treein adapter SyntaxTreeParser#get_node_typereturns a symbol- Node type can be upcase
- Add
SyntaxTreeParser
- Fix when
actualis nil
- Drop
activesupport - Remove
NodeQuery::AnyValue
- Support negative index to fetch array element
- Parse negative integer and float
- Add
NodeQuery::MethodNotSupportederror - Add
NodeQuery::AnyValueto match any value in node rules
- Support
NOT INCLUDESoperator includes/not_includesa selector
- Fix
filter_by_positionwith empty nodes
- Support
:first-childand:last-child
- Better regexp to match evaluated value
- Make
base_nodeas the root matching node
- Do not handle
erangeandirangeinactual_value
- Rename
nodeTypetonode_type
- Add
Helper.to_string - Only check the current node if
including_selfis true andrecursiveis false - Fix
Regexp#match?andString#match? - Rename
stop_on_matchtostop_at_first_match
- Add options
including_self,stop_on_matchandrecursive - Fix regex to match evaluated value
- Rename
NodeQuery#parsetoNodeQuery#query_nodes NodeQuery#query_ndoesacceptsincluding_selfargumentNodeQuery#query_ndoessupports both nql and rules- Add
NodeQuery#match_node? - Add
NdoeRules - Drop
EvaluatedValue, useStringinstead - Write better test cases
- Rename
NodeQuery.get_adaptertoNodeQuery.adapter - Use generic type in rbs
- Fix
Compiler::ArraytoCompiler::ArrayValue
- Support
*in attribute key - Add new Adapter method
is_node?
- Abstract from synvert-core