cint_eval_asts.h (716B)
1 /* 2 * 3 * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file. 4 * 5 * Copyright 2007-2019 Broadcom Inc. All rights reserved. 6 * 7 * File: cint_eval_asts.h 8 * Purpose: CINT AST evaluator interfaces 9 */ 10 11 #ifndef __CINT_EVAL_ASTS_H__ 12 #define __CINT_EVAL_ASTS_H__ 13 14 #include "cint_config.h" 15 #include "cint_ast.h" 16 #include "cint_error.h" 17 #include "cint_variables.h" 18 19 /* 20 * Evaluate a single AST 21 */ 22 extern cint_variable_t* 23 cint_eval_ast(cint_ast_t* ast); 24 25 /* 26 * Evaluate all linked ASTs and return the 27 * the value of the last one. 28 */ 29 30 extern cint_variable_t* 31 cint_eval_asts(cint_ast_t* ast); 32 33 #endif /* __CINT_EVAL_ASTS_H__ */