pub struct ProgramNode<'pr> { /* private fields */ }Expand description
The top level node of any parse tree.
Implementations§
Source§impl<'pr> ProgramNode<'pr>
impl<'pr> ProgramNode<'pr>
Sourcepub fn flags(&self) -> pm_node_flags_t
pub fn flags(&self) -> pm_node_flags_t
Returns the flags of this node.
Sourcepub fn locals(&self) -> ConstantList<'pr>
pub fn locals(&self) -> ConstantList<'pr>
Returns the locals param
Sourcepub fn statements(&self) -> StatementsNode<'pr>
pub fn statements(&self) -> StatementsNode<'pr>
Returns the statements param