Searched refs:ASTNode (Results 1 - 25 of 36) sorted by relevance

12

/netbsd-current/external/gpl3/gcc/dist/gcc/d/dmd/
H A Dast_node.h17 class ASTNode : public RootObject class in inherits:RootObject
H A Dast_node.d17 extern (C++) abstract class ASTNode : RootObject
H A Dcond.h32 class Condition : public ASTNode
H A Dinit.h30 class Initializer : public ASTNode
H A Dtemplate.h108 class TemplateParameter : public ASTNode
H A Dinit.d42 extern (C++) class Initializer : ASTNode
H A Ddsymbol.h170 class Dsymbol : public ASTNode
/netbsd-current/external/bsd/elftosb/dist/elftosb2/
H A DElftosbAST.h34 class ASTNode class in namespace:elftosb
38 ASTNode() : m_parent(0) {} function in class:elftosb::ASTNode
41 ASTNode(ASTNode * parent) : m_parent(parent) {} function in class:elftosb::ASTNode
44 ASTNode(const ASTNode & other) : m_parent(other.m_parent) {} function in class:elftosb::ASTNode
47 virtual ~ASTNode() {}
50 virtual ASTNode * clone() const = 0;
53 virtual std::string nodeName() const { return "ASTNode"; }
57 virtual ASTNode * getParen
[all...]
H A DConversionController.h115 Value * convertAssignmentNodeToValue(ASTNode * node, std::string & ident);
117 DataSource * createSourceFromNode(ASTNode * dataNode);
118 DataTarget * createTargetFromNode(ASTNode * targetNode);
H A DElftosbAST.cpp17 #pragma mark = ASTNode =
19 void ASTNode::printTree(int indent) const
25 void ASTNode::printIndent(int indent) const
34 void ASTNode::setLocation(token_loc_t & first, token_loc_t & last)
40 void ASTNode::setLocation(ASTNode * first, ASTNode * last)
49 : ASTNode(other), m_list()
74 void ListASTNode::appendNode(ASTNode * node)
85 ASTNode
[all...]
H A Delftosb_parser.tab.hpp125 elftosb::ASTNode * m_ast; // must use full name here because this is put into *.tab.hpp
H A DConversionController.cpp130 ASTNode * node = *it;
510 ASTNode * contents = dataSection->getContents();
540 Value * ConversionController::convertAssignmentNodeToValue(ASTNode * node, std::string & ident)
555 ASTNode * valueNode = assignmentNode->getValue();
734 ASTNode * argNode = statement->getArgument();
1072 DataSource * ConversionController::createSourceFromNode(ASTNode * dataNode)
1151 ASTNode * node = *it;
1202 ASTNode * valueNode = assignmentNode->getValue();
1234 DataTarget * ConversionController::createTargetFromNode(ASTNode * targetNode)
/netbsd-current/external/apache2/llvm/dist/clang/utils/TableGen/
H A DASTTableGen.cpp24 if (auto node = getAs<ASTNode>()) {
94 using ChildMap = std::multimap<ASTNode, ASTNode>;
96 static void visitASTNodeRecursive(ASTNode node, ASTNode base,
98 ASTNodeHierarchyVisitor<ASTNode> visit) {
109 ASTNodeHierarchyVisitor<ASTNode> visit) {
121 ASTNode root;
122 for (ASTNode node : nodes) {
135 visitASTNodeRecursive(root, ASTNode(), hierarch
[all...]
H A DClangASTNodesEmitter.cpp33 typedef std::multimap<ASTNode, ASTNode> ChildMap;
37 ASTNode Root;
61 std::string baseName(ASTNode node) {
70 std::pair<ASTNode, ASTNode> EmitNode(raw_ostream& OS, ASTNode Base);
87 std::pair<ASTNode, ASTNode> ClangASTNodesEmitter::EmitNode(raw_ostream &OS,
88 ASTNode Bas
[all...]
H A DASTTableGen.h21 #define ASTNodeClassName "ASTNode"
42 // Cases of various non-ASTNode structured types like DeclarationName.
157 class ASTNode : public HasProperties { class in namespace:clang::tblgen
159 ASTNode(llvm::Record *record = nullptr) : HasProperties(record) {} function in class:clang::tblgen::ASTNode
166 ASTNode getBase() const {
180 class DeclNode : public ASTNode {
182 DeclNode(llvm::Record *record = nullptr) : ASTNode(record) {}
186 DeclNode getBase() const { return DeclNode(ASTNode::getBase().getRecord()); }
202 class TypeNode : public ASTNode {
204 TypeNode(llvm::Record *record = nullptr) : ASTNode(recor
[all...]
H A DClangASTPropertiesEmitter.cpp214 if (ASTNode base = derivedNode.getAs<ASTNode>()) {
/netbsd-current/external/apache2/llvm/dist/clang/lib/StaticAnalyzer/Checkers/WebKit/
H A DASTUtils.h69 template <typename T> std::string safeGetName(const T *ASTNode) { argument
70 const auto *const ND = llvm::dyn_cast_or_null<clang::NamedDecl>(ASTNode);
/netbsd-current/external/apache2/llvm/dist/clang/tools/libclang/
H A DCXComment.h33 Result.ASTNode = C;
39 return static_cast<const comments::Comment *>(CXC.ASTNode);
H A DCXIndexDataConsumer.cpp159 SourceLocation Loc, ASTNodeInfo ASTNode) {
167 if (auto *ObjCID = dyn_cast_or_null<ObjCInterfaceDecl>(ASTNode.OrigD)) {
175 if (auto *ObjCPD = dyn_cast_or_null<ObjCProtocolDecl>(ASTNode.OrigD)) {
191 if (ASTNode.OrigE) {
192 Cursor = cxcursor::MakeCXCursor(ASTNode.OrigE,
193 cast<Decl>(ASTNode.ContainerDC),
196 if (ASTNode.OrigD) {
197 if (auto *OrigND = dyn_cast<NamedDecl>(ASTNode.OrigD))
200 Cursor = MakeCXCursor(ASTNode.OrigD, CXTU);
206 dyn_cast_or_null<NamedDecl>(ASTNode
157 handleDeclOccurrence( const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, SourceLocation Loc, ASTNodeInfo ASTNode) argument
[all...]
H A DCXIndexDataConsumer.h436 SourceLocation Loc, ASTNodeInfo ASTNode) override;
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Index/
H A DIndexDataConsumer.h44 SourceLocation Loc, ASTNodeInfo ASTNode) {
42 handleDeclOccurrence(const Decl *D, SymbolRoleSet Roles, ArrayRef<SymbolRelation> Relations, SourceLocation Loc, ASTNodeInfo ASTNode) argument
/netbsd-current/external/apache2/llvm/dist/clang/include/clang/Tooling/ASTDiff/
H A DASTDiff.h40 DynTypedNode ASTNode; member in struct:clang::diff::Node
/netbsd-current/external/apache2/llvm/dist/clang/include/clang-c/
H A DDocumentation.h37 const void *ASTNode; member in struct:__anon207
/netbsd-current/external/apache2/llvm/dist/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp197 template <class T> std::tuple<NodeId, NodeId> PreTraverse(T *ASTNode) { argument
203 N.ASTNode = DynTypedNode::create(*ASTNode);
204 assert(!N.ASTNode.getNodeKind().isNone() &&
414 const DynTypedNode &DTN = N.ASTNode;
687 ASTNodeKind Node::getType() const { return ASTNode.getNodeKind(); }
692 if (auto *ND = ASTNode.get<NamedDecl>()) {
700 if (auto *ND = ASTNode.get<NamedDecl>()) {
996 SourceRange Range = N.ASTNode.getSourceRange();
1000 if (auto *ThisExpr = N.ASTNode
[all...]
/netbsd-current/external/apache2/llvm/dist/clang/tools/c-index-test/
H A Dcore_main.cpp105 SourceLocation Loc, ASTNodeInfo ASTNode) override {

Completed in 369 milliseconds

12