pub struct FnRef<'a> {
pub prototype: &'a FunctionPrototype,
pub statement: &'a CompoundStatement,
}
Expand description
Reference to a function held in a transformation unit
Fields§
§prototype: &'a FunctionPrototype
Prototype of the target function
statement: &'a CompoundStatement
Contents of the target function
Trait Implementations§
source§impl NodeContent for FnRef<'_>
impl NodeContent for FnRef<'_>
source§fn into_node<T>(self) -> Node<T>where
T: From<Self> + NodeContent,
fn into_node<T>(self) -> Node<T>where T: From<Self> + NodeContent,
Convert the contents into a node
source§fn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
fn spanned(self, start: LexerPosition, end: LexerPosition) -> Node<Self>
Add span information to a syntax node