Lines Matching refs:FunctionAST
175 /// FunctionAST - This class represents a function definition itself.
176 class FunctionAST {
180 FunctionAST(PrototypeAST *proto, ExprAST *body)
216 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
426 static FunctionAST *ParseDefinition() {
432 return new FunctionAST(Proto, E);
437 static FunctionAST *ParseTopLevelExpr() {
441 return new FunctionAST(Proto, E);
696 Function *FunctionAST::Codegen() {
732 if (FunctionAST *F = ParseDefinition()) {
757 if (FunctionAST *F = ParseTopLevelExpr()) {