Lines Matching refs:ast
269 status_t parseFile(AST *ast) {
270 FILE *file = fopen(ast->getFilename().c_str(), "rb");
277 isOpenGl = ast->isOpenGl();
281 yylex_init_extra(ast, &scanner);
282 ast->setScanner(scanner);
285 int res = yyparse(ast);
288 ast->setScanner(NULL);
296 status_t parseExpression(AST *ast, std::string str) {
298 isOpenGl = ast->isOpenGl();
302 yylex_init_extra(ast, &scanner);
303 ast->setScanner(scanner);
307 int res = yyparse(ast);
312 ast->setScanner(NULL);