Home | History | Annotate | Download | only in cached

Lines Matching refs:FunctionAST

245 /// FunctionAST - This class represents a function definition itself.
246 class FunctionAST {
250 FunctionAST(PrototypeAST *proto, ExprAST *body)
286 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
600 static FunctionAST *ParseDefinition() {
606 return new FunctionAST(Proto, E);
611 static FunctionAST *ParseTopLevelExpr() {
615 return new FunctionAST(Proto, E);
1356 Function *FunctionAST::Codegen() {
1397 if (FunctionAST *F = ParseDefinition()) {
1427 if (FunctionAST *F = ParseTopLevelExpr()) {