|
ICG 2
Electric Boogaloo
|
Classes | |
| class | Scope |
| Keep track of the namespace scope that we're in. More... | |
Enumerations | |
| enum | NodeKind { ClassDecl , FieldDecl , NamespaceDecl , ClassTemplateDecl , ClassTemplateSpecialization , TemplateParameterDecl , TemplateArgument , UsingDecl , TypedefDecl , Unknown } |
Functions | |
| NodeKind | getNodeKind (json &node) |
| Get the kind of a node. More... | |
| std::string | getQualifiedType (json &node) |
| Get the Qualified Type of the field. More... | |
| std::vector< std::string > | getBaseClasses (json &class_node) |
| Get the base classes of a class declaration. More... | |
| std::string | getNodeName (json &node) |
| Get the name of the given node. More... | |
| json & | getNodeInner (json &node) |
| Get a reference to the json node representing a list of what's inside this node. More... | |
| ASTInfo | traverseAST (json &ast) |
| Traverse the AST and pull out relevant information. More... | |
| ASTInfo | scrape_ast (json &ast_node, Scope &scope) |
| Process this node of the AST as a top level AST. More... | |
| ASTInfo | scrape_class_info (json &class_node, Scope &scope) |
| Process this node of the AST as a class declaration. More... | |
| ASTInfo | scrape_class_template_decl_info (json &class_template_node, Scope &scope) |
| Process this node of the AST as a class template declaration. More... | |
| ASTInfo | scrape_class_template_spec_info (json &class_template_node, Scope &scope) |
| Process this node of the AST as a class template specialization. More... | |
| ASTInfo | scrape_typedef_info (json &typedef_node, Scope &scope) |
| Process this node of the AST as a class template specialization. More... | |
| FieldInfo | scrape_field_decl_info (json &field_node, Scope &scope) |
| Process this node of the AST as a field declaration. More... | |
| enum JClang::NodeKind |
| std::vector< std::string > JClang::getBaseClasses | ( | json & | class_node | ) |
Get the base classes of a class declaration.
| class_node | json node that represents a class declaration |
Get a reference to the json node representing a list of what's inside this node.
| node |
Get the kind of a node.
| node | node of json AST |
| std::string JClang::getNodeName | ( | json & | node | ) |
Get the name of the given node.
| node | json node that represents something that has a name |
| std::string JClang::getQualifiedType | ( | json & | node | ) |
Get the Qualified Type of the field.
| node | json node that represents something that has a type |
Process this node of the AST as a top level AST.
| ast_node | node to process |
| scope | current scope object |
Process this node of the AST as a class declaration.
| class_node | node to process |
| scope | current scope object |
Process this node of the AST as a class template declaration.
| class_template_node | node to process |
| scope | current scope object |
Process this node of the AST as a class template specialization.
| class_template_node | node to process |
| scope | current scope object |
Process this node of the AST as a field declaration.
| field_node | node to process |
| scope | current scope object |
Process this node of the AST as a class template specialization.
| class_template_node | node to process |
| scope | current scope object |