Implement the functions quote and unquote (#12770).

Change-Id: Id52e2a2a28e5fd3d62d4be0a471ab43ca2731384