Home | History | Annotate | Download | only in cached

Lines Matching defs:FunctionAST

239 /// FunctionAST - This class represents a function definition itself.
240 class FunctionAST {
244 FunctionAST(PrototypeAST *proto, ExprAST *body)
280 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
594 static FunctionAST *ParseDefinition() {
600 return new FunctionAST(Proto, E);
605 static FunctionAST *ParseTopLevelExpr() {
609 return new FunctionAST(Proto, E);
981 Function *FunctionAST::Codegen() {
1027 if (FunctionAST *F = ParseDefinition()) {
1056 if (FunctionAST *F = ParseTopLevelExpr()) {