# Path: antioch/core/errors.py
# class UserError(Exception):
# class TestError(Exception):
# class UsageError(UserError):
# class AmbiguousObjectError(UserError):
# class AmbiguousVerbError(UserError):
# class PermissionError(UserError):
# class AccessError(PermissionError):
# class RecursiveError(UserError):
# class QuotaError(UserError):
# class NoSuchObjectError(UserError):
# class NoSuchPrepositionError(UserError):
# class NoSuchVerbError(UserError):
# class NoSuchPropertyError(UserError):
# class ExecutionError(UserError):
#     def __init__(self, message, data=None):
#     def __str__(self):
#     def __repr__(self):
#     def __init__(self, message=None, data=None):
#     def __str__(self):
#     def __repr__(self):
#     def __init__(self, name, matches, message=None):
#     def __init__(self, name, matches):
#     def __init__(self, accessor, access_str, subject):
#     def __init__(self, name):
#     def __init__(self, prep):
#     def __init__(self, name):
#     def __init__(self, name, origin=None):
#     def __init__(self, code, e):
# 
# Path: antioch/core/code.py
# def is_frame_access_allowed():
# def massage_verb_code(code):
# def parse_deployment(source):
# def r_eval(caller, src, environment={}, filename='<string>', runtype="eval"):
#     def _writer(s, is_error=False):
# def r_exec(caller, src, environment={}, filename='<string>', runtype="exec"):
#     def _writer(s, is_error=False):
# def restricted_import(name, gdict, ldict, fromlist, level=-1):
# def get_protected_attribute(obj, name, g=getattr):
# def set_protected_attribute(obj, name, value, s=setattr):
# def inplace_var_modification(operator, a, b):
# def get_restricted_environment(writer, p=None):
#         def _call_print(self, s):
#         def __init__(self, obj):
#         def __setattr__(self, name, value):
#         def __setitem__(self, key, value):
# def run_system_verb(exchange, verb_name, *args, **kwargs):
# def api(func):
#     def _api(p):
#         def __api(*args, **kwargs):
# def task(p, delay, origin, verb_name, *args, **kwargs):
# def execute(p, code):
# def evaluate(p, code):
# def tasks(p):
# def write(p, user, text, is_error=False, escape_html=True):
# def log(p, text, is_error=False):
# def broadcast(p, text, escape_html=True):
# def observe(p, user, observations):
# def count_named(p, key):
# def get_object(p, key, return_list=False):
# def create_object(p, name, unique_name=False):
# def get_last_client_ip(p, player):
#     class _print_(object):
#     class _write_(object):
# 
# Path: antioch/util/ason.py
# def loads(j, exchange=None):
#     def to_entity(d):
# def dumps(obj):
#     def from_entity(o):


from antioch.core import errors, code
from antioch.util import ason
        from antioch.core import parser
        
        [ACL] allowed to write to this
        """
        self.check('write', self)
        return self._ex.add_verb_name(self.get_id(), name)
    
    def remove_name(self, name):
        """
        Remove a name or alias for this verb.
        
        [ACL] allowed to write to this
        """
        self.check('write', self)
        return self._ex.remove_verb_name(self.get_id(), name)
    
    def get_names(self):
        """
        Get a list of names for this verb.
        """
        # self.check('read', self)
        return self._ex.get_verb_names(self.get_id())
    
    def set_names(self, given_names):
        """
        Update the list of names for this verb.
        """
        old_names = self.get_names()
        [self.remove_name(n) for n in old_names if n not in given_names]
        [self.add_name(n) for n in given_names if n not in old_names]
    

# Path: antioch/core/errors.py
# class UserError(Exception):
# class TestError(Exception):
# class UsageError(UserError):
# class AmbiguousObjectError(UserError):
# class AmbiguousVerbError(UserError):
# class PermissionError(UserError):
# class AccessError(PermissionError):
# class RecursiveError(UserError):
# class QuotaError(UserError):
# class NoSuchObjectError(UserError):
# class NoSuchPrepositionError(UserError):
# class NoSuchVerbError(UserError):
# class NoSuchPropertyError(UserError):
# class ExecutionError(UserError):
#     def __init__(self, message, data=None):
#     def __str__(self):
#     def __repr__(self):
#     def __init__(self, message=None, data=None):
#     def __str__(self):
#     def __repr__(self):
#     def __init__(self, name, matches, message=None):
#     def __init__(self, name, matches):
#     def __init__(self, accessor, access_str, subject):
#     def __init__(self, name):
#     def __init__(self, prep):
#     def __init__(self, name):
#     def __init__(self, name, origin=None):
#     def __init__(self, code, e):
# 
# Path: antioch/core/code.py
# def is_frame_access_allowed():
# def massage_verb_code(code):
# def parse_deployment(source):
# def r_eval(caller, src, environment={}, filename='<string>', runtype="eval"):
#     def _writer(s, is_error=False):
# def r_exec(caller, src, environment={}, filename='<string>', runtype="exec"):
#     def _writer(s, is_error=False):
# def restricted_import(name, gdict, ldict, fromlist, level=-1):
# def get_protected_attribute(obj, name, g=getattr):
# def set_protected_attribute(obj, name, value, s=setattr):
# def inplace_var_modification(operator, a, b):
# def get_restricted_environment(writer, p=None):
#         def _call_print(self, s):
#         def __init__(self, obj):
#         def __setattr__(self, name, value):
#         def __setitem__(self, key, value):
# def run_system_verb(exchange, verb_name, *args, **kwargs):
# def api(func):
#     def _api(p):
#         def __api(*args, **kwargs):
# def task(p, delay, origin, verb_name, *args, **kwargs):
# def execute(p, code):
# def evaluate(p, code):
# def tasks(p):
# def write(p, user, text, is_error=False, escape_html=True):
# def log(p, text, is_error=False):
# def broadcast(p, text, escape_html=True):
# def observe(p, user, observations):
# def count_named(p, key):
# def get_object(p, key, return_list=False):
# def create_object(p, name, unique_name=False):
# def get_last_client_ip(p, player):
#     class _print_(object):
#     class _write_(object):
# 
# Path: antioch/util/ason.py
# def loads(j, exchange=None):
#     def to_entity(d):
# def dumps(obj):
#     def from_entity(o):


# Path: antioch/core/interface.py
from antioch.core import errors, code
from antioch.util import ason
        from antioch.core import parser

        
        [ACL] allowed to write to this
        """
        self.check('write', self)
        return self._ex.add_verb_name(self.get_id(), name)
    
    def remove_name(self, name):
        """
        Remove a name or alias for this verb.
        
        [ACL] allowed to write to this
        """
        self.check('write', self)
        return self._ex.remove_verb_name(self.get_id(), name)
    
    def get_names(self):
        """
        Get a list of names for this verb.
        """
        # self.check('read', self)
        return self._ex.get_verb_names(self.get_id())
    
    def set_names(self, given_names):
        """
        Update the list of names for this verb.
        """
        old_names = self.get_names()
        [self.remove_name(n) for n in old_names if n not in given_names]
        [self.add_name(n) for n in given_names if n not in old_names]
    

    def set_code(self, code):