* parser arguments - Use EJSON to stringify
* Account for escaped '/' in regexes
* 1.Split according to trailing slash.
2. Show an error for malformed regexes (user is halfway typing)
3. Add tests
* Rename STRING_LITERAL to identifier
* propertyName: Allow identifiers too
* Modiify error in failing test to match new implementation.
* 1. Allow collection names to have dots.
2. Modify some tests to check for strings in double quotes, single quotes
and no quotes
3. Add test cases from user-filed issues.
* One more test
* Merge commit from rebase:
1. Regenerate grammar from rebase.
2. Modify outputs from tests to make them pass the new grammar.
3. getAllcommands- sort the errors based on starting position
* Add test for issue #722: Unrecognized child type.
* Address feedback.
* Add test case from user filed issue
* Initial commit + tests. TESTS WILL FAIL.
* Initial commit. EOD work draft.
* Parse property name value tokens. Works for single-quoted strings.
TODO: Remove command.arguments and use command.argumentObjects.
* Fix handling of ArrayLiteralContexts to pass tests
* Handle numbers, booleans properly in the input.
Handling undefined still fails.
* Fix errors popping up when the user is still typing.
* Remove unused import
* Changes based on feedback
* Implement filterType, findType.
RandomUtils: Remove getRandomHexString (unused)
* Changes based on Feedback
* Throw errors based on feedback.
g4: Ensure '1.' (incomplete decimal) is an error node.
* Changes based on feedback
* Feedback
* prevent functionCallContext from throwing. Make some tests smaller.
* STRING_LITERAL : disallow single quotes.
Hinders the parser from tokenizing as functionCallContext needlessly.
* Tests: nested objects, incomplete calls (replicate user typing)
* Fix failing tests
* Add more test cases
* Handle empty arrays in argument - accompanying test
* Ensure this._query & this._proj are undefined if query is [].
Fixes#715 that this PR introduces.
* Initial Commit
* Accept multiple arguments from the parser.
* remove commented code
* Support findOne
* InsertMany -> conform to Mongo shell 3.2 (allow collectionWriteOptions)
* Support find with a query and projection
* rename and fix collectionWriteOptions
* Based on Feedback
* Add tests. Rebuild mongo grammar files in light of merge
* Revert antlr version
* tests - use deepEqual instead of equal to pass object comparison test.
* More parse tests
* fix single argument case
* Add test for missing commas
* Add comma requirement to arguments token.
Throw error if the visitor hits an ErrorNode
* mongo.g4: Add case for 0 arguments
tests:
- Make nested params (array) compliant
- Add empty object argument db.test.find({})
* Change the no-argument rule