Home | History | Annotate | Download | only in Chapter5

Lines Matching refs:PrototypeAST

163 /// PrototypeAST - This class represents the "prototype" for a function,
166 class PrototypeAST {
170 PrototypeAST(const std::string &name, const std::vector<std::string> &args)
178 PrototypeAST *Proto;
181 FunctionAST(PrototypeAST *proto, ExprAST *body)
217 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
405 static PrototypeAST *ParsePrototype() {
424 return new PrototypeAST(FnName, ArgNames);
430 PrototypeAST *Proto = ParsePrototype();
442 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>());
449 static PrototypeAST *ParseExtern() {
656 Function *PrototypeAST::Codegen() {
746 if (PrototypeAST *P = ParseExtern()) {