public class Import extends AbstractModuleElement
Modifier and Type | Field and Description |
---|---|
protected StringLiteral |
pathLiteral |
Constructor and Description |
---|
Import() |
Modifier and Type | Method and Description |
---|---|
void |
build(AST cst,
IModule module) |
IModule |
getImportedModule() |
IModule |
getModule() |
String |
getPath() |
StringLiteral |
getPathLiteral() |
boolean |
isFound() |
boolean |
isLoaded() |
void |
load(URI baseUri) |
void |
setContext(IEolContext context) |
void |
setImportedModule(IModule importedModule) |
void |
setParentModule(IEolModule parentModule) |
void |
setPathLiteral(StringLiteral pathLiteral) |
String |
toString() |
getChildren, getComments, getDebugInfo, getFile, getParent, getRegion, getUri, setModule, setParent, setRegion, setUri
protected StringLiteral pathLiteral
public void setParentModule(IEolModule parentModule)
public void setImportedModule(IModule importedModule)
public IModule getImportedModule()
public void build(AST cst, IModule module)
build
in interface ModuleElement
build
in class AbstractModuleElement
public void load(URI baseUri)
public boolean isLoaded()
public boolean isFound()
public IModule getModule()
getModule
in interface ModuleElement
getModule
in class AbstractModuleElement
public StringLiteral getPathLiteral()
public void setPathLiteral(StringLiteral pathLiteral)
public String getPath()
public void setContext(IEolContext context)
Copyright © 2018. All rights reserved.