mirror of https://gitee.com/bigwinds/arangodb
renamed files
This commit is contained in:
parent
c90554e364
commit
1e15bb7024
|
@ -25,7 +25,7 @@
|
|||
/// @author Copyright 2012, triagens GmbH, Cologne, Germany
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-functions.h"
|
||||
|
||||
// -----------------------------------------------------------------------------
|
|
@ -35,9 +35,9 @@
|
|||
#include <BasicsC/associative.h>
|
||||
#include <BasicsC/json.h>
|
||||
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-parser.h"
|
||||
#include "Ahuacatl/ahuacatl-tree-walker.h"
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <BasicsC/vector.h>
|
||||
#include <BasicsC/associative.h>
|
||||
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-tree-walker.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -86,7 +86,7 @@
|
|||
#include <BasicsC/conversions.h>
|
||||
#include <BasicsC/strings.h>
|
||||
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-parser.h"
|
||||
#include "Ahuacatl/ahuacatl-error.h"
|
||||
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
#include <BasicsC/conversions.h>
|
||||
#include <BasicsC/strings.h>
|
||||
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-parser.h"
|
||||
#include "Ahuacatl/ahuacatl-error.h"
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
#include "Ahuacatl/ahuacatl-parser.h"
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-bind-parameter.h"
|
||||
#include "Ahuacatl/ahuacatl-constant-folder.h"
|
||||
#include "Ahuacatl/ahuacatl-tree-dump.h"
|
||||
|
|
|
@ -651,7 +651,7 @@ static yyconst flex_int16_t yy_rule_linenum[47] =
|
|||
#include <BasicsC/common.h>
|
||||
#include <BasicsC/strings.h>
|
||||
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-parser.h"
|
||||
#include "Ahuacatl/ahuacatl-grammar.h"
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
#include <BasicsC/common.h>
|
||||
#include <BasicsC/strings.h>
|
||||
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-parser.h"
|
||||
#include "Ahuacatl/ahuacatl-grammar.h"
|
||||
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
#include <BasicsC/vector.h>
|
||||
#include <BasicsC/associative.h>
|
||||
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-tree-walker.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
#include <BasicsC/associative.h>
|
||||
#include <BasicsC/json.h>
|
||||
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-parser.h"
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
@ -35,7 +35,7 @@
|
|||
#include <BasicsC/conversions.h>
|
||||
#include <BasicsC/associative.h>
|
||||
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
3085
Ahuacatl/grammar.c
3085
Ahuacatl/grammar.c
File diff suppressed because it is too large
Load Diff
|
@ -1,133 +0,0 @@
|
|||
|
||||
/* A Bison parser, made by GNU Bison 2.4.1. */
|
||||
|
||||
/* Skeleton interface for Bison's Yacc-like parsers in C
|
||||
|
||||
Copyright (C) 1984, 1989, 1990, 2000, 2001, 2002, 2003, 2004, 2005, 2006
|
||||
Free Software Foundation, Inc.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
the Free Software Foundation, either version 3 of the License, or
|
||||
(at your option) any later version.
|
||||
|
||||
This program is distributed in the hope that it will be useful,
|
||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
GNU General Public License for more details.
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program. If not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
/* As a special exception, you may create a larger work that contains
|
||||
part or all of the Bison parser skeleton and distribute that work
|
||||
under terms of your choice, so long as that work isn't itself a
|
||||
parser generator using the skeleton or a modified version thereof
|
||||
as a parser skeleton. Alternatively, if you modify or redistribute
|
||||
the parser skeleton itself, you may (at your option) remove this
|
||||
special exception, which will cause the skeleton and the resulting
|
||||
Bison output files to be licensed under the GNU General Public
|
||||
License without this special exception.
|
||||
|
||||
This special exception was added by the Free Software Foundation in
|
||||
version 2.2 of Bison. */
|
||||
|
||||
|
||||
/* Tokens. */
|
||||
#ifndef YYTOKENTYPE
|
||||
# define YYTOKENTYPE
|
||||
/* Put the tokens into the symbol table, so that GDB and other debuggers
|
||||
know about them. */
|
||||
enum yytokentype {
|
||||
T_END = 0,
|
||||
T_FOR = 258,
|
||||
T_LET = 259,
|
||||
T_FILTER = 260,
|
||||
T_RETURN = 261,
|
||||
T_COLLECT = 262,
|
||||
T_SORT = 263,
|
||||
T_LIMIT = 264,
|
||||
T_ASC = 265,
|
||||
T_DESC = 266,
|
||||
T_IN = 267,
|
||||
T_INTO = 268,
|
||||
T_NULL = 269,
|
||||
T_TRUE = 270,
|
||||
T_FALSE = 271,
|
||||
T_STRING = 272,
|
||||
T_QUOTED_STRING = 273,
|
||||
T_NUMBER = 274,
|
||||
T_PARAMETER = 275,
|
||||
T_ASSIGN = 276,
|
||||
T_NOT = 277,
|
||||
T_AND = 278,
|
||||
T_OR = 279,
|
||||
T_EQ = 280,
|
||||
T_NE = 281,
|
||||
T_LT = 282,
|
||||
T_GT = 283,
|
||||
T_LE = 284,
|
||||
T_GE = 285,
|
||||
T_PLUS = 286,
|
||||
T_MINUS = 287,
|
||||
T_TIMES = 288,
|
||||
T_DIV = 289,
|
||||
T_MOD = 290,
|
||||
T_QUESTION = 291,
|
||||
T_COLON = 292,
|
||||
T_COMMA = 293,
|
||||
T_OPEN = 294,
|
||||
T_CLOSE = 295,
|
||||
T_DOC_OPEN = 296,
|
||||
T_DOC_CLOSE = 297,
|
||||
T_LIST_OPEN = 298,
|
||||
T_LIST_CLOSE = 299,
|
||||
UPLUS = 300,
|
||||
UMINUS = 301,
|
||||
FUNCCALL = 302,
|
||||
REFERENCE = 303,
|
||||
INDEXED = 304
|
||||
};
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if ! defined YYSTYPE && ! defined YYSTYPE_IS_DECLARED
|
||||
typedef union YYSTYPE
|
||||
{
|
||||
|
||||
/* Line 1676 of yacc.c */
|
||||
#line 26 "Ahuacatl/grammar.y"
|
||||
|
||||
TRI_aql_node_t* node;
|
||||
char* strval;
|
||||
bool boolval;
|
||||
int64_t intval;
|
||||
|
||||
|
||||
|
||||
/* Line 1676 of yacc.c */
|
||||
#line 111 "Ahuacatl/grammar.h"
|
||||
} YYSTYPE;
|
||||
# define YYSTYPE_IS_TRIVIAL 1
|
||||
# define yystype YYSTYPE /* obsolescent; will be withdrawn */
|
||||
# define YYSTYPE_IS_DECLARED 1
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#if ! defined YYLTYPE && ! defined YYLTYPE_IS_DECLARED
|
||||
typedef struct YYLTYPE
|
||||
{
|
||||
int first_line;
|
||||
int first_column;
|
||||
int last_line;
|
||||
int last_column;
|
||||
} YYLTYPE;
|
||||
# define yyltype YYLTYPE /* obsolescent; will be withdrawn */
|
||||
# define YYLTYPE_IS_DECLARED 1
|
||||
# define YYLTYPE_IS_TRIVIAL 1
|
||||
#endif
|
||||
|
||||
|
||||
|
|
@ -151,6 +151,7 @@ avocado_SOURCES = \
|
|||
HttpsServer/HttpsServerImpl.cpp \
|
||||
PriorityQueue/pqueueindex.c \
|
||||
PriorityQueue/priorityqueue.c \
|
||||
Ahuacatl/ahuacatl-ast-node.c \
|
||||
Ahuacatl/ahuacatl-bind-parameter.c \
|
||||
Ahuacatl/ahuacatl-constant-folder.c \
|
||||
Ahuacatl/ahuacatl-error.c \
|
||||
|
@ -161,7 +162,6 @@ avocado_SOURCES = \
|
|||
Ahuacatl/ahuacatl-tree-dump.c \
|
||||
Ahuacatl/ahuacatl-tree-walker.c \
|
||||
Ahuacatl/ast-codegen-js.c \
|
||||
Ahuacatl/ast-node.c \
|
||||
QL/ast-query.c \
|
||||
QL/formatter.c \
|
||||
QL/optimize.c \
|
||||
|
|
17
Makefile.in
17
Makefile.in
|
@ -327,6 +327,7 @@ am_avocado_OBJECTS = Admin/ApplicationAdminServer.$(OBJEXT) \
|
|||
HttpsServer/HttpsServerImpl.$(OBJEXT) \
|
||||
PriorityQueue/pqueueindex.$(OBJEXT) \
|
||||
PriorityQueue/priorityqueue.$(OBJEXT) \
|
||||
Ahuacatl/ahuacatl-ast-node.$(OBJEXT) \
|
||||
Ahuacatl/ahuacatl-bind-parameter.$(OBJEXT) \
|
||||
Ahuacatl/ahuacatl-constant-folder.$(OBJEXT) \
|
||||
Ahuacatl/ahuacatl-error.$(OBJEXT) \
|
||||
|
@ -336,9 +337,9 @@ am_avocado_OBJECTS = Admin/ApplicationAdminServer.$(OBJEXT) \
|
|||
Ahuacatl/ahuacatl-tokens.$(OBJEXT) \
|
||||
Ahuacatl/ahuacatl-tree-dump.$(OBJEXT) \
|
||||
Ahuacatl/ahuacatl-tree-walker.$(OBJEXT) \
|
||||
Ahuacatl/ast-codegen-js.$(OBJEXT) Ahuacatl/ast-node.$(OBJEXT) \
|
||||
QL/ast-query.$(OBJEXT) QL/formatter.$(OBJEXT) \
|
||||
QL/optimize.$(OBJEXT) QL/parser.$(OBJEXT) QL/tokens.$(OBJEXT) \
|
||||
Ahuacatl/ast-codegen-js.$(OBJEXT) QL/ast-query.$(OBJEXT) \
|
||||
QL/formatter.$(OBJEXT) QL/optimize.$(OBJEXT) \
|
||||
QL/parser.$(OBJEXT) QL/tokens.$(OBJEXT) \
|
||||
RestHandler/RestActionHandler.$(OBJEXT) \
|
||||
RestHandler/RestDocumentHandler.$(OBJEXT) \
|
||||
RestHandler/RestEdgeHandler.$(OBJEXT) \
|
||||
|
@ -753,6 +754,7 @@ avocado_SOURCES = \
|
|||
HttpsServer/HttpsServerImpl.cpp \
|
||||
PriorityQueue/pqueueindex.c \
|
||||
PriorityQueue/priorityqueue.c \
|
||||
Ahuacatl/ahuacatl-ast-node.c \
|
||||
Ahuacatl/ahuacatl-bind-parameter.c \
|
||||
Ahuacatl/ahuacatl-constant-folder.c \
|
||||
Ahuacatl/ahuacatl-error.c \
|
||||
|
@ -763,7 +765,6 @@ avocado_SOURCES = \
|
|||
Ahuacatl/ahuacatl-tree-dump.c \
|
||||
Ahuacatl/ahuacatl-tree-walker.c \
|
||||
Ahuacatl/ast-codegen-js.c \
|
||||
Ahuacatl/ast-node.c \
|
||||
QL/ast-query.c \
|
||||
QL/formatter.c \
|
||||
QL/optimize.c \
|
||||
|
@ -1656,6 +1657,8 @@ Ahuacatl/$(am__dirstamp):
|
|||
Ahuacatl/$(DEPDIR)/$(am__dirstamp):
|
||||
@$(MKDIR_P) Ahuacatl/$(DEPDIR)
|
||||
@: > Ahuacatl/$(DEPDIR)/$(am__dirstamp)
|
||||
Ahuacatl/ahuacatl-ast-node.$(OBJEXT): Ahuacatl/$(am__dirstamp) \
|
||||
Ahuacatl/$(DEPDIR)/$(am__dirstamp)
|
||||
Ahuacatl/ahuacatl-bind-parameter.$(OBJEXT): Ahuacatl/$(am__dirstamp) \
|
||||
Ahuacatl/$(DEPDIR)/$(am__dirstamp)
|
||||
Ahuacatl/ahuacatl-constant-folder.$(OBJEXT): Ahuacatl/$(am__dirstamp) \
|
||||
|
@ -1676,8 +1679,6 @@ Ahuacatl/ahuacatl-tree-walker.$(OBJEXT): Ahuacatl/$(am__dirstamp) \
|
|||
Ahuacatl/$(DEPDIR)/$(am__dirstamp)
|
||||
Ahuacatl/ast-codegen-js.$(OBJEXT): Ahuacatl/$(am__dirstamp) \
|
||||
Ahuacatl/$(DEPDIR)/$(am__dirstamp)
|
||||
Ahuacatl/ast-node.$(OBJEXT): Ahuacatl/$(am__dirstamp) \
|
||||
Ahuacatl/$(DEPDIR)/$(am__dirstamp)
|
||||
QL/$(am__dirstamp):
|
||||
@$(MKDIR_P) QL
|
||||
@: > QL/$(am__dirstamp)
|
||||
|
@ -1916,6 +1917,7 @@ mostlyclean-compile:
|
|||
-rm -f Admin/RestAdminLogHandler.$(OBJEXT)
|
||||
-rm -f Admin/RestBaseHandler.$(OBJEXT)
|
||||
-rm -f Admin/RestVersionHandler.$(OBJEXT)
|
||||
-rm -f Ahuacatl/ahuacatl-ast-node.$(OBJEXT)
|
||||
-rm -f Ahuacatl/ahuacatl-bind-parameter.$(OBJEXT)
|
||||
-rm -f Ahuacatl/ahuacatl-constant-folder.$(OBJEXT)
|
||||
-rm -f Ahuacatl/ahuacatl-error.$(OBJEXT)
|
||||
|
@ -1926,7 +1928,6 @@ mostlyclean-compile:
|
|||
-rm -f Ahuacatl/ahuacatl-tree-dump.$(OBJEXT)
|
||||
-rm -f Ahuacatl/ahuacatl-tree-walker.$(OBJEXT)
|
||||
-rm -f Ahuacatl/ast-codegen-js.$(OBJEXT)
|
||||
-rm -f Ahuacatl/ast-node.$(OBJEXT)
|
||||
-rm -f ApplicationServer/ApplicationServer.$(OBJEXT)
|
||||
-rm -f ApplicationServer/ApplicationServerImpl.$(OBJEXT)
|
||||
-rm -f ApplicationServer/ApplicationServerSchedulerImpl.$(OBJEXT)
|
||||
|
@ -2147,6 +2148,7 @@ distclean-compile:
|
|||
@AMDEP_TRUE@@am__include@ @am__quote@Admin/$(DEPDIR)/RestAdminLogHandler.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Admin/$(DEPDIR)/RestBaseHandler.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Admin/$(DEPDIR)/RestVersionHandler.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Ahuacatl/$(DEPDIR)/ahuacatl-ast-node.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Ahuacatl/$(DEPDIR)/ahuacatl-bind-parameter.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Ahuacatl/$(DEPDIR)/ahuacatl-constant-folder.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Ahuacatl/$(DEPDIR)/ahuacatl-error.Po@am__quote@
|
||||
|
@ -2157,7 +2159,6 @@ distclean-compile:
|
|||
@AMDEP_TRUE@@am__include@ @am__quote@Ahuacatl/$(DEPDIR)/ahuacatl-tree-dump.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Ahuacatl/$(DEPDIR)/ahuacatl-tree-walker.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Ahuacatl/$(DEPDIR)/ast-codegen-js.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@Ahuacatl/$(DEPDIR)/ast-node.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@ApplicationServer/$(DEPDIR)/ApplicationServer.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@ApplicationServer/$(DEPDIR)/ApplicationServerImpl.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@ApplicationServer/$(DEPDIR)/ApplicationServerSchedulerImpl.Po@am__quote@
|
||||
|
|
|
@ -44,8 +44,8 @@
|
|||
#include "VocBase/query-execute.h"
|
||||
#include "VocBase/simple-collection.h"
|
||||
#include "SkipLists/sl-operator.h"
|
||||
#include "Ahuacatl/ast-node.h"
|
||||
#include "Ahuacatl/ast-codegen-js.h"
|
||||
#include "Ahuacatl/ahuacatl-ast-node.h"
|
||||
#include "Ahuacatl/ahuacatl-parser.h"
|
||||
#include "Ahuacatl/ahuacatl-tree-dump.h"
|
||||
|
||||
|
|
Loading…
Reference in New Issue