Page Menu
Home
Xreate
Search
Configure Global Search
Log In
Docs
Questions
Repository
Issues
Patches
Internal API
Files
F3995678
predefinedanns.h
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Tue, Jul 7, 8:38 PM
Size
852 B
Mime Type
text/x-c++
Expires
Thu, Jul 9, 8:38 PM (1 d, 7 h)
Engine
blob
Format
Raw Data
Handle
271709
Attached To
rXR Xreate
predefinedanns.h
View Options
//
// Created by pgess on 19/03/2020.
//
#ifndef XREATE_PREDEFINEDANNS_H
#define XREATE_PREDEFINEDANNS_H
#include "ast.h"
namespace xreate{ namespace analysis{
class PredefinedAnns{
public:
enum class FnAnnotations{
ENTRY
};
enum class ExprAnnotations{
I12N
};
enum class I12ModeTag{
ON, OFF
};
enum class IntHints{
SIZE
};
enum class ContHints{
ARRAY
};
TypeAnnotation fnAnnsT;
TypeAnnotation exprAnnsT;
TypeAnnotation hintsIntT;
TypeAnnotation hintsContT;
//Interpretation
TypeAnnotation i12nModeT;
PredefinedAnns();
static const PredefinedAnns& instance(){ return __instance; }
void fillRegistry(std::map<std::string, std::pair<TypeAnnotation, int>> &__registry) const;
private:
static PredefinedAnns __instance;
};
}} // end of xreate::analysis
#endif //XREATE_PREDEFINEDANNS_H
Event Timeline
Log In to Comment