summaryrefslogtreecommitdiffstats
path: root/tools/json_schema_compiler/cpp_generator.py
blob: 5521ea9fd2b3664b1be0cb70479117b283716baf (plain)
1
2
3
4
5
6
7
8
9
10
11
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

from cc_generator import CCGenerator
from h_generator import HGenerator

class CppGenerator(object):
  def __init__(self, type_generator):
    self.h_generator = HGenerator(type_generator)
    self.cc_generator = CCGenerator(type_generator)