29 lines
		
	
	
	
		
			779 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			29 lines
		
	
	
	
		
			779 B
		
	
	
	
		
			C
		
	
	
	
	
	
/*  Copyright (c) 2019 ACK Project.
 | 
						|
 *  See the copyright notice in the ACK home directory, 
 | 
						|
 *  in the file "Copyright".
 | 
						|
 *
 | 
						|
 *  Created on: 2019-02-25
 | 
						|
 *  
 | 
						|
 */
 | 
						|
#ifndef CSTOPER_H_
 | 
						|
#define CSTOPER_H_
 | 
						|
 | 
						|
/* Compile time constant evaluations */
 | 
						|
 | 
						|
 | 
						|
void cstunary(struct node **expp);
 | 
						|
void cstibin(struct node **expp);
 | 
						|
void cstfbin(struct node **expp);
 | 
						|
void cstubin(struct node **expp);
 | 
						|
/** Evaluates the constant set operators at compile time
 | 
						|
 *  and returns the result in "expp".
 | 
						|
 */
 | 
						|
void cstset(struct node **expp);
 | 
						|
/* Evaluates the result of internal procedures on constants
 | 
						|
 * at compile time, and returns the result in "expp".
 | 
						|
 */
 | 
						|
void cstcall(struct node **expp, int call);
 | 
						|
/* Compile time constant evaluator system initialization. */
 | 
						|
void InitCst(void);
 | 
						|
 | 
						|
#endif /* CSTOPER_H_ */
 |