mirror of
https://github.com/Ed94/metadesk.git
synced 2026-07-23 16:07:51 +00:00
[docs] partial docs pass for code loc format strings
This commit is contained in:
@@ -1929,6 +1929,16 @@ MD_ParseWholeFile:
|
||||
return: MD_String8,
|
||||
}
|
||||
|
||||
@send(Nodes)
|
||||
@doc('Returns the format string for code locations that matches normal encodings of code locations (in error or warning messages by compilers, namely). This string is @code `"%.*s:%i:%i"`. Used with @code "MD_CodeLocVArg", can be used for easily printing code locations.')
|
||||
@see(MD_CodeLocVArg)
|
||||
@macro MD_FmtCodeLoc: {}
|
||||
|
||||
@send(Nodes)
|
||||
@doc("Expands to the appropriate C format string arguments for an MD_CodeLoc @code 'loc' matching the format string for code-locations provided by MD_FmtCodeLoc.")
|
||||
@see(MD_FmtCodeLoc)
|
||||
@macro MD_CodeLocVArg: {loc}
|
||||
|
||||
@send(Nodes)
|
||||
@doc("Prints a message to @code 'out', corresponding with the source code location encoded by @code 'loc'.")
|
||||
@see(MD_PrintMessageFmt)
|
||||
|
||||
Reference in New Issue
Block a user