Searched refs:NodeList (Results 1 - 25 of 211) sorted by relevance

123456789

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/
H A DNodeWithTypeArguments.java25 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);
H A DNodeWithArguments.java25 import com.github.javaparser.ast.NodeList;
34 N setArguments(NodeList<Expression> arguments);
36 NodeList<Expression> getArguments();
H A DNodeWithTypeParameters.java25 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/
H A DListRemovalChange.java4 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;
H A DListAdditionChange.java4 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);
H A DListReplacementChange.java4 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;
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/
H A DRangedList.java4 import com.github.javaparser.ast.NodeList;
13 NodeList<T> list;
15 RangedList(NodeList<T> list) {
29 list = new NodeList<>();
H A DModifierHolder.java4 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/
H A DAstObserver.java25 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);
H A DAstObserverAdapter.java25 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/
H A DDTMNodeListBase.java26 * 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/
H A DEnumDeclaration.java27 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<>(), ne
[all...]
H A DClassOrInterfaceDeclaration.java27 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<>(), isInterfac
[all...]
H A DConstructorDeclaration.java26 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<>(), ne
[all...]
H A DEnumConstantDeclaration.java24 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<AnnotationExp
[all...]
H A DMethodDeclaration.java26 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<Paramete
[all...]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/
H A DVariableDeclarationExpr.java26 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));
83 this(null, Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), new NodeList<>(), nodeList(new VariableDeclarator(type, variableName)));
87 this(null, Arrays.stream(modifiers).collect(Collectors.toCollection(() -> EnumSet.noneOf(Modifier.class))), new NodeList<>(), nodeLis
[all...]
H A DMethodCallExpr.java24 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<>(), nam
[all...]
H A DObjectCreationExpr.java24 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<Expressio
[all...]
/external/python/cpython3/Lib/test/
H A Dtest_xml_dom_minicompat.py35 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([
[all...]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/
H A DTypeParameter.java25 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/
H A DXNodeSetForDOM.java28 import org.w3c.dom.NodeList;
33 * Node object, NodeList object, or NodeIterator.
61 public XNodeSetForDOM(NodeList nodeList, XPathContext xctxt)
120 public NodeList nodelist() throws javax.xml.transform.TransformerException
122 return (m_origObj instanceof NodeList)
123 ? (NodeList)m_origObj : super.nodelist();
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/
H A DModuleDeclaration.java5 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<AnnotationExp
[all...]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/
H A DExplicitConstructorInvocationStmt.java24 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<Typ
[all...]
H A DTryStmt.java26 import com.github.javaparser.ast.NodeList;
99 private NodeList<Expression> resources;
103 private NodeList<CatchClause> catchClauses;
109 this(null, new NodeList<>(), new BlockStmt(), new NodeList<>(), null);
112 public TryStmt(final BlockStmt tryBlock, final NodeList<CatchClause> catchClauses, final BlockStmt finallyBlock) {
113 this(null, new NodeList<>(), tryBlock, catchClauses, finallyBlock);
117 public TryStmt(NodeList<Expression> resources, final BlockStmt tryBlock, final NodeList<CatchClause> catchClauses, final BlockStmt finallyBlock) {
125 public TryStmt(TokenRange tokenRange, NodeList<Expressio
[all...]

Completed in 429 milliseconds

123456789