1# Copyright 2013-2021 The Meson development team
2
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6
7#     http://www.apache.org/licenses/LICENSE-2.0
8
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15__all__ = [
16    'InterpreterObject',
17    'MesonInterpreterObject',
18    'ObjectHolder',
19    'IterableObject',
20    'MutableInterpreterObject',
21
22    'MesonOperator',
23
24    'Disabler',
25    'is_disabled',
26
27    'InterpreterException',
28    'InvalidCode',
29    'InvalidArguments',
30    'SubdirDoneRequest',
31    'ContinueRequest',
32    'BreakRequest',
33
34    'default_resolve_key',
35    'flatten',
36    'resolve_second_level_holders',
37
38    'noPosargs',
39    'noKwargs',
40    'stringArgs',
41    'noArgsFlattening',
42    'noSecondLevelHolderResolving',
43    'unholder_return',
44    'disablerIfNotFound',
45    'permittedKwargs',
46    'typed_operator',
47    'unary_operator',
48    'typed_pos_args',
49    'ContainerTypeInfo',
50    'KwargInfo',
51    'typed_kwargs',
52    'FeatureCheckBase',
53    'FeatureNew',
54    'FeatureDeprecated',
55    'FeatureNewKwargs',
56    'FeatureDeprecatedKwargs',
57
58    'InterpreterBase',
59
60    'TV_fw_var',
61    'TV_fw_args',
62    'TV_fw_kwargs',
63    'TV_func',
64    'TYPE_elementary',
65    'TYPE_var',
66    'TYPE_nvar',
67    'TYPE_kwargs',
68    'TYPE_nkwargs',
69    'TYPE_key_resolver',
70    'TYPE_HoldableTypes',
71
72    'HoldableTypes',
73]
74
75from .baseobjects import (
76    InterpreterObject,
77    MesonInterpreterObject,
78    ObjectHolder,
79    IterableObject,
80    MutableInterpreterObject,
81
82    TV_fw_var,
83    TV_fw_args,
84    TV_fw_kwargs,
85    TV_func,
86    TYPE_elementary,
87    TYPE_var,
88    TYPE_nvar,
89    TYPE_kwargs,
90    TYPE_nkwargs,
91    TYPE_key_resolver,
92    TYPE_HoldableTypes,
93
94    HoldableTypes,
95)
96
97from .decorators import (
98    noPosargs,
99    noKwargs,
100    stringArgs,
101    noArgsFlattening,
102    noSecondLevelHolderResolving,
103    unholder_return,
104    disablerIfNotFound,
105    permittedKwargs,
106    typed_pos_args,
107    ContainerTypeInfo,
108    KwargInfo,
109    typed_operator,
110    unary_operator,
111    typed_kwargs,
112    FeatureCheckBase,
113    FeatureNew,
114    FeatureDeprecated,
115    FeatureNewKwargs,
116    FeatureDeprecatedKwargs,
117)
118
119from .exceptions import (
120    InterpreterException,
121    InvalidCode,
122    InvalidArguments,
123    SubdirDoneRequest,
124    ContinueRequest,
125    BreakRequest,
126)
127
128from .disabler import Disabler, is_disabled
129from .helpers import default_resolve_key, flatten, resolve_second_level_holders
130from .interpreterbase import InterpreterBase
131from .operator import MesonOperator
132