You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@vxquery.apache.org by pr...@apache.org on 2016/06/10 03:33:15 UTC

[19/19] vxquery git commit: JSONiq array parser, constructor, and printer with test cases.

JSONiq array parser, constructor, and printer with test cases.


Project: http://git-wip-us.apache.org/repos/asf/vxquery/repo
Commit: http://git-wip-us.apache.org/repos/asf/vxquery/commit/80efee30
Tree: http://git-wip-us.apache.org/repos/asf/vxquery/tree/80efee30
Diff: http://git-wip-us.apache.org/repos/asf/vxquery/diff/80efee30

Branch: refs/heads/master
Commit: 80efee30c7bf002420a1036ff7f3fee891e32f44
Parents: dac53ab bf47517
Author: Preston Carman <pr...@apache.org>
Authored: Thu Jun 9 20:31:43 2016 -0700
Committer: Preston Carman <pr...@apache.org>
Committed: Thu Jun 9 20:31:43 2016 -0700

----------------------------------------------------------------------
 .../accessors/PointablePoolFactory.java         |  2 +
 .../vxquery/functions/builtin-operators.xml     |  7 ++
 .../node/ArrayConstructorScalarEvaluator.java   | 76 ++++++++++++++++
 .../ArrayConstructorScalarEvaluatorFactory.java | 37 ++++++++
 .../vxquery/serializer/XMLSerializer.java       | 27 ++++++
 .../org/apache/vxquery/xmlquery/ast/ASTTag.java | 92 +++++++++++++++++++-
 .../vxquery/xmlquery/ast/ArrayConstructor.java  | 40 +++++++++
 .../xmlquery/translator/XMLQueryTranslator.java | 15 ++++
 vxquery-core/src/main/javacc/xquery-grammar.jj  | 39 +++++++--
 .../Json/Array/q01_array.txt                    |  1 +
 .../Json/Array/q02_array.txt                    |  1 +
 .../Json/Array/q03_array.txt                    |  1 +
 .../Json/Array/q04_array.txt                    |  1 +
 .../Json/Object/q01_object.txt                  |  1 +
 .../Queries/XQuery/Json/Array/q01_array.xq      | 20 +++++
 .../Queries/XQuery/Json/Array/q02_array.xq      | 20 +++++
 .../Queries/XQuery/Json/Array/q03_array.xq      | 20 +++++
 .../Queries/XQuery/Json/Array/q04_array.xq      | 20 +++++
 .../Queries/XQuery/Json/Object/q01_object.xq    | 20 +++++
 .../src/test/resources/VXQueryCatalog.xml       | 21 ++++-
 .../src/test/resources/cat/JsonArrayQueries.xml | 43 +++++++++
 .../test/resources/cat/JsonObjectQueries.xml    | 28 ++++++
 22 files changed, 522 insertions(+), 10 deletions(-)
----------------------------------------------------------------------