Home
last modified time | relevance | path

Searched refs:ASTNode (Results 1 – 25 of 63) sorted by relevance

123

/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/ast/
DStartPositionComparator.java18 import org.eclipse.jdt.core.dom.ASTNode;
23 public final class StartPositionComparator implements java.util.Comparator<ASTNode> {
25 public int compare(ASTNode o1, ASTNode o2) { in compare()
DBodyDeclarationLocators.java24 import org.eclipse.jdt.core.dom.ASTNode;
79 case ASTNode.FIELD_DECLARATION: in createLocators()
86 case ASTNode.METHOD_DECLARATION: in createLocators()
92 case ASTNode.TYPE_DECLARATION: in createLocators()
93 case ASTNode.ENUM_DECLARATION: in createLocators()
95 case ASTNode.ENUM_CONSTANT_DECLARATION: in createLocators()
152 public static BodyDeclaration findDeclarationNode(ASTNode node) { in findDeclarationNode()
153 ASTNode ancestor = node; in findDeclarationNode()
DTypeLocator.java28 import org.eclipse.jdt.core.dom.ASTNode;
97 ASTNode parentNode = currentNode.getParent(); in TypeLocator()
181 ASTNode parentNode = node.getParent(); in matchNested()
268 ASTNode enclosingNode = typeDeclaration.getParent(); in findEnclosingTypeDeclaration()
282 ASTNode parentNode = bodyDeclaration.getParent(); in findTypeDeclarationNode()
DPackageMatcher.java19 import org.eclipse.jdt.core.dom.ASTNode;
58 public static String getPackageName(ASTNode node) { in getPackageName()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/
DSmaliCompositeElement.java35 import com.intellij.lang.ASTNode;
53 protected List<ASTNode> findChildrenByType(IElementType elementType) { in findChildrenByType()
54 List<ASTNode> result = ImmutableList.of(); in findChildrenByType()
55 ASTNode child = getNode().getFirstChildNode(); in findChildrenByType()
59 result = new ArrayList<ASTNode>(); in findChildrenByType()
61 result.add((ASTNode)child.getPsi()); in findChildrenByType()
DSmaliThrowsList.java34 import com.intellij.lang.ASTNode;
41 public SmaliThrowsList(@NotNull ASTNode node) { in SmaliThrowsList()
DSmaliMethodParamList.java34 import com.intellij.lang.ASTNode;
49 public SmaliMethodParamList(@NotNull ASTNode node) { in SmaliMethodParamList()
DSmaliArrayTypeElement.java34 import com.intellij.lang.ASTNode;
56 ASTNode token = findChildByType(SmaliTokens.ARRAY_TYPE_PREFIX); in getType()
DSmaliMethodPrototype.java34 import com.intellij.lang.ASTNode;
47 public SmaliMethodPrototype(@NotNull ASTNode node) { in SmaliMethodPrototype()
DSmaliInstruction.java35 import com.intellij.lang.ASTNode;
74 ASTNode instructionNode = findChildByType(SmaliTokens.INSTRUCTION_TOKENS); in getOpcode()
112 List<ASTNode> registers = findChildrenByType(SmaliElementTypes.REGISTER_REFERENCE); in getRegister()
DSmaliImplementsList.java35 import com.intellij.lang.ASTNode;
47 public SmaliImplementsList(@NotNull ASTNode node) { in SmaliImplementsList()
DSmaliLiteral.java34 import com.intellij.lang.ASTNode;
54 ASTNode literalNode = getNode().getFirstChildNode(); in getIntegralValue()
DSmaliAnnotationElement.java34 import com.intellij.lang.ASTNode;
70 ASTNode equalNode = findChildByType(SmaliTokens.EQUAL); in getValue()
/external/smali/smalidea/src/main/java/org/jf/smalidea/
DSmaliParserDefinition.java34 import com.intellij.lang.ASTNode;
80 @NotNull @Override public PsiElement createElement(ASTNode node) { in createElement()
92 … @Override public SpaceRequirements spaceExistanceTypeBetweenTokens(ASTNode left, ASTNode right) { in spaceExistanceTypeBetweenTokens()
DSmaliParser.java35 import com.intellij.lang.ASTNode;
44 @NotNull @Override public ASTNode parse(IElementType root, PsiBuilder builder) { in parse()
/external/skia/src/sksl/ast/
DSkSLASTNode.h19 struct ASTNode { struct
20 virtual ~ASTNode() {} in ~ASTNode() argument
/external/skqp/src/sksl/ast/
DSkSLASTNode.h19 struct ASTNode { struct
20 virtual ~ASTNode() {} in ~ASTNode() argument
/external/icu/tools/srcgen/currysrc/src/main/java/com/google/currysrc/api/process/
DReporter.java18 import org.eclipse.jdt.core.dom.ASTNode;
33 void info(ASTNode node, String message); in info()
/external/icu/tools/srcgen/src/main/java/com/android/icu4j/srcgen/checker/
DRecordPublicApiRules.java29 import org.eclipse.jdt.core.dom.ASTNode;
203 if (node.getNodeType() == ASTNode.ENUM_DECLARATION in isMemberPublicApiEligible()
204 || node.getNodeType() == ASTNode.TYPE_DECLARATION) { in isMemberPublicApiEligible()
216 if (node.getNodeType() == ASTNode.ENUM_CONSTANT_DECLARATION) { in isMemberPublicApiEligible()
/external/clang/tools/libclang/
DCXComment.h34 Result.ASTNode = C; in createCXComment()
40 return static_cast<const comments::Comment *>(CXC.ASTNode); in getASTNode()
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/stub/element/
DSmaliThrowsListElementType.java34 import com.intellij.lang.ASTNode;
56 @Override public SmaliThrowsList createPsi(@NotNull ASTNode node) { in createPsi()
DSmaliExtendsListElementType.java34 import com.intellij.lang.ASTNode;
55 @Override public SmaliExtendsList createPsi(@NotNull ASTNode node) { in createPsi()
DSmaliImplementsListElementType.java34 import com.intellij.lang.ASTNode;
56 @Override public SmaliImplementsList createPsi(@NotNull ASTNode node) { in createPsi()
DSmaliStubElementType.java34 import com.intellij.lang.ASTNode;
53 public abstract PsiT createPsi(@NotNull ASTNode node); in createPsi()
/external/smali/smalidea/src/main/java/org/jf/smalidea/findUsages/
DSmaliUsageTargetProvider.java36 import com.intellij.lang.ASTNode;
63 ASTNode node = element.getNode(); in getTargets()

123