Lines Matching refs:FunctionAST
139 /// FunctionAST - This class represents a function definition itself.
140 class FunctionAST {
144 FunctionAST(PrototypeAST *proto, ExprAST *body)
180 FunctionAST *ErrorF(const char *Str) { Error(Str); return 0; }
318 static FunctionAST *ParseDefinition() {
324 return new FunctionAST(Proto, E);
329 static FunctionAST *ParseTopLevelExpr() {
333 return new FunctionAST(Proto, E);
443 Function *FunctionAST::Codegen() {
474 if (FunctionAST *F = ParseDefinition()) {
499 if (FunctionAST *F = ParseTopLevelExpr()) {