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.TreeTraversalABSOLUTE_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, toModuleUsesStmtaddOrphanComment, 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, walkfinalize, getClass, notify, notifyAll, wait, wait, waitgetNameAsString, setNamefindAncestor, findAncestor, findAncestor, hasParentNode, isDescendantOfcontainsWithin, containsWithinRange, getBegin, getEnd, hasRangepublic ModuleExportsDirective()
public ModuleExportsDirective(TokenRange tokenRange, Name name, NodeList<Name> moduleNames)
public <R,A> R accept(GenericVisitor<R,A> v, A arg)
Visitableaccept in interface VisitableR - 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)
Visitablepublic 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 ModuleDirectivepublic boolean isModuleExportsStmt()
isModuleExportsStmt in class ModuleDirectivepublic ModuleExportsDirective asModuleExportsStmt()
asModuleExportsStmt in class ModuleDirectivepublic void ifModuleExportsStmt(Consumer<ModuleExportsDirective> action)
ifModuleExportsStmt in class ModuleDirectivepublic Optional<ModuleExportsDirective> toModuleExportsStmt()
toModuleExportsStmt in class ModuleDirectivepublic ModuleExportsDirective addModuleName(String name)
public boolean isModuleExportsDirective()
isModuleExportsDirective in class ModuleDirectivepublic ModuleExportsDirective asModuleExportsDirective()
asModuleExportsDirective in class ModuleDirectivepublic Optional<ModuleExportsDirective> toModuleExportsDirective()
toModuleExportsDirective in class ModuleDirectivepublic void ifModuleExportsDirective(Consumer<ModuleExportsDirective> action)
ifModuleExportsDirective in class ModuleDirectivepublic ModuleExportsDirectiveMetaModel getMetaModel()
getMetaModel in class ModuleDirectiveCopyright © 2007–2025. All rights reserved.