Home | History | Annotate | Download | only in Chapter5

Lines Matching refs:PrototypeAST

184 /// PrototypeAST - This class represents the "prototype" for a function,
187 class PrototypeAST {
192 PrototypeAST(const std::string &name, const std::vector<std::string> &args)
200 PrototypeAST *Proto;
204 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {}
241 PrototypeAST *ErrorP(const char *Str) {
453 static PrototypeAST *ParsePrototype() {
472 return new PrototypeAST(FnName, ArgNames);
478 PrototypeAST *Proto = ParsePrototype();
491 PrototypeAST *Proto = new PrototypeAST("", std::vector<std::string>());
498 static PrototypeAST *ParseExtern() {
721 Function *PrototypeAST::Codegen() {
812 if (PrototypeAST *P = ParseExtern()) {