This is the talk page for discussing improvements to the Module:Codedoc/sample page.
- Please sign and date your posts by typing four tildes (
~~~~). - Put new text under old text. Click here to start a new topic.
- If you're new to the wiki, please take a look at the talk page help.
- Be polite
- Assume good faith
- Be welcoming
Module information
Functions
test:scan_lines
Find commentary and relevant lines.
Parameters
| Name | Type | purpose |
|---|---|---|
| text | string | program code. |
| prefix | string | class of characters to come after `--'. |
| special | string | optional special patterns that should also be matched. |
| Return type | Return purpose |
|---|---|
| table | line list. |
test:get_functions
Build function commentary structure from text.
Parameters
| Name | Type | purpose |
|---|---|---|
| text | string | program code. |
| Return type | Return purpose |
|---|---|
| table | function structure. |