Home
last modified time | relevance | path

Searched refs:ASTNode (Results 1 – 25 of 58) 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.java21 import org.eclipse.jdt.core.dom.ASTNode;
76 case ASTNode.FIELD_DECLARATION: in createLocators()
83 case ASTNode.METHOD_DECLARATION: in createLocators()
89 case ASTNode.TYPE_DECLARATION: in createLocators()
90 case ASTNode.ENUM_DECLARATION: in createLocators()
92 case ASTNode.ENUM_CONSTANT_DECLARATION: in createLocators()
149 public static BodyDeclaration findDeclarationNode(ASTNode node) { in findDeclarationNode()
150 ASTNode ancestor = node; in findDeclarationNode()
DTypeLocator.java23 import org.eclipse.jdt.core.dom.ASTNode;
92 ASTNode parentNode = currentNode.getParent(); in TypeLocator()
136 ASTNode parentNode = node.getParent(); in matchNested()
203 ASTNode enclosingNode = typeDeclaration.getParent(); in findEnclosingTypeDeclaration()
217 ASTNode parentNode = bodyDeclaration.getParent(); in findTypeDeclarationNode()
DPackageMatcher.java18 import org.eclipse.jdt.core.dom.ASTNode;
57 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()
DSmaliMethodPrototype.java34 import com.intellij.lang.ASTNode;
47 public SmaliMethodPrototype(@NotNull ASTNode node) { in SmaliMethodPrototype()
DSmaliArrayTypeElement.java34 import com.intellij.lang.ASTNode;
56 ASTNode token = findChildByType(SmaliTokens.ARRAY_TYPE_PREFIX); in getType()
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()
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()
DSmaliStubBasedPsiElement.java35 import com.intellij.lang.ASTNode;
49 protected SmaliStubBasedPsiElement(@NotNull ASTNode node) { in SmaliStubBasedPsiElement()
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/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/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()
DSmaliImplementsListElementType.java34 import com.intellij.lang.ASTNode;
56 @Override public SmaliImplementsList createPsi(@NotNull ASTNode node) { in createPsi()
DSmaliExtendsListElementType.java34 import com.intellij.lang.ASTNode;
55 @Override public SmaliExtendsList createPsi(@NotNull ASTNode node) { in createPsi()
DSmaliStubElementType.java34 import com.intellij.lang.ASTNode;
53 public abstract PsiT createPsi(@NotNull ASTNode node); in createPsi()
DSmaliMethodParamListElementType.java34 import com.intellij.lang.ASTNode;
57 @Override public SmaliMethodParamList createPsi(@NotNull ASTNode node) { in createPsi()
DSmaliMethodElementType.java34 import com.intellij.lang.ASTNode;
60 @Override public SmaliMethod 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