pub fn as_document_type(ref_node: &RefNode) -> Result<RefDocumentType<'_>>
Expand description
Safely cast the specified RefNode
into a Ref type.
pub fn as_document_type(ref_node: &RefNode) -> Result<RefDocumentType<'_>>
Safely cast the specified RefNode
into a Ref type.