mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-07 16:18:49 +00:00
[docs] remove some stuff
This commit is contained in:
@@ -132,12 +132,11 @@ main:
|
|||||||
};
|
};
|
||||||
|
|
||||||
@send(Strings)
|
@send(Strings)
|
||||||
{
|
|
||||||
"""
|
"""
|
||||||
A sample loop over MD_String8List:
|
A sample loop over MD_String8List:
|
||||||
"""
|
"""
|
||||||
|
|
||||||
@code
|
@send(Strings) @code
|
||||||
"""
|
"""
|
||||||
MD_String8List list;
|
MD_String8List list;
|
||||||
for (MD_String8Node *node = list.first; node != 0; node = node->next)
|
for (MD_String8Node *node = list.first; node != 0; node = node->next)
|
||||||
@@ -147,10 +146,10 @@ main:
|
|||||||
}
|
}
|
||||||
"""
|
"""
|
||||||
|
|
||||||
|
@send(Strings)
|
||||||
"""
|
"""
|
||||||
The @code node_count and @code total_size are automatically maintained by the helpers for inserting to the list, and are used in the string joining functions. Hand rolled code for building string lists should take those fields into consideration if the join functions need to work.
|
The @code node_count and @code total_size are automatically maintained by the helpers for inserting to the list, and are used in the string joining functions. Hand rolled code for building string lists should take those fields into consideration if the join functions need to work.
|
||||||
"""
|
"""
|
||||||
}
|
|
||||||
|
|
||||||
@send(Strings)
|
@send(Strings)
|
||||||
@doc("Used as optional parameters for MD_S8ListJoin.")
|
@doc("Used as optional parameters for MD_S8ListJoin.")
|
||||||
@@ -538,9 +537,6 @@ main:
|
|||||||
{
|
{
|
||||||
@doc("The root node of the Metadesk tree that was parsed.")
|
@doc("The root node of the Metadesk tree that was parsed.")
|
||||||
node: *MD_Node;
|
node: *MD_Node;
|
||||||
// TODO(rjf): this needs to be removed once ParseTagList is not around
|
|
||||||
@doc("RYAN IF THIS IS IN HERE, IT'S YOUR FAULT.")
|
|
||||||
last_node: *MD_Node;
|
|
||||||
@doc("The number of bytes that were parsed. Skipping this many bytes in the parse input string will provide the point at which the parser stopped parsing.")
|
@doc("The number of bytes that were parsed. Skipping this many bytes in the parse input string will provide the point at which the parser stopped parsing.")
|
||||||
string_advance: MD_u64;
|
string_advance: MD_u64;
|
||||||
@doc("A list of messages (especially errors) that were encountered during the parse. If this list contains an MD_Message with @code 'MD_MessageKind_FatalError' set as its MD_MessageKind, then the output of the parser should not be trusted.")
|
@doc("A list of messages (especially errors) that were encountered during the parse. If this list contains an MD_Message with @code 'MD_MessageKind_FatalError' set as its MD_MessageKind, then the output of the parser should not be trusted.")
|
||||||
|
|||||||
Reference in New Issue
Block a user