pub struct HelixAst {
pub declarations: Vec<Declaration>,
}
Fields§
§declarations: Vec<Declaration>
Implementations§
Source§impl HelixAst
impl HelixAst
pub fn new() -> Self
pub fn add_declaration(&mut self, decl: Declaration)
pub fn get_projects(&self) -> Vec<&ProjectDecl>
pub fn get_agents(&self) -> Vec<&AgentDecl>
pub fn get_workflows(&self) -> Vec<&WorkflowDecl>
pub fn get_contexts(&self) -> Vec<&ContextDecl>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HelixAst
impl RefUnwindSafe for HelixAst
impl Send for HelixAst
impl Sync for HelixAst
impl Unpin for HelixAst
impl UnwindSafe for HelixAst
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more