Lines Matching refs:program
102 static void CheckOptionsBeforePhase(const CompilerOptions &options, const parser::Program *program,
104 static void CheckOptionsAfterPhase(const CompilerOptions &options, const parser::Program *program,
192 bool Phase::Apply(public_lib::Context *ctx, parser::Program *program)
200 CheckOptionsBeforePhase(options, program, name);
203 if (!Precondition(ctx, program)) {
210 if (!Perform(ctx, program)) {
214 CheckOptionsAfterPhase(options, program, name);
217 if (!Postcondition(ctx, program)) {
227 static void CheckOptionsBeforePhase(const CompilerOptions &options, const parser::Program *program,
232 std::cout << program->Dump() << std::endl;
238 std::cout << program->Ast()->DumpEtsSrc() << std::endl;
242 static void CheckOptionsAfterPhase(const CompilerOptions &options, const parser::Program *program,
247 std::cout << program->Dump() << std::endl;
253 std::cout << program->Ast()->DumpEtsSrc() << std::endl;