- Support
prism
1.3.0
- Drop support ruby 2.6
- Update
prism_ext
to 0.3.3 - Use
Prism::Node#to_source
- Fix actual value is nil
- Update
prism_ext
to 0.3.0 - Update
syntax_tree_ext
to 0.8.1 - Update
parser_node_ext
to 1.3.0 - Require
parent_node_ext
only when necessary
- Use
deconstruct_keys
to get prism children - Get
PrismAdapter
- Read prism node type
- Support
prism
- Fix
ArrayValue
withadapter
parameter
- Add
adapter
parameter toNodeQuery
- Do not allow to configure an
adapter
globally
NODE_TYPE
can contain_
- Update
syntax_tree_ext
to 0.6.4
- Do not handle if
child_node
is nil
- Update
node_query_parser.y
- Add
OPERATOR
macro - Use operator
=
instead of==
- Check
.to_value
instead 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#except
for ruby 2
- Use
deconstruct_key
to get syntax_tree node children handle_recursive_child
handles Array child node
- Replace
Parser
specific code
- Require
parser
andsyntax_tree
in adapter SyntaxTreeParser#get_node_type
returns a symbol- Node type can be upcase
- Add
SyntaxTreeParser
- Fix when
actual
is nil
- Drop
activesupport
- Remove
NodeQuery::AnyValue
- Support negative index to fetch array element
- Parse negative integer and float
- Add
NodeQuery::MethodNotSupported
error - Add
NodeQuery::AnyValue
to match any value in node rules
- Support
NOT INCLUDES
operator includes
/not_includes
a selector
- Fix
filter_by_position
with empty nodes
- Support
:first-child
and:last-child
- Better regexp to match evaluated value
- Make
base_node
as the root matching node
- Do not handle
erange
andirange
inactual_value
- Rename
nodeType
tonode_type
- Add
Helper.to_string
- Only check the current node if
including_self
is true andrecursive
is false - Fix
Regexp#match?
andString#match?
- Rename
stop_on_match
tostop_at_first_match
- Add options
including_self
,stop_on_match
andrecursive
- Fix regex to match evaluated value
- Rename
NodeQuery#parse
toNodeQuery#query_nodes
NodeQuery#query_ndoes
acceptsincluding_self
argumentNodeQuery#query_ndoes
supports both nql and rules- Add
NodeQuery#match_node?
- Add
NdoeRules
- Drop
EvaluatedValue
, useString
instead - Write better test cases
- Rename
NodeQuery.get_adapter
toNodeQuery.adapter
- Use generic type in rbs
- Fix
Compiler::Array
toCompiler::ArrayValue
- Support
*
in attribute key - Add new Adapter method
is_node?
- Abstract from synvert-core