diff options
author | Juergen Bocklage-Ryannel <juergen@ryannel.org> | 2018-03-07 19:07:41 +0100 |
---|---|---|
committer | Juergen Bocklage-Ryannel <juergen@ryannel.org> | 2018-03-07 19:07:41 +0100 |
commit | 095eff9be2bf0dfe098acdb19abadea3f92d3089 (patch) | |
tree | 450f7e1506cb3a1ab56c6f1820253488829d9577 | |
parent | 6e24a48992a0aecf0a6b5d33d9c7f6f3c1790aa8 (diff) |
renamed the profiles to micro, advanced, full
-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) } |