nedap / aqlparser Goto Github PK
View Code? Open in Web Editor NEWLicense: Apache License 2.0
License: Apache License 2.0
Contains extra information only in the message - it should also be in a variable so it can be actually used. Preferably for all errors, even validation errors, so it can be shown in for example an IDE extension.
My first round of feedback:
This is unused.
This is unused.
IllegalArgumentException
instead of an AQLValidationException
as other validate
methods do. Please catch the IllegalArgumentException
and convert it to an AQLValidationException
.
This is unused. I'm not sure why.
language
is also an attribute on OBSERVATION
and DV_TEXT
. Can't this be solved another way?
I don't think this works. I think you mean
filter(entry -> primitiveOperand.equals(entry.getValue()))
This is unused.
All protected
methods in NodeExpression
can be changed to private
.
can be changed to
QOMObject object = QOMParserUtil.parse(lookup, parseTree);
Then this class doesn't need to extend AQLBaseVisitor
anymore and private Lookup lookup;
, the constructor and public QOMObject visitChildren(RuleNode node) { ... }
can be removed.
tipped by @boeckers:
remove artifactory part (or clarify it's Nedap specific)
idem for the references to chiron.
Instead of listing all syntax errors, it just throws an exception. Of course I can manually do that by just using the grammar - but shouldn't it just list all of them instead?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.