Lines Matching +full:special +full:- +full:purpose
2 # SPDX-License-Identifier: GPL-2.0
8 Implement output filters to print kernel-doc documentation.
30 type_constant2 = KernRe(r"\%([-_*\w]+)", cache=False)
32 type_param_ref = KernRe(r"([\!~\*]?)\@(\w*((\.\w+)|(->\w+))*(\.\.\.)?)", cache=False)
34 # Special RST handling for func ptr params
37 # Special RST handling for structs with func ptr params
38 type_fp_param2 = KernRe(r"\@(\w+->\S+)\(\)", cache=False)
45 type_member = KernRe(r"\&([_\w]+)(\.|->)([_\w]+)", cache=False)
52 Base class for OutputFormat. If used as-is, it means that only
60 OUTPUT_INTERNAL = 3 # output non-exported symbols
114 Apply the RST highlights to a sub-block of text.
180 Handles a single entry from kernel-doc parser
262 sphinx_cblock = KernRe(r'^\.\.\ +code-block::', cache=False)
300 # If this is the first non-blank line in a literal block,
400 self.output_highlight(args.get('purpose', ""))
411 self.output_highlight(args.get('purpose', ""))
455 self.output_highlight(args.get('purpose', ''))
485 self.output_highlight(args.get('purpose', ''))
494 purpose = args.get('purpose', "")
506 self.output_highlight(purpose)
567 "%Y-%m-%d",
607 The doc section is special: it uses the modulename.
654 Handles a single entry from kernel-doc parser.
704 self.data += f"{name} \\- {args['purpose']}\n"
717 if count == len(args.parameterlist) - 1:
722 # Pointer-to-function
750 self.data += f"enum {name} \\- {args['purpose']}\n"
758 if count == len(args.parameterlist) - 1:
778 purpose = args.get('purpose')
784 self.data += f"typedef {name} \\- {purpose}\n"
792 purpose = args.get('purpose')
799 self.data += f"{args.type} {name} \\- {purpose}\n"