Skip to main content

tx_node_line

Function tx_node_line 

Source
#[unsafe(no_mangle)]
pub unsafe extern "C" fn tx_node_line( doc: *const TxDocument, node: TxNodeId, ) -> c_int
Expand description

Returns the 1-based source line number where the node was parsed, or 0 if the node was not created by parsing.

ยงSafety

doc must be a valid, non-null pointer to a TxDocument.