Skip to main content

encode_located_frame

Function encode_located_frame 

Source
pub fn encode_located_frame(
    located: &LocatedExpr,
    include_origin: bool,
) -> Result<BinaryFrame>
Expand description

Encodes a LocatedExpr into a BinaryFrame.

When include_origin is set and located carries an origin, the frame is flagged to carry that single origin so the located form round-trips.