pub enum AstNode {
FunctionDeclaration(Commented<FunctionDeclaration>),
TypeDeclaration(Commented<TypeDeclaration>),
ImportStatement(Commented<ImportStatement>),
}
Variants§
FunctionDeclaration(Commented<FunctionDeclaration>)
TypeDeclaration(Commented<TypeDeclaration>)
ImportStatement(Commented<ImportStatement>)
Trait Implementations§
Source§impl PrettyPrint for AstNode
impl PrettyPrint for AstNode
fn pretty_print(&self, interner: &SymbolInterner, indentation: usize) -> String
Auto Trait Implementations§
impl Freeze for AstNode
impl RefUnwindSafe for AstNode
impl !Send for AstNode
impl !Sync for AstNode
impl Unpin for AstNode
impl UnwindSafe for AstNode
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