diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2015-05-17 10:43:30 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2015-05-17 10:43:30 +1200 |
commit | e4feba54330e1afcfb8d48bce8c474659aba281c (patch) | |
tree | e3b7369a66f309e8228aac26a4fe8f5e932debcf /libpathod/language/actions.py | |
parent | 2ee60783b694b6a8555a6afbef21dc1f2ca1f8b9 (diff) | |
download | mitmproxy-e4feba54330e1afcfb8d48bce8c474659aba281c.tar.gz mitmproxy-e4feba54330e1afcfb8d48bce8c474659aba281c.tar.bz2 mitmproxy-e4feba54330e1afcfb8d48bce8c474659aba281c.zip |
Introduce and enfoce uniqueness constraints for language components
Diffstat (limited to 'libpathod/language/actions.py')
-rw-r--r-- | libpathod/language/actions.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libpathod/language/actions.py b/libpathod/language/actions.py index e86394a0..f5b828fe 100644 --- a/libpathod/language/actions.py +++ b/libpathod/language/actions.py @@ -45,6 +45,8 @@ class _Action(base.Token): class PauseAt(_Action): + unique_name = None + def __init__(self, offset, seconds): _Action.__init__(self, offset) self.seconds = seconds @@ -93,6 +95,8 @@ class DisconnectAt(_Action): class InjectAt(_Action): + unique_name = None + def __init__(self, offset, value): _Action.__init__(self, offset) self.value = value |