/libcore/luni/src/main/java/org/w3c/dom/ |
NodeList.java | 16 * The <code>NodeList</code> interface provides the abstraction of an ordered 18 * is implemented. <code>NodeList</code> objects in the DOM are live. 19 * <p>The items in the <code>NodeList</code> are accessible via an integral 23 public interface NodeList { 30 * <code>NodeList</code>, or <code>null</code> if that is not a valid
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
NodeWithTypeArguments.java | 25 import com.github.javaparser.ast.NodeList; 31 import static com.github.javaparser.ast.NodeList.nodeList; 46 Optional<NodeList<Type>> getTypeArguments(); 53 N setTypeArguments(NodeList<Type> typeArguments); 68 return setTypeArguments(new NodeList<>()); 76 return setTypeArguments((NodeList<Type>) null); 81 return setTypeArguments(nodeList(typeArguments));
|
NodeWithArguments.java | 25 import com.github.javaparser.ast.NodeList; 34 N setArguments(NodeList<Expression> arguments); 36 NodeList<Expression> getArguments();
|
NodeWithTypeParameters.java | 25 import com.github.javaparser.ast.NodeList; 37 NodeList<TypeParameter> getTypeParameters(); 55 N setTypeParameters(NodeList<TypeParameter> typeParameters);
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/printer/lexicalpreservation/changes/ |
ListRemovalChange.java | 4 import com.github.javaparser.ast.NodeList; 22 NodeList<Node> nodeList = new NodeList<>(); 24 if (!(currentRawValue instanceof NodeList)){ 25 throw new IllegalStateException("Expected NodeList, found " + currentRawValue.getClass().getCanonicalName()); 27 NodeList<?> currentNodeList = (NodeList<?>)currentRawValue; 28 nodeList.addAll(currentNodeList); 29 nodeList.remove(index) [all...] |
ListAdditionChange.java | 4 import com.github.javaparser.ast.NodeList; 24 NodeList<Node> nodeList = new NodeList<>(); 26 if (!(currentRawValue instanceof NodeList)){ 27 throw new IllegalStateException("Expected NodeList, found " + currentRawValue.getClass().getCanonicalName()); 29 NodeList<?> currentNodeList = (NodeList<?>)(currentRawValue); 30 nodeList.addAll(currentNodeList); 31 nodeList.add(index, nodeAdded) [all...] |
ListReplacementChange.java | 4 import com.github.javaparser.ast.NodeList; 27 NodeList nodeList = new NodeList(); 33 if (!(currentRawValue instanceof NodeList)){ 34 throw new IllegalStateException("Expected NodeList, found " + currentRawValue.getClass().getCanonicalName()); 36 NodeList currentNodeList = (NodeList)currentRawValue; 37 nodeList.addAll(currentNodeList); 38 nodeList.set(index, newValue) [all...] |
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/ |
RangedList.java | 4 import com.github.javaparser.ast.NodeList; 13 NodeList<T> list; 15 RangedList(NodeList<T> list) { 29 list = new NodeList<>();
|
ModifierHolder.java | 4 import com.github.javaparser.ast.NodeList; 16 final NodeList<AnnotationExpr> annotations; 19 ModifierHolder(JavaToken begin, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations) {
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/ |
AstObserver.java | 25 import com.github.javaparser.ast.NodeList; 28 * An Observer for an AST element (either a Node or a NodeList). 67 void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved); 69 void listReplacement(NodeList observedNode, int index, Node oldNode, Node newNode);
|
AstObserverAdapter.java | 25 import com.github.javaparser.ast.NodeList; 40 public void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { 45 public void listReplacement(NodeList observedNode, int index, Node oldNode, Node newNode) {
|
/external/apache-xml/src/main/java/org/apache/xml/dtm/ref/ |
DTMNodeListBase.java | 26 * NodeList interface wrapped around a DTM Iterator. The author 27 * considers this something of an abominations, since NodeList was not 34 * NodeList operating over the same document. In particular: 46 * promise to implement the DOM NodeList's "live view" response to 54 public class DTMNodeListBase implements org.w3c.dom.NodeList { 59 // org.w3c.dom.NodeList API follows 67 * <code>NodeList</code>, or <code>null</code> if that is not a valid
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/ |
EnumDeclaration.java | 27 import com.github.javaparser.ast.NodeList; 55 private NodeList<ClassOrInterfaceType> implementedTypes; 57 private NodeList<EnumConstantDeclaration> entries; 60 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new SimpleName(), new NodeList<>(), new NodeList<>(), new NodeList<>()); 64 this(null, modifiers, new NodeList<>(), new SimpleName(name), new NodeList<>(), new NodeList<>(), new NodeList<>()) [all...] |
ClassOrInterfaceDeclaration.java | 27 import com.github.javaparser.ast.NodeList; 63 private NodeList<TypeParameter> typeParameters; 66 private NodeList<ClassOrInterfaceType> extendedTypes; 68 private NodeList<ClassOrInterfaceType> implementedTypes; 71 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), false, new SimpleName(), new NodeList<>(), new NodeList<>(), new NodeList<>(), new NodeList<>()); 75 this(null, modifiers, new NodeList<>(), isInterface, new SimpleName(name), new NodeList<>(), new NodeList<>(), new NodeList<>(), new (…) [all...] |
ConstructorDeclaration.java | 26 import com.github.javaparser.ast.NodeList; 63 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new NodeList<>(), new SimpleName(), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 67 this(null, EnumSet.of(Modifier.PUBLIC), new NodeList<>(), new NodeList<>(), new SimpleName(name), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 71 this(null, modifiers, new NodeList<>(), new NodeList<>(), new SimpleName(name), new NodeList<>(), new NodeList<>(), new BlockStmt(), (…) [all...] |
EnumConstantDeclaration.java | 24 import com.github.javaparser.ast.NodeList; 58 private NodeList<Expression> arguments; 60 private NodeList<BodyDeclaration<?>> classBody; 63 this(null, new NodeList<>(), new SimpleName(), new NodeList<>(), new NodeList<>()); 67 this(null, new NodeList<>(), new SimpleName(name), new NodeList<>(), new NodeList<>()); 71 public EnumConstantDeclaration(NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<Expression> arguments, NodeList<BodyDeclara (…) [all...] |
MethodDeclaration.java | 26 import com.github.javaparser.ast.NodeList; 71 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new NodeList<>(), new ClassOrInterfaceType(), new SimpleName(), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 75 this(null, modifiers, new NodeList<>(), new NodeList<>(), type, new SimpleName(name), new NodeList<>(), new NodeList<>(), new BlockStmt(), null); 78 public MethodDeclaration(final EnumSet<Modifier> modifiers, final String name, final Type type, final NodeList<Parameter> parameters) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
VariableDeclarationExpr.java | 26 import com.github.javaparser.ast.NodeList; 43 import static com.github.javaparser.ast.NodeList.nodeList; 65 private NodeList<AnnotationExpr> annotations; 68 private NodeList<VariableDeclarator> variables; 71 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new NodeList<>()); 75 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), nodeList(new VariableDeclarator(type, variableName))); 79 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), nodeList(var)) [all...] |
MethodCallExpr.java | 24 import com.github.javaparser.ast.NodeList; 58 private NodeList<Type> typeArguments; 62 private NodeList<Expression> arguments; 65 this(null, null, new NodeList<>(), new SimpleName(), new NodeList<>()); 69 this(null, null, new NodeList<>(), new SimpleName(name), new NodeList<>(arguments)); 73 this(null, scope, new NodeList<>(), new SimpleName(name), new NodeList<>()); 77 this(null, scope, new NodeList<>(), name, new NodeList<>()) [all...] |
ObjectCreationExpr.java | 24 import com.github.javaparser.ast.NodeList; 65 private NodeList<Type> typeArguments; 67 private NodeList<Expression> arguments; 70 private NodeList<BodyDeclaration<?>> anonymousClassBody; 73 this(null, null, new ClassOrInterfaceType(), new NodeList<>(), new NodeList<>(), null); 83 public ObjectCreationExpr(final Expression scope, final ClassOrInterfaceType type, final NodeList<Expression> arguments) { 84 this(null, scope, type, new NodeList<>(), arguments, null); 88 public ObjectCreationExpr(final Expression scope, final ClassOrInterfaceType type, final NodeList<Type> typeArguments, final NodeList<Expression> arguments, final NodeList<BodyDeclaration<?>> anonymousClassBody) [all...] |
/libcore/dom/src/test/java/org/w3c/domts/level1/core/ |
nodechildnodesempty.java | 31 * The "getChildNodes()" method returns a NodeList 33 * are not any children, this is a NodeList that does not 37 * NodeList returned should not have any nodes. 65 NodeList elementList; 67 NodeList childList; 70 NodeList childNodesList;
|
nodelistindexgetlengthofemptylist.java | 65 NodeList elementList; 67 NodeList employeeList; 70 NodeList textList;
|
/libcore/luni/src/main/java/org/apache/harmony/xml/dom/ |
NodeListImpl.java | 22 import org.w3c.dom.NodeList; 34 public class NodeListImpl implements NodeList {
|
/external/python/cpython3/Lib/test/ |
test_xml_dom_minicompat.py | 35 node_list = EmptyNodeList() + NodeList() 36 self.assertEqual(node_list, NodeList()) 44 """Tests for the NodeList class.""" 47 # Test items access on a NodeList. 48 # First, use an empty NodeList. 49 node_list = NodeList() 59 # Now, use a NodeList with items. 70 node_list = NodeList([1, 2]) 78 node_list = NodeList([3, 4]) + [1, 2] 79 self.assertEqual(node_list, NodeList([3, 4, 1, 2]) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/ |
TypeParameter.java | 25 import com.github.javaparser.ast.NodeList; 62 private NodeList<ClassOrInterfaceType> typeBound; 65 this(null, new SimpleName(), new NodeList<>(), new NodeList<>()); 69 this(null, new SimpleName(name), new NodeList<>(), new NodeList<>()); 72 public TypeParameter(final String name, final NodeList<ClassOrInterfaceType> typeBound) { 73 this(null, new SimpleName(name), typeBound, new NodeList<>()); 80 public TypeParameter(Range range, final SimpleName name, final NodeList<ClassOrInterfaceType> typeBound) { 81 this(null, name, typeBound, new NodeList<>()); [all...] |