concepts.dsl.parsers.fol_python_parser.ast_get_literal_or_class_name# ast_get_literal_or_class_name(const)[source]# Get the literal value or identifier name of a constant. Parameters: const (AST) – the constant, should be either ast.Constant or ast.Name. Returns: the literal value or identifier name. Return type: str