/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/cldr/tools/java/org/unicode/cldr/util/ |
NodeListIterator.java | 6 import org.w3c.dom.NodeList; 10 * This is a small helper class that wraps a NodeList and makes it support the Iterator interface. 19 * The NodeList to work on 21 private NodeList nodeList; 28 public NodeListIterator(NodeList aNodeList) { 29 nodeList = aNodeList; 34 return (currentPos < nodeList.getLength()); 39 return nodeList.item(currentPos++);
|
/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...] |
/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...] |
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XNodeSetForDOM.java | 28 import org.w3c.dom.NodeList; 33 * Node object, NodeList object, or NodeIterator. 61 public XNodeSetForDOM(NodeList nodeList, XPathContext xctxt) 64 m_origObj = nodeList; 69 // m_obj=new org.apache.xpath.NodeSetDTM(nodeList, xctxt); 70 org.apache.xpath.NodeSetDTM nsdtm=new org.apache.xpath.NodeSetDTM(nodeList, xctxt); 101 * Cast result object to a nodelist. Always issues an error. 114 * Cast result object to a nodelist. Always issues an error. 120 public NodeList nodelist() throws javax.xml.transform.TransformerExceptio method in class:XNodeSetForDOM [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/ |
ModuleDeclaration.java | 5 import com.github.javaparser.ast.NodeList; 29 private NodeList<AnnotationExpr> annotations; 33 private NodeList<ModuleStmt> moduleStmts; 36 this(null, new NodeList<>(), new Name(), false, new NodeList<>()); 40 this(null, new NodeList<>(), name, isOpen, new NodeList<>()); 44 public ModuleDeclaration(NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList<ModuleStmt> moduleStmts) { 52 public ModuleDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList<ModuleStmt> moduleStmts) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ |
ExplicitConstructorInvocationStmt.java | 24 import com.github.javaparser.ast.NodeList; 57 private NodeList<Type> typeArguments; 64 private NodeList<Expression> arguments; 67 this(null, new NodeList<>(), true, null, new NodeList<>()); 70 public ExplicitConstructorInvocationStmt(final boolean isThis, final Expression expression, final NodeList<Expression> arguments) { 71 this(null, new NodeList<>(), isThis, expression, arguments); 75 public ExplicitConstructorInvocationStmt(final NodeList<Type> typeArguments, final boolean isThis, final Expression expression, final NodeList<Expression> arguments) { 83 public ExplicitConstructorInvocationStmt(TokenRange tokenRange, NodeList<Type> typeArguments, boolean isThis, Expression expression, NodeList<Expression> arguments) [all...] |