public class ModuleExportsDirective extends ModuleDirective implements NodeWithName<ModuleExportsDirective>
exports R.S to T1.U1, T2.U2;
Node.BreadthFirstIterator, Node.DirectChildrenIterator, Node.ObserverRegistrationMode, Node.ParentsVisitor, Node.Parsedness, Node.PostOrderIterator, Node.PreOrderIterator, Node.TreeTraversal
ABSOLUTE_BEGIN_LINE, ABSOLUTE_END_LINE, LINE_SEPARATOR_KEY, NODE_BY_BEGIN_POSITION, PHANTOM_KEY, prettyPrinterNoCommentsConfiguration, PRINTER_KEY, SYMBOL_RESOLVER_KEY
Constructor and Description |
---|
ModuleExportsDirective() |
ModuleExportsDirective(Name name,
NodeList<Name> moduleNames) |
ModuleExportsDirective(TokenRange tokenRange,
Name name,
NodeList<Name> moduleNames)
This constructor is used by the parser and is considered private.
|
asModuleOpensDirective, asModuleOpensStmt, asModuleProvidesDirective, asModuleProvidesStmt, asModuleRequiresDirective, asModuleRequiresStmt, asModuleUsesDirective, asModuleUsesStmt, ifModuleOpensDirective, ifModuleOpensStmt, ifModuleProvidesDirective, ifModuleProvidesStmt, ifModuleRequiresDirective, ifModuleRequiresStmt, ifModuleUsesDirective, ifModuleUsesStmt, isModuleOpensDirective, isModuleOpensStmt, isModuleProvidesDirective, isModuleProvidesStmt, isModuleRequiresDirective, isModuleRequiresStmt, isModuleUsesDirective, isModuleUsesStmt, toModuleOpensDirective, toModuleOpensStmt, toModuleProvidesDirective, toModuleProvidesStmt, toModuleRequiresDirective, toModuleRequiresStmt, toModuleUsesDirective, toModuleUsesStmt
addOrphanComment, containsData, createDefaultPrinter, createDefaultPrinter, customInitialization, equals, findAll, findAll, findAll, findByRange, findCompilationUnit, findData, findFirst, findFirst, findFirst, findRootNode, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getDataKeys, getDefaultPrinterConfiguration, getLineEndingStyle, getLineEndingStyleOrDefault, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getPrinter, getPrinter, getRange, getSymbolResolver, getTokenRange, hashCode, hasScope, isAncestorOf, isPhantom, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeData, removeForced, removeOrphanComment, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, stream, stream, toString, toString, tryAddImportToParentCompilationUnit, unregister, walk, walk, walk
finalize, getClass, notify, notifyAll, wait, wait, wait
getNameAsString, setName
findAncestor, findAncestor, findAncestor, hasParentNode, isDescendantOf
containsWithin, containsWithinRange, getBegin, getEnd, hasRange
public ModuleExportsDirective()
public ModuleExportsDirective(TokenRange tokenRange, Name name, NodeList<Name> moduleNames)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Visitable
accept
in interface Visitable
R
- the type of the return value of the visitorA
- the type the user argument passed to the visitorv
- the visitor implementationarg
- the argument passed to the visitor (of type A)public <A> void accept(VoidVisitor<A> v, A arg)
Visitable
public Name getName()
getName
in interface NodeWithName<ModuleExportsDirective>
public ModuleExportsDirective setName(Name name)
setName
in interface NodeWithName<ModuleExportsDirective>
public ModuleExportsDirective setModuleNames(NodeList<Name> moduleNames)
public ModuleExportsDirective clone()
clone
in class ModuleDirective
public boolean isModuleExportsStmt()
isModuleExportsStmt
in class ModuleDirective
public ModuleExportsDirective asModuleExportsStmt()
asModuleExportsStmt
in class ModuleDirective
public void ifModuleExportsStmt(Consumer<ModuleExportsDirective> action)
ifModuleExportsStmt
in class ModuleDirective
public Optional<ModuleExportsDirective> toModuleExportsStmt()
toModuleExportsStmt
in class ModuleDirective
public ModuleExportsDirective addModuleName(String name)
public boolean isModuleExportsDirective()
isModuleExportsDirective
in class ModuleDirective
public ModuleExportsDirective asModuleExportsDirective()
asModuleExportsDirective
in class ModuleDirective
public Optional<ModuleExportsDirective> toModuleExportsDirective()
toModuleExportsDirective
in class ModuleDirective
public void ifModuleExportsDirective(Consumer<ModuleExportsDirective> action)
ifModuleExportsDirective
in class ModuleDirective
public ModuleExportsDirectiveMetaModel getMetaModel()
getMetaModel
in class ModuleDirective
Copyright © 2007–2024. All rights reserved.