Lines Matching full:config
108 def __init__(self, config, filter=filter, argument
110 self.config = config
116 self.code = config['code']
117 self.code_lineno = config['code_lineno']
118 self.defines = config.get('define', {})
119 self.if_ = config.get('if', None)
120 self.in_ = config.get('in', None)
137 ncase = (class_ or type(self))(self.config)
294 def __init__(self, config, **args): argument
295 self.leaky = config.get('leaky', False)
296 super().__init__(config, **args)
316 def __init__(self, config, **args): argument
317 self.reentrant = config.get('reentrant', False)
318 super().__init__(config, **args)
361 config = toml.load(f)
375 # grab global config
376 for k, v in config.get('define', {}).items():
379 self.code = config.get('code', None)
385 for i, (case, lineno) in enumerate(zip(config['case'], linenos)):
390 if 'if' in config and 'if' in case:
391 case['if'] = '(%s) && (%s)' % (config['if'], case['if'])
392 elif 'if' in config:
393 case['if'] = config['if']