pub fn emit_program<'p>(
    emitter: &mut Emitter,
    flags: FromAstFlags,
    namespace: RcOc<namespace_env::Env>,
    tast: &'p mut Tast::Program,
) -> Result<HhasProgram<'p>> {
    let result = emit_program_(emitter, flags, namespace, tast);
    match result {
        Err(Error::IncludeTimeFatalException(op, pos, msg)) => emit_fatal_program(op, &pos, msg),
        _ => result,
    }
}
/// This is the entry point from hh_single_compile & coroutine
This is the entry point from hh_single_compile & coroutine
This is the entry point from hh_single_compile & coroutine
pub fn emit_program<'p>(
    emitter: &mut Emitter,
    flags: FromAstFlags,
    namespace: RcOc<namespace_env::Env>,
    tast: &'p mut Tast::Program,
) -> Result<HhasProgram<'p>> {
    let result = emit_program_(emitter, flags, namespace, tast);
    match result {
        Err(Error::IncludeTimeFatalException(op, pos, msg)) => emit_fatal_program(op, &pos, msg),
        _ => result,
    }
}
pub fn emit_program < ' p > ( emitter : & mut Emitter , flags : FromAstFlags , namespace : RcOc < namespace_env :: Env > , tast : & ' p mut Tast :: Program , ) -> Result < HhasProgram < ' p > > { let result = emit_program_ ( emitter , flags , namespace , tast ) ; match result { Err ( Error :: IncludeTimeFatalException ( op , pos , msg ) ) => emit_fatal_program ( op , & pos , msg ) , _ => result , } }
This is the entry point from hh_single_compile & coroutine
This is the entry point from hh_single_compile & coroutine
emitter
&mut Emitter
flags
FromAstFlags
namespace
RcOc<namespace_env::Env>
tast
&'p mut Tast::Program