identtypes.h

Go to the documentation of this file.
00001 /*
00002  * Copyright 2006-2008 The FLWOR Foundation.
00003  *
00004  * Licensed under the Apache License, Version 2.0 (the "License");
00005  * you may not use this file except in compliance with the License.
00006  * You may obtain a copy of the License at
00007  * 
00008  * http://www.apache.org/licenses/LICENSE-2.0
00009  *
00010  * Unless required by applicable law or agreed to in writing, software
00011  * distributed under the License is distributed on an "AS IS" BASIS,
00012  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
00013  * See the License for the specific language governing permissions and
00014  * limitations under the License.
00015  */
00016 #ifndef ZORBA_TYPEIDENT_TYPES_API_H
00017 #define ZORBA_TYPEIDENT_TYPES_API_H
00018 
00019 namespace zorba {
00020 class IdentTypes {
00021 public:
00022   typedef enum {
00023     NAMED_TYPE,
00024     ELEMENT_TYPE,
00025     ATTRIBUTE_TYPE,
00026     DOCUMENT_TYPE,
00027     PI_TYPE,
00028     TEXT_TYPE,
00029     COMMENT_TYPE,
00030     ANY_NODE_TYPE,
00031     ITEM_TYPE,
00032     EMPTY_TYPE,
00033     INVALID_TYPE,
00034   } kind_t;
00035 
00036   typedef enum {
00037     QUANT_ONE,
00038     QUANT_QUESTION,
00039     QUANT_PLUS,
00040     QUANT_STAR,
00041   } quantifier_t;
00042 };
00043 }
00044 
00045 #endif