/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/stmt/ |
TryStmt.java | 26 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<Expression> resources, BlockStmt tryBlock, NodeList<CatchClause> catchClauses, BlockStmt finallyBl (…) [all...] |
ForStmt.java | 26 import com.github.javaparser.ast.NodeList; 71 private NodeList<Expression> initialization; 76 private NodeList<Expression> update; 81 this(null, new NodeList<>(), new BooleanLiteralExpr(), new NodeList<>(), new ReturnStmt()); 85 public ForStmt(final NodeList<Expression> initialization, final Expression compare, final NodeList<Expression> update, final Statement body) { 93 public ForStmt(TokenRange tokenRange, NodeList<Expression> initialization, Expression compare, NodeList<Expression> update, Statement body) { 125 public NodeList<Expression> getInitialization() [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/ |
NodeList.java | 43 * This way, a NodeList does not create an extra level inside the AST. 47 public class NodeList<N extends Node> implements List<N>, Iterable<N>, HasParentNode<NodeList<N>>, Visitable, Observable { 55 public NodeList() { 59 public NodeList(Collection<N> n) { 63 public NodeList(N... n) { 99 public static <X extends Node> NodeList<X> nodeList(X... nodes) { 100 final NodeList<X> nodeList = new NodeList<>() [all...] |
ArrayCreationLevel.java | 52 private NodeList<AnnotationExpr> annotations = new NodeList<>(); 55 this(null, null, new NodeList<>()); 59 this(null, new IntegerLiteralExpr("" + dimension), new NodeList<>()); 63 this(null, dimension, new NodeList<>()); 67 public ArrayCreationLevel(Expression dimension, NodeList<AnnotationExpr> annotations) { 75 public ArrayCreationLevel(TokenRange tokenRange, Expression dimension, NodeList<AnnotationExpr> annotations) { 119 public NodeList<AnnotationExpr> getAnnotations() { 124 public ArrayCreationLevel setAnnotations(final NodeList<AnnotationExpr> annotations) {
|
PackageDeclaration.java | 49 private NodeList<AnnotationExpr> annotations = new NodeList<>(); 54 this(null, new NodeList<>(), new Name()); 58 this(null, new NodeList<>(), name); 62 public PackageDeclaration(NodeList<AnnotationExpr> annotations, Name name) { 70 public PackageDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name) { 96 public NodeList<AnnotationExpr> getAnnotations() { 114 public PackageDeclaration setAnnotations(final NodeList<AnnotationExpr> annotations) {
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/body/ |
Parameter.java | 26 import com.github.javaparser.ast.NodeList; 65 private NodeList<AnnotationExpr> varArgsAnnotations; 69 private NodeList<AnnotationExpr> annotations; 74 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new ClassOrInterfaceType(), false, new NodeList<>(), new SimpleName()); 78 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), type, false, new NodeList<>(), name); 88 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), type, false, new NodeList<>(), new SimpleName(name)); 92 this(null, modifiers, new NodeList<>(), type, false, new NodeList<>(), name) [all...] |
AnnotationDeclaration.java | 26 import com.github.javaparser.ast.NodeList; 54 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new SimpleName(), new NodeList<>()); 58 this(null, modifiers, new NodeList<>(), new SimpleName(name), new NodeList<>()); 62 public AnnotationDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members) { 70 public AnnotationDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members) {
|
TypeDeclaration.java | 57 private NodeList<BodyDeclaration<?>> members; 60 this(null, EnumSet.noneOf(Modifier.class), new NodeList<>(), new SimpleName(), new NodeList<>()); 64 this(null, modifiers, new NodeList<>(), new SimpleName(name), new NodeList<>()); 68 public TypeDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members) { 76 public TypeDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, SimpleName name, NodeList<BodyDeclaration<?>> members) { 90 NodeList<BodyDeclaration<?>> members = getMembers() [all...] |
CallableDeclaration.java | 27 import com.github.javaparser.ast.NodeList; 57 private NodeList<TypeParameter> typeParameters; 61 private NodeList<Parameter> parameters; 63 private NodeList<ReferenceType> thrownExceptions; 69 CallableDeclaration(EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<ReferenceType> thrownExceptions, ReceiverParameter receiverParameter) { 77 public CallableDeclaration(TokenRange tokenRange, EnumSet<Modifier> modifiers, NodeList<AnnotationExpr> annotations, NodeList<TypeParameter> typeParameters, SimpleName name, NodeList<Parameter> parameters, NodeList<Reference (…) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/type/ |
ClassOrInterfaceType.java | 25 import com.github.javaparser.ast.NodeList; 68 private NodeList<Type> typeArguments; 71 this(null, null, new SimpleName(), null, new NodeList<>()); 78 this(null, null, new SimpleName(name), null, new NodeList<>()); 82 this(null, scope, new SimpleName(name), null, new NodeList<>()); 85 public ClassOrInterfaceType(final ClassOrInterfaceType scope, final SimpleName name, final NodeList<Type> typeArguments) { 86 this(null, scope, name, typeArguments, new NodeList<>()); 90 public ClassOrInterfaceType(final ClassOrInterfaceType scope, final SimpleName name, final NodeList<Type> typeArguments, final NodeList<AnnotationExpr> annotations) { 98 public ClassOrInterfaceType(TokenRange tokenRange, ClassOrInterfaceType scope, SimpleName name, NodeList<Type> typeArguments, NodeList<AnnotationExpr> annotations) [all...] |
UnionType.java | 24 import com.github.javaparser.ast.NodeList; 66 private NodeList<ReferenceType> elements; 69 this(null, new NodeList<>()); 76 public UnionType(TokenRange tokenRange, NodeList<ReferenceType> elements) { 83 public UnionType(NodeList<ReferenceType> elements) { 88 public NodeList<ReferenceType> getElements() { 93 public UnionType setElements(final NodeList<ReferenceType> elements) { 107 public UnionType setAnnotations(NodeList<AnnotationExpr> annotations) {
|
ReferenceType.java | 26 import com.github.javaparser.ast.NodeList; 43 this(null, new NodeList<>()); 47 public ReferenceType(NodeList<AnnotationExpr> annotations) { 55 public ReferenceType(TokenRange tokenRange, NodeList<AnnotationExpr> annotations) {
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/observer/ |
PropagatingAstObserver.java | 25 import com.github.javaparser.ast.NodeList; 47 public void concreteListChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { 66 public final void listChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { 76 public void listReplacement(NodeList observedNode, int index, Node oldNode, Node newNode) { 89 public void concreteListChange(NodeList observedNode, ListChangeType type, int index, Node nodeAddedOrRemoved) { 93 public void concreteListReplacement(NodeList observedNode, int index, Node oldValue, Node newValue) {
|
/external/javaparser/javaparser-core/src/main/javacc-support/com/github/javaparser/ |
GeneratedJavaParserBase.java | 6 import com.github.javaparser.ast.NodeList; 145 * Get the token that starts the NodeList l 147 JavaToken nodeListBegin(NodeList<?> l) { 189 * Quickly create a new NodeList 191 <T extends Node> NodeList<T> emptyList() { 192 return new NodeList<>(); 198 <T extends Node> NodeList<T> add(NodeList<T> list, T obj) { 200 list = new NodeList<>(); 209 <T extends Node> NodeList<T> addWhenNotNull(NodeList<T> list, T obj) [all...] |
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/ast/visitor/ |
CloneVisitorTest.java | 25 import com.github.javaparser.ast.NodeList; 52 NodeList<BodyDeclaration<?>> bodyDeclarationList = new NodeList<>(); 60 NodeList<TypeDeclaration<?>> typeDeclarationList = new NodeList<>(); 84 NodeList<TypeDeclaration<?>> typeDeclarationListClone = cuClone.getTypes();
|
/external/javaparser/javaparser-core/src/main/javacc/ |
java.jj | 66 import static com.github.javaparser.ast.NodeList.*; 611 NodeList<ImportDeclaration> imports = emptyList(); 613 NodeList<TypeDeclaration<?>> types = emptyList(); 644 final CompilationUnit compilationUnit = new CompilationUnit(range(token_source.getHomeToken(), token()), null, new NodeList<ImportDeclaration>(), new NodeList<TypeDeclaration<?>>(), null); 652 NodeList<AnnotationExpr> annotations = new NodeList<AnnotationExpr>(); 688 NodeList<AnnotationExpr> annotations = new NodeList<AnnotationExpr>(); [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/nodeTypes/ |
NodeWithExtends.java | 25 import com.github.javaparser.ast.NodeList;
34 NodeList<ClassOrInterfaceType> getExtendedTypes();
42 N setExtendedTypes(NodeList<ClassOrInterfaceType> extendsList);
|
NodeWithImplements.java | 25 import com.github.javaparser.ast.NodeList;
34 NodeList<ClassOrInterfaceType> getImplementedTypes();
40 N setImplementedTypes(NodeList<ClassOrInterfaceType> implementsList);
|
NodeWithThrownExceptions.java | 25 import com.github.javaparser.ast.NodeList; 34 N setThrownExceptions(NodeList<ReferenceType> thrownExceptions); 36 NodeList<ReferenceType> getThrownExceptions();
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/ |
Java5Validator.java | 4 import com.github.javaparser.ast.NodeList; 17 Optional<NodeList<Type>> typeArguments = ((NodeWithTypeArguments<? extends Node>) node).getTypeArguments(); 26 Optional<NodeList<Type>> typeArguments = ((NodeWithTypeArguments<? extends Node>) node).getTypeArguments();
|
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/wiki_samples/ |
MethodChanger_2.java | 26 import com.github.javaparser.ast.NodeList; 53 NodeList<TypeDeclaration<?>> types = cu.getTypes(); 56 NodeList<BodyDeclaration<?>> members = type.getMembers();
|
/external/python/cpython3/Lib/xml/dom/ |
minicompat.py | 11 # NodeList -- lightest possible NodeList implementation 13 # EmptyNodeList -- lightest possible NodeList that is guaranteed to 43 __all__ = ["NodeList", "EmptyNodeList", "StringTypes", "defproperty"] 50 class NodeList(list): 65 doc="The number of nodes in the NodeList.") 78 NL = NodeList() 83 NL = NodeList() 98 doc="The number of nodes in the NodeList.")
|
/device/linaro/bootloader/edk2/BaseTools/Source/Python/UPT/Xml/ |
GuidProtocolPpiXml.py | 95 NodeList = [['CName', GuidProtocolPpi.GetCName()],
101 NodeList.append(Tmp.ToXml(Item))
102 Root = CreateXmlElement('%s' % Key, '', NodeList, AttributeList)
151 NodeList = [['CName', GuidProtocolPpi.GetCName()],
162 NodeList = [['CName', GuidProtocolPpi.GetCName()],
168 NodeList.append(Tmp.ToXml(Item))
169 Root = CreateXmlElement('%s' % Key, '', NodeList, AttributeList)
211 NodeList = [['CName', GuidProtocolPpi.GetCName()],
222 NodeList = [['CName', GuidProtocolPpi.GetCName()],
227 NodeList.append(Tmp.ToXml(Item)) [all...] |
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/expr/ |
ArrayInitializerExpr.java | 24 import com.github.javaparser.ast.NodeList; 50 private NodeList<Expression> values; 53 this(null, new NodeList<>()); 57 public ArrayInitializerExpr(NodeList<Expression> values) { 65 public ArrayInitializerExpr(TokenRange tokenRange, NodeList<Expression> values) { 84 public NodeList<Expression> getValues() { 89 public ArrayInitializerExpr setValues(final NodeList<Expression> values) {
|
NormalAnnotationExpr.java | 24 import com.github.javaparser.ast.NodeList; 46 private NodeList<MemberValuePair> pairs; 49 this(null, new Name(), new NodeList<>()); 53 public NormalAnnotationExpr(final Name name, final NodeList<MemberValuePair> pairs) { 61 public NormalAnnotationExpr(TokenRange tokenRange, Name name, NodeList<MemberValuePair> pairs) { 80 public NodeList<MemberValuePair> getPairs() { 85 public NormalAnnotationExpr setPairs(final NodeList<MemberValuePair> pairs) {
|