Lines Matching refs:FunctionAST
203 /// FunctionAST - This class represents a function definition itself.
204 class FunctionAST {
208 FunctionAST(PrototypeAST *proto, ExprAST *body)
244 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
511 static FunctionAST *ParseDefinition() {
517 return new FunctionAST(Proto, E);
522 static FunctionAST *ParseTopLevelExpr() {
526 return new FunctionAST(Proto, E);
800 Function *FunctionAST::Codegen() {
843 if (FunctionAST *F = ParseDefinition()) {
868 if (FunctionAST *F = ParseTopLevelExpr()) {