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

Add func registry support for FilterQL statements. #101

Merged
merged 3 commits into from
Jul 9, 2016
Merged

Conversation

epsniff
Copy link
Collaborator

@epsniff epsniff commented Jul 7, 2016

When using filter QL for evaluating different domains within the same binary. We need to be able to isolate func resolution to specific subdomains.

*filterTokenPager
firstToken lex.Token

funcs expr.FuncResolver
}

Copy link
Collaborator Author

@epsniff epsniff Jul 7, 2016

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure if you like the builder pattern NewFilterParser().Statement(filter).ParseFilter(). we can change it if you don't. I was just trying to reduce the number of constructors.

@araddon
Copy link
Owner

araddon commented Jul 7, 2016

let me pull this and play with it

@epsniff
Copy link
Collaborator Author

epsniff commented Jul 7, 2016

@araddon cool, feel free to change it however you like :) .

@araddon
Copy link
Owner

araddon commented Jul 9, 2016

played with it some more local, lgtm merging. ty!

@araddon araddon merged commit 11bcb20 into master Jul 9, 2016
@araddon araddon deleted the withFuncRegistry branch November 6, 2016 18:20
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.

2 participants