Home
last modified time | relevance | path

Searched refs:ModuleDeclaration (Results 1 – 25 of 34) sorted by relevance

12

/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/modules/
DModuleDeclaration.java25 public final class ModuleDeclaration extends Node implements NodeWithName<ModuleDeclaration>, NodeW… class
35 public ModuleDeclaration() { in ModuleDeclaration() method in ModuleDeclaration
39 public ModuleDeclaration(Name name, boolean isOpen) { in ModuleDeclaration() method in ModuleDeclaration
44 …public ModuleDeclaration(NodeList<AnnotationExpr> annotations, Name name, boolean isOpen, NodeList… in ModuleDeclaration() method in ModuleDeclaration
52 …public ModuleDeclaration(TokenRange tokenRange, NodeList<AnnotationExpr> annotations, Name name, b… in ModuleDeclaration() method in ModuleDeclaration
79 public ModuleDeclaration setName(final Name name) { in setName()
82 return (ModuleDeclaration) this; in setName()
98 public ModuleDeclaration setAnnotations(final NodeList<AnnotationExpr> annotations) { in setAnnotations()
101 return (ModuleDeclaration) this; in setAnnotations()
137 public ModuleDeclaration setOpen(final boolean isOpen) { in setOpen()
[all …]
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/
DCompilationUnit.java34 import com.github.javaparser.ast.modules.ModuleDeclaration;
91 private ModuleDeclaration module;
105 …odeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module) { in CompilationUnit()
113 …odeList<ImportDeclaration> imports, NodeList<TypeDeclaration<?>> types, ModuleDeclaration module) { in CompilationUnit()
537 public Optional<ModuleDeclaration> getModule() { in getModule()
542 public CompilationUnit setModule(final ModuleDeclaration module) { in setModule()
556 return setModule((ModuleDeclaration) null); in removeModule()
676 setModule((ModuleDeclaration) replacementNode); in replace()
/external/v8/src/torque/
Ddeclaration-visitor.h38 void Visit(ModuleDeclaration* decl) { in Visit()
45 Visit(implicit_cast<ModuleDeclaration*>(decl)); in Visit()
49 Visit(implicit_cast<ModuleDeclaration*>(decl)); in Visit()
Dimplementation-visitor.h82 void Visit(ModuleDeclaration* decl);
84 Visit(implicit_cast<ModuleDeclaration*>(decl)); in Visit()
87 Visit(implicit_cast<ModuleDeclaration*>(decl)); in Visit()
Dast.h156 struct ModuleDeclaration : Declaration { struct
157 ModuleDeclaration(AstNode::Kind kind, SourcePosition pos, in ModuleDeclaration() argument
170 struct DefaultModuleDeclaration : ModuleDeclaration { argument
174 : ModuleDeclaration(kKind, pos, declarations) {} in DefaultModuleDeclaration()
178 struct ExplicitModuleDeclaration : ModuleDeclaration {
182 : ModuleDeclaration(kKind, pos, declarations), name(std::move(name)) {} in ExplicitModuleDeclaration()
/external/javaparser/javaparser-testing/src/test/java/com/github/javaparser/modules/
DModuleDeclarationTest.java68 ModuleDeclaration module = cu.getModule().get(); in jlsExample1()
103 ModuleDeclaration module = cu.getModule().get(); in jlsExample2HasAnOpenModule()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/metamodel/
DModuleDeclarationMetaModel.java8 …super(superBaseNodeMetaModel, com.github.javaparser.ast.modules.ModuleDeclaration.class, "ModuleDe… in ModuleDeclarationMetaModel()
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/validator/
DJava1_0Validator.java10 import com.github.javaparser.ast.modules.ModuleDeclaration;
96 protected final Validator noModules = new SimpleValidator<>(ModuleDeclaration.class,
/external/javaparser/javaparser-metamodel-generator/src/main/java/com/github/javaparser/generator/metamodel/
DMetaModelGenerator.java49 add(ModuleDeclaration.class);
/external/selinux/python/sepolgen/src/sepolgen/
Drefparser.py354 m = refpolicy.ModuleDeclaration()
539 m = refpolicy.ModuleDeclaration()
Dpolicygen.py147 m = refpolicy.ModuleDeclaration()
Drefpolicy.py104 return filter(lambda x: isinstance(x, ModuleDeclaration), walktree(self))
692 class ModuleDeclaration(Leaf): class
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/ast/visitor/
DNoCommentEqualsVisitor.java1062 public Boolean visit(final ModuleDeclaration n, final Visitable arg) { in visit()
1063 final ModuleDeclaration n2 = (ModuleDeclaration) arg; in visit()
DVoidVisitor.java290 void visit(ModuleDeclaration n, A arg); in visit()
DGenericVisitor.java295 R visit(ModuleDeclaration n, A arg); in visit()
DCloneVisitor.java42 ModuleDeclaration module = cloneNode(n.getModule(), arg); in visit()
957 public Visitable visit(final ModuleDeclaration n, final Object arg) { in visit()
962ModuleDeclaration r = new ModuleDeclaration(n.getTokenRange().orElse(null), annotations, name, n.i… in visit()
DEqualsVisitor.java1278 public Boolean visit(final ModuleDeclaration n, final Visitable arg) { in visit()
1279 final ModuleDeclaration n2 = (ModuleDeclaration) arg; in visit()
DObjectIdentityHashCodeVisitor.java461 public Integer visit(final ModuleDeclaration n, final Void arg) { in visit()
DObjectIdentityEqualsVisitor.java546 public Boolean visit(final ModuleDeclaration n, final Visitable arg) { in visit()
DVoidVisitorWithDefaults.java550 public void visit(final ModuleDeclaration n, final A arg) { in visit()
DGenericVisitorWithDefaults.java553 public R visit(final ModuleDeclaration n, final A arg) { in visit()
DModifierVisitor.java290ModuleDeclaration module = n.getModule().map(s -> (ModuleDeclaration) s.accept(this, arg)).orElse(… in visit()
1186 public Visitable visit(final ModuleDeclaration n, final A arg) { in visit()
DNoCommentHashCodeVisitor.java461 public Integer visit(final ModuleDeclaration n, final Void arg) { in visit()
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/
DDefaultVisitorAdapter.java432 public ResolvedType visit(ModuleDeclaration node, Boolean arg) { in visit()
/external/javaparser/javaparser-core/src/main/javacc/
Djava.jj616 ModuleDeclaration module = null;
634 module = ModuleDeclaration(modifier)
2713 ModuleDeclaration ModuleDeclaration(ModifierHolder modifier):
2727 …{ return new ModuleDeclaration(range(begin, token()), modifier.annotations, name, open, statements…

12