parameters: (context_def, import_scope=None)
docstring: Deserializes `context_def` into the appropriate ControlFlowContext.
  
    Args:
      context_def: ControlFlowContextDef proto
      import_scope: Optional `string`. Name scope to add.
  
    Returns:
      A ControlFlowContext subclass
docstring_summary: Deserializes `context_def` into the appropriate ControlFlowContext.
docstring_tokens: Deserializes context_def into the appropriate ControlFlowContext .
function: def from_control_flow_context_def(context_def, import_scope=None):
    """Deserializes `context_def` into the appropriate ControlFlowContext.
  
    Args:
      context_def: ControlFlowContextDef proto
      import_scope: Optional `string`. Name scope to add.
  
    Returns:
      A ControlFlowContext subclass
    """
    if context_def.HasField("cond_ctxt"):
      return CondContext.from_proto(
          context_def.cond_ctxt, import_scope=import_scope)
    if context_def.HasField("while_ctxt"):
      return WhileContext.from_proto(
          context_def.while_ctxt, import_scope=import_scope)
    raise NotImplementedError("Unknown ControlFlowContextDef field: %s" %
                              context_def.WhichOneof("ctxt"))
function_tokens: def from_control_flow_context_def ( context_def , import_scope = None ) : if context_def . HasField ( "cond_ctxt" ) : return CondContext . from_proto ( context_def . cond_ctxt , import_scope = import_scope ) if context_def . HasField ( "while_ctxt" ) : return WhileContext . from_proto ( context_def . while_ctxt , import_scope = import_scope ) raise NotImplementedError ( "Unknown ControlFlowContextDef field: %s" % context_def . WhichOneof ( "ctxt" ) )