1 ///////////////////////////////////////////////////////////////////////////////
2 // Copyright (c) 2000-2015 Ericsson Telecom AB
3 // All rights reserved. This program and the accompanying materials
4 // are made available under the terms of the Eclipse Public License v1.0
5 // which accompanies this distribution, and is available at
6 // http://www.eclipse.org/legal/epl-v10.html
7 ///////////////////////////////////////////////////////////////////////////////
11 #include "../datatypes.h"
12 #include "../vector.hh"
14 class JsonSchemaExtension {
16 void init(const char* p_key, const char* p_value);
21 JsonSchemaExtension(const char* p_key, const char* p_value) { init(p_key, p_value); }
22 JsonSchemaExtension(const JsonSchemaExtension& x) { init(x.key, x.value); }
23 ~JsonSchemaExtension();
29 JsonAST(const JsonAST&);
30 JsonAST& operator=(const JsonAST&);
36 vector<JsonSchemaExtension> schema_extensions;
37 boolean metainfo_unbound;
39 JsonAST() { init_JsonAST(); }
40 JsonAST(const JsonAST *other_val);
43 void print_JsonAST() const;
46 #endif /* JSONAST_HH_ */