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, NODE_BY_BEGIN_POSITION, prettyPrinterNoCommentsConfiguration, 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, customInitialization, equals, findAll, findAll, findCompilationUnit, findFirst, findFirst, findFirst, findRootNode, getAllContainedComments, getChildNodes, getChildNodesByType, getComment, getData, getDataKeys, getNodesByType, getOrphanComments, getParentNode, getParentNodeForChildren, getParsed, getRange, getSymbolResolver, getTokenRange, getToStringPrettyPrinterConfiguration, hashCode, isAncestorOf, isRegistered, notifyPropertyChange, register, register, registerForSubtree, remove, removeComment, removeData, removeForced, removeOrphanComment, replace, setAsParentNodeOf, setAsParentNodeOf, setBlockComment, setComment, setData, setLineComment, setParentNode, setParsed, setRange, setTokenRange, setToStringPrettyPrinterConfiguration, stream, stream, toString, toString, tryAddImportToParentCompilationUnit, unregister, walk, walk, walkfinalize, getClass, notify, notifyAll, wait, wait, waitgetNameAsString, setNamefindAncestor, findAncestor, isDescendantOfcontainsWithin, containsWithinRange, getBegin, getEndpublic 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 boolean remove(Node node)
remove in class ModuleDirectivepublic 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 replace(Node node, Node replacementNode)
replace 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–2020. All rights reserved.