Home
last modified time | relevance | path

Searched refs:nameNode (Results 1 – 12 of 12) sorted by relevance

/external/oj-libjdwp/make/src/classes/build/tools/jdwpgen/
DAbstractNamedNode.java33 NameNode nameNode = null; field in AbstractNamedNode
44 Node nameNode = it.next(); in prune() local
46 if (nameNode instanceof NameNode) { in prune()
47 this.nameNode = (NameNode)nameNode; in prune()
48 this.name = this.nameNode.text(); in prune()
60 nameNode.constrain(ctx); in constrain()
101 if (nameNode instanceof NameValueNode) { in genCInclude()
103 " " + nameNode.value()); in genCInclude()
DAltNode.java38 if (!(nameNode instanceof NameValueNode)) { in constrain()
39 error("Alt name must have value: " + nameNode); in constrain()
52 writer.println("Case " + nameNode.name + " - if <i>" + in document()
54 "</i> is " + nameNode.value() + ":"); in document()
68 writer.println(" ALT_ID = " + nameNode.value() + ";"); in genJavaClassSpecifics()
88 writer.println("case " + nameNode.value() + ":"); in genJavaReadsSelectCase()
DCommandSetNode.java43 nameNode.value() + ")</h4>"); in document()
53 nameNode.value() + ")"); in documentIndex()
63 writer.println("static final int COMMAND_SET = " + nameNode.value() + ";"); in genJavaClassSpecifics()
DAbstractCommandNode.java34 " Command</a> (" + nameNode.value() + ")</h5>"); in document()
45 writer.println(name() + "</a> (" + nameNode.value() + ")"); in documentIndex()
DConstantNode.java53 nameNode.value() + ";"); in genJava()
59 writer.println("<tr><td>" + name + "<td>" + nameNode.value() + in document()
DAbstractSimpleTypeNode.java34 nameNode.constrain(ctx); in constrain()
DCommandNode.java61 nameNode.value() + ";"); in genJavaClassSpecifics()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogicTest.java24 Node nameNode = getNameInCode(code, name, parseStart); in assertNameInCodeIsSyntactically() local
25 assertEquals(nameCategory, NameLogic.syntacticClassificationAccordingToContext(nameNode)); in assertNameInCodeIsSyntactically()
375 Node nameNode = getNameInCode(code, name, parseStart); in assertNameInCodeHasRole() local
376 assertEquals(nameRole, NameLogic.classifyRole(nameNode)); in assertNameInCodeHasRole()
380 Node nameNode = getNameInCode(code, name, parseStart); in assertIsSimpleName() local
381 assertTrue(NameLogic.isSimpleName(nameNode)); in assertIsSimpleName()
385 Node nameNode = getNameInCode(code, name, parseStart); in assertIsQualifiedName() local
386 assertTrue(NameLogic.isQualifiedName(nameNode)); in assertIsQualifiedName()
DNameLogicDisambiguationTest.java28 Node nameNode = getNameInCodeTollerant(code, name, parseStart, typeSolver); in assertNameInCodeIsDisambiguited() local
29 …sertEquals(syntacticClassification, NameLogic.syntacticClassificationAccordingToContext(nameNode)); in assertNameInCodeIsDisambiguited()
30 assertEquals(nameCategory, NameLogic.classifyReference(nameNode, typeSolver)); in assertNameInCodeIsDisambiguited()
/external/robolectric-shadows/resources/src/main/java/org/robolectric/manifest/
DAndroidManifest.java340 Node nameNode = actionNode.getAttributes().getNamedItem("android:name"); in parseReceivers() local
341 if (nameNode != null) { in parseReceivers()
342 receiver.addAction(nameNode.getTextContent()); in parseReceivers()
365 Node nameNode = actionNode.getAttributes().getNamedItem("android:name"); in parseServices() local
366 if (nameNode != null) { in parseServices()
367 service.addAction(nameNode.getTextContent()); in parseServices()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/resolution/naming/
DNameLogic.java366 …te static NameCategory reclassificationOfContextuallyAmbiguousQualifiedAmbiguousName(Node nameNode, in reclassificationOfContextuallyAmbiguousQualifiedAmbiguousName() argument
371 Node leftName = NameLogic.getQualifier(nameNode); in reclassificationOfContextuallyAmbiguousQualifiedAmbiguousName()
372 String rightName = NameLogic.nameAsString(NameLogic.getRightMostName(nameNode)); in reclassificationOfContextuallyAmbiguousQualifiedAmbiguousName()
385 if (typeSolver.hasType(nameAsString(nameNode))) { in reclassificationOfContextuallyAmbiguousQualifiedAmbiguousName()
438 …ivate static NameCategory reclassificationOfContextuallyAmbiguousSimpleAmbiguousName(Node nameNode, in reclassificationOfContextuallyAmbiguousSimpleAmbiguousName() argument
446 String name = nameAsString(nameNode); in reclassificationOfContextuallyAmbiguousSimpleAmbiguousName()
447 Context context = JavaParserFactory.getContext(nameNode, typeSolver); in reclassificationOfContextuallyAmbiguousSimpleAmbiguousName()
/external/javaparser/javaparser-symbol-solver-testing/src/test/java/com/github/javaparser/symbolsolver/resolution/
DContextTest.java609 Node nameNode = cu.findAll(NameExpr.class).get(0); in localVariableDeclarationInScope() local
610 Context context = JavaParserFactory.getContext(nameNode, typeSolver); in localVariableDeclarationInScope()