def swap(self, name):
if name.startswith('<STR_LIT>'):<EOL><INDENT>var = self.variables(name[<NUM_LIT:1>:])<EOL>if var is False:<EOL><INDENT>raise SyntaxError('<STR_LIT>' % name)<EOL><DEDENT>name = '<STR_LIT:@>' + utility.destring(var.value[<NUM_LIT:0>])<EOL>var = self.variables(name)<EOL>if var is False:<EOL><INDENT>raise SyntaxError('<STR_LIT>' % name)<EOL><DEDENT><DEDENT>elif name.startswith('<STR_LIT>'):<EOL><INDENT>var = self.variables('<STR_LIT:@>' + name[<NUM_LIT:2>:-<NUM_LIT:1>])<EOL>if var is False:<EOL><INDENT>raise SyntaxError('<STR_LIT>' % name)<EOL><DEDENT>if isinstance(var.value[<NUM_LIT:0>], string_types):<EOL><INDENT>var.value[<NUM_LIT:0>] = utility.destring(var.value[<NUM_LIT:0>])<EOL><DEDENT><DEDENT>else:<EOL><INDENT>var = self.variables(name)<EOL>if var is False:<EOL><INDENT>raise SyntaxError('<STR_LIT>' % name)<EOL><DEDENT><DEDENT>return var.value<EOL>
Swap variable name for variable value
        Args:
            name (str): Variable name
        Returns:
            Variable value (Mixed)