pub fn with_capacity(capacity: usize) -> Self {
        Self {
            nodes: Vec::with_capacity(capacity),
            spans: Vec::with_capacity(capacity),
            constants: ConstantPool::default(),
            entry_point: 0,
        }
    }
/// Initializes an Ast with the given capacity
Initializes an Ast with the given capacity
Initializes an Ast with the given capacity
pub fn with_capacity(capacity: usize) -> Self {
        Self {
            nodes: Vec::with_capacity(capacity),
            spans: Vec::with_capacity(capacity),
            constants: ConstantPool::default(),
            entry_point: 0,
        }
    }
pub fn with_capacity ( capacity : usize ) -> Self { Self { nodes : Vec :: with_capacity ( capacity ) , spans : Vec :: with_capacity ( capacity ) , constants : ConstantPool :: default ( ) , entry_point : 0 , } }
Initializes an Ast with the given capacity
Initializes an Ast with the given capacity
capacity
usize
capacity
usize