diff options
-rw-r--r-- | qface/idl/listener.py | 4 | ||||
-rw-r--r-- | qface/idl/profile.py | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/qface/idl/listener.py b/qface/idl/listener.py index 0d1ad1b..5fafa4f 100644 --- a/qface/idl/listener.py +++ b/qface/idl/listener.py @@ -22,7 +22,7 @@ contextMap = {} class QFaceListener(TListener): - def __init__(self, system, profile=EProfile.ALL): + def __init__(self, system, profile=EProfile.FULL): super().__init__() click.secho('qface uses language profile: {}'.format(profile), fg='blue') self.lang_features = get_features(profile) @@ -40,7 +40,7 @@ class DomainListener(QFaceListener): domain data struture. As a result a system is passed back""" - def __init__(self, system, profile=EProfile.ALL): + def __init__(self, system, profile=EProfile.FULL): super().__init__(system, profile) contextMap.clear() self.module = None # type:Module diff --git a/qface/idl/profile.py b/qface/idl/profile.py index 433f193..b75aecc 100644 --- a/qface/idl/profile.py +++ b/qface/idl/profile.py @@ -24,19 +24,19 @@ class EFeature(Enum): class EProfile(Enum): - BASIC = 'basic' + MICRO = 'micro' ADVANCED = 'advanced' - ALL = 'all' + FULL = 'full' _profiles = { - EProfile.BASIC: set(), + EProfile.MICRO: set(), EProfile.ADVANCED: set([ EFeature.EXTEND_INTERFACE, EFeature.IMPORT, EFeature.MAPS ]), - EProfile.ALL: set(EFeature) + EProfile.FULL: set(EFeature) } |