Document.hpp File Reference
#include <ejson/internal/Value.hpp>
#include <vector>
#include <etk/types.hpp>
#include <ejson/internal/String.hpp>
#include <ejson/internal/Array.hpp>
#include <ejson/internal/Object.hpp>

Go to the source code of this file.

Classes

class  ejson::internal::Document
 

Namespaces

 ejson
 
 ejson::internal
 

Macros

#define EJSON_CREATE_ERROR(doc, data, pos, filePos, comment)
 

Detailed Description

Author
Edouard DUPIN
Note
License: APACHE v2.0 (see license file)

Macro Definition Documentation

§ EJSON_CREATE_ERROR

#define EJSON_CREATE_ERROR (   doc,
  data,
  pos,
  filePos,
  comment 
)
Value:
do { \
EJSON_ERROR(comment); \
(doc).createError((data),(pos),(filePos),(comment)); \
} while (0)

Automatic create error on the basic Document object.

Parameters
[in]docDocument reference
[in]datamain string parsed
[in]posPosition in the file
[in]filePosposition in linre row in the file
[in]commentComment of the error find