|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
# Copyright 2019 The Meson development team
|
|
|
|
|
|
|
|
# This class contains the basic functionality needed to run any interpreter
|
|
|
|
# or an interpreter-based tool.
|
|
|
|
|
|
|
|
__all__ = [
|
|
|
|
'AstConditionLevel',
|
|
|
|
'AstInterpreter',
|
|
|
|
'AstIDGenerator',
|
|
|
|
'AstIndentationGenerator',
|
|
|
|
'AstJSONPrinter',
|
|
|
|
'AstVisitor',
|
|
|
|
'AstPrinter',
|
|
|
|
'IntrospectionInterpreter',
|
|
|
|
'BUILD_TARGET_FUNCTIONS',
|
|
|
|
]
|
|
|
|
|
|
|
|
from .interpreter import AstInterpreter
|
|
|
|
from .introspection import IntrospectionInterpreter, BUILD_TARGET_FUNCTIONS
|
|
|
|
from .visitor import AstVisitor
|
|
|
|
from .postprocess import AstConditionLevel, AstIDGenerator, AstIndentationGenerator
|
|
|
|
from .printer import AstPrinter, AstJSONPrinter
|