Home | History | Annotate | Download | only in Chapter3

Lines Matching refs:PrototypeAST

127 /// PrototypeAST - This class represents the "prototype" for a function,
130 class PrototypeAST {
134 PrototypeAST(const std::string &name, const std::vector<std::string> &args)
142 PrototypeAST *Proto;
145 FunctionAST(PrototypeAST *proto, ExprAST *body)
181 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
297 static PrototypeAST *ParsePrototype() {
316 return new PrototypeAST(FnName, ArgNames);
322 PrototypeAST *Proto = ParsePrototype();
334 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>());
341 static PrototypeAST *ParseExtern() {
403 Function *PrototypeAST::Codegen() {
488 if (PrototypeAST *P = ParseExtern()) {