Function brane_ast::traversals::flatten::pass_block
source · pub fn pass_block(
block: &mut Block,
table: &mut TableState,
errors: &mut Vec<Error>,
)
Expand description
Passes a block, collecting all of its definitions (i.e., symbol table entries) into the given CompileState.
§Arguments
block
: The Block to traverse.table
: The TableState to define everything in.errors
: A list of errors that may be collected during traversal.
§Returns
Nothing, but does change contents of symbol tables.
§Errors
This function may error in the (statistically improbable) event that two intermediate result identifiers collide.