Skip to main content

type_

Function type_ 

Source
pub fn type_(kind: impl Into<TypeRef>, spec: impl Into<Spec>) -> Node
Expand description

The kind the node asserts, given a kind, a token, a kind name or a node to take it from.