Namespaces Summary: | |
AST A namespace for the AST hierarchy | |
std | |
FakeGC The fake Gargage Collector namespace | |
Types The Type hierarchy | |
__gnu_cxx |
Modules Summary: | |
emul | |
{builder.cc} | |
{filter.cc} | |
{link.cc} Static namespace for link module | |
{link_map.cc} | |
{linkstore.cc} | |
{lookup.cc} | |
{occ.cc} |
Typedefs Summary: | |
std::vector<ScopeInfo*> | ScopeSearch [Source] |
std::vector<std::string> | ScopedName A scoped name, containing zero or more elements. [Source] |
std::basic_string<unsigned char> | code A string type for the encoded names and types [Source] |
code::iterator | code_iter A string iterator type for the encoded names and types [Source] |
__locale_struct* | __locale_t [Source] |
std::multimap<std::string, Types::Named*> | name_map [Source] |
void* | HashValue [Source] |
Class*(*)(Ptree*, Ptree*) | opcxx_MetaclassCreator [Source] |
bool | BOOL [Source] |
int | sint [Source] |
unsigned int | uint [Source] |
gc | LightObject [Source] |
gc_cleanup | Object [Source] |
Structs Summary: | |
ScopeInfo This class encapsulates information about a Scope and its dictionary of names. [Source] | |
LineMapNode [Source] | |
HashTableEntry [Source] | |
__locale_struct [Source] | |
rw_table [Source] |
Enums Summary: | |
NamespaceType | NamespaceNamed, NamespaceAnon, NamespaceUnique, NamespaceTemplate Enumeration of namespace types for use in Builder::start_namespace() [Source] |
TypeInfoId | UndefType, BuiltInType, ClassType, EnumType, TemplateType, PointerType, ReferenceType, PointerToMemberType, ArrayType, FunctionType [Source] |
Functions Summary: | |
std::ostream& | operator<<(std::ostream& out, const ScopedName& name) Prototype for scoped name output operator (defined in builder.cc) [Source] |
std::string | join(const ScopedName& strs, const std::string& sep = " ") Joins the elements of the scoped name using the separator string [Source] |
inline code | make_code(const char* c) A function to make a code string from a normal string [Source] |
std::ostream& | operator<<(std::ostream& o, const code& s) Insertion operator for encoded names and types [Source] |
std::ostream& | operator<<(std::ostream& o, TypeInfo& i) Output operator for debugging [Source] |
int | wait(int*) [Source] |
extern void | ParseCmdOptions(int from, int argc, char** argv, char*& source) [Source] |
extern void | AddCppOption(const char* arg) [Source] |
extern void | AddCcOption(const char* arg) [Source] |
extern void | CloseCcOptions() [Source] |
extern void | ShowCommandLine(const char* cmd, const char** args) [Source] |
bool | ParseTargetSpecificOptions(char* arg, char*& source_file) [Source] |
void | RunLinker() [Source] |
char* | RunPreprocessor(const char* src) [Source] |
char* | OpenCxxOutputFileName(const char* src) [Source] |
void | RunCompiler(const char* src, const char* occsrc) [Source] |
void | RunSoCompiler(const char* src_file) [Source] |
void* | LoadSoLib(char* file_name) [Source] |
void* | LookupSymbol(void* handle, char* symbol) [Source] |
static char* | MakeTempFilename(const char* src, const char* suffix) [Source] |
extern void | LoadMetaclass(char*) [Source] |
void | Compile(int argc, char** argv) [Source] |
bool | IsCxxSource(char* fname) [Source] |
static void | ReadStdin() [Source] |
static void | ReadFile(const char* src) [Source] |
static char* | RunOpencxx(const char* src) [Source] |
static int | ParseOpencxx(Program* parse) [Source] |
static char* | ParseOptions(int argc, char** argv) [Source] |
static void | ShowVersion() [Source] |
static void | ShowHelp(char**) [Source] |
static void | AddCc2Option(const char* arg) [Source] |
static void | RecordCmdOption(char* option) [Source] |
static void | ParseCcOptions(char* arg, char*& source_file) [Source] |
int | main(int argc, char** argv) [Source] |
static Class* | CreateQuoteClass(Ptree* def, Ptree* marg) [Source] |
opcxx_ListOfMetaclass* | opcxx_init_QuoteClass() [Source] |
static Class* | CreateMetaclass(Ptree* def, Ptree* marg) [Source] |
opcxx_ListOfMetaclass* | opcxx_init_Metaclass() [Source] |
static Class* | CreateClass(Ptree* def, Ptree* marg) [Source] |
static Class* | CreateTemplateClass(Ptree* def, Ptree* marg) [Source] |
opcxx_ListOfMetaclass* | opcxx_init_Class() [Source] |
opcxx_ListOfMetaclass* | opcxx_init_TemplateClass() [Source] |
static int | CountArgs(char* pat) [Source] |
static char* | SkipSpaces(char* pat) [Source] |
void | MopErrorMessage(char* where, char* msg) [Source] |
void | MopErrorMessage2(char* msg1, char* msg2) [Source] |
void | MopWarningMessage(char* where, char* msg) [Source] |
void | MopWarningMessage2(char* msg1, char* msg2) [Source] |
void | MopMoreWarningMessage(char* msg1, char* msg2) [Source] |
extern __locale_t | uselocale(__locale_t __dataset) [Source] |
static void | InitializeOtherKeywords() [Source] |
ScopedName | extend(const ScopedName& name, const std::string& str) Utility method [Source] |
std::string | append(const std::vector<std::string>& strs, const std::string& sep = " ") [Source] |
bool | isStructor(const AST::Function* func) [Source] |
void | reset() Clear all global vars [Source] |
static PyObject* | py_link(PyObject* self, PyObject* args) The main python method, equivalent to the main() function [Source] |
void | initlink() The initialisation method for this module [Source] |
void | synopsis_macro_hook(const char* name, int line, int start, int end, int diff) This function is a callback from the ucpp code to store macro expansions [Source] |
void | synopsis_include_hook(const char* source_file, const char* target_file, int is_macro, int is_next) This function is a callback from the ucpp code to store includes [Source] |
void | synopsis_define_hook(const char* filename, int line, const char* name, int num_args, const char** args, int vaarg, const char* text) This function is a callback from the ucpp code to store macro definitions [Source] |
std::ostream& | operator<<(std::ostream& out, const LinkStore::encode& enc) [Source] |
std::ostream& | operator<<(std::ostream& out, const LinkStore::encode_name& enc) [Source] |
int | ucpp_main(int argc, char** argv) [Source] |
void | initocc() [Source] |
AST::Comment* | make_Comment(AST::SourceFile* file, int line, Ptree* first, bool suspect = false) [Source] |
Leaf* | make_Leaf(char* pos, int len) [Source] |
void | nullObj() [Source] |
inline std::ostream& | operator<<(std::ostream& s, Ptree* p) [Source] |
inline bool | is_blank(char c) [Source] |
inline bool | is_letter(char c) [Source] |
inline bool | is_digit(char c) [Source] |
inline bool | is_xletter(char c) [Source] |
inline bool | is_eletter(char c) [Source] |
inline bool | is_hexdigit(char c) [Source] |
inline bool | is_int_suffix(char c) [Source] |
inline bool | is_float_suffix(char c) [Source] |
Typedef Details: |
A scoped name, containing zero or more elements. This typedef makes it easier to use scoped name types, and also makes it clearer than using the raw vector in your code.
Enum Details: |
< Normal, named, namespace. name is its given name
< An anonymous namespace. name is the filename
< A unique namespace. name is the type (for, while, etc.)
Enumeration of namespace types for use in Builder::start_namespace()