Lines Matching defs:FunctionAST
269 /// FunctionAST - This class represents a function definition itself.
270 class FunctionAST {
274 FunctionAST(PrototypeAST *proto, ExprAST *body)
310 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
624 static FunctionAST *ParseDefinition() {
630 return new FunctionAST(Proto, E);
635 static FunctionAST *ParseTopLevelExpr() {
639 return new FunctionAST(Proto, E);
1537 Function *FunctionAST::Codegen() {
1582 if (FunctionAST *F = ParseDefinition()) {
1611 if (FunctionAST *F = ParseTopLevelExpr()) {