Lines Matching refs:PrototypeAST
126 /// PrototypeAST - This class represents the "prototype" for a function,
129 class PrototypeAST {
133 PrototypeAST(const std::string &name, const std::vector<std::string> &args)
141 PrototypeAST *Proto;
144 FunctionAST(PrototypeAST *proto, ExprAST *body)
179 PrototypeAST *ErrorP(const char *Str) { Error(Str); return 0; }
295 static PrototypeAST *ParsePrototype() {
314 return new PrototypeAST(FnName, ArgNames);
320 PrototypeAST *Proto = ParsePrototype();
332 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>());
339 static PrototypeAST *ParseExtern() {
401 Function *PrototypeAST::Codegen() {
486 if (PrototypeAST *P = ParseExtern()) {