mirror of
				https://github.com/OpenMW/openmw.git
				synced 2025-11-04 05:26:39 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			21 lines
		
	
	
	
		
			533 B
		
	
	
	
		
			C++
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
	
		
			533 B
		
	
	
	
		
			C++
		
	
	
	
	
	
#ifndef MWCOMPILER_CONTEXT_H_INCLUDED
 | 
						|
#define MWCOMPILER_CONTEXT_H_INCLUDED
 | 
						|
 | 
						|
#include <components/compiler/context.hpp>
 | 
						|
 | 
						|
namespace SACompiler
 | 
						|
{
 | 
						|
    class Context : public Compiler::Context
 | 
						|
    {
 | 
						|
        public:
 | 
						|
        
 | 
						|
            virtual bool canDeclareLocals() const;
 | 
						|
            ///< Is the compiler allowed to declare local variables?    
 | 
						|
            
 | 
						|
            virtual char getGlobalType (const std::string& name) const;
 | 
						|
            ///< 'l: long, 's': short, 'f': float, ' ': does not exist.              
 | 
						|
    };
 | 
						|
}
 | 
						|
 | 
						|
#endif
 | 
						|
 |