Home | History | Annotate | Download | only in Chapter6

Lines Matching refs:FunctionAST

229 /// FunctionAST - This class represents a function definition itself.
230 class FunctionAST {
235 FunctionAST(PrototypeAST *proto, ExprAST *body) : Proto(proto), Body(body) {}
276 FunctionAST *ErrorF(const char *Str) {
564 static FunctionAST *ParseDefinition() {
571 return new FunctionAST(Proto, E);
576 static FunctionAST *ParseTopLevelExpr() {
580 return new FunctionAST(Proto, E);
872 Function *FunctionAST::Codegen() {
915 if (FunctionAST *F = ParseDefinition()) {
940 if (FunctionAST *F = ParseTopLevelExpr()) {