Add a function for getting the post blank.

This commit is contained in:
Tom Alexander 2023-10-31 20:50:36 -04:00
parent 7dfe24ff98
commit 31fb815681
Signed by: talexander
GPG Key ID: D3A179C9A53C0EDE

View File

@ -9,6 +9,11 @@ pub trait StandardProperties<'s> {
//
// This corresponds to :contents-begin to :contents-end
// fn get_contents(&'s self) -> &'s str;
// Get the slice of the AST node's post-blank text.
//
// This is optional whitespace following the node.
// fn get_post_blank<'b>(&'b self) -> &'s str;
}
// TODO: Write some debugging code to alert when any of the unknown fields below are non-nil in our test data so we can see what these fields represent.