Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change internal structure in Query and QueryTree #70

Merged
merged 3 commits into from Sep 21, 2017

Conversation

ubnt-intrepid
Copy link
Contributor

It also renames Query to QueryNode, to clarify the role of them as a node in pattern tree.
Note that the argument level in Parser::basic_parse() and Parser::speculative_parse() has also moved to QueryNode, because they are the same as the level of node in pattern tree.

All of their members are hidden, and some accessor functions are added.
It makes the role of  as the node of pattern tree clear.
The argument `level` in `Parser::basic_parse` and `Parser::speculative_parse` has removed because their value is the same as `QueryNode::level`.
@kjmrknsn
Copy link
Contributor

Thanks for the refactoring and sorry for the late reply. I'll check the performance of this pr version later.

@kjmrknsn kjmrknsn merged commit 8051f51 into pikkr:master Sep 21, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants