docstr: Escape encode an abritrary symbol name
  
  The parser needs to have special characters escaped. These are
  backslash, open and close parentheses, space and double quote.
docstr_tok: ["Escape","encode","an","abritrary","symbol","name","The","parser","needs","to","have","special","characters","escaped",".","These","are","backslash",",","open","and","close","parentheses",",","space","and","double","quote","."]
code: def encode_symbol(cls, symbol):
      """Escape encode an abritrary symbol name
  
      The parser needs to have special characters escaped. These are
      backslash, open and close parentheses, space and double quote.
      """
      return re.escape(symbol)
  
imports: import re
label_desc: Use image node_id 4 for calling the FilterPredicate obj's underlying member method code with example usage: obj.encode_symbol(cls, symbol) and returns: re