Package org.eclipse.epsilon.eol.dom
Class Import
- java.lang.Object
-
- org.eclipse.epsilon.common.module.AbstractModuleElement
-
- org.eclipse.epsilon.eol.dom.Import
-
- All Implemented Interfaces:
ModuleElement
public class Import extends AbstractModuleElement
-
-
Field Summary
Fields Modifier and Type Field Description protected StringLiteral
pathLiteral
-
Constructor Summary
Constructors Constructor Description Import()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
build(AST cst, IModule module)
IModule
getImportedModule()
IModule
getModule()
java.lang.String
getPath()
StringLiteral
getPathLiteral()
boolean
isFound()
boolean
isLoaded()
void
load(java.net.URI baseUri)
void
setContext(IEolContext context)
void
setImportedModule(IModule importedModule)
void
setParentModule(IEolModule parentModule)
void
setPathLiteral(StringLiteral pathLiteral)
java.lang.String
toString()
-
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getDebugInfo, getFile, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri
-
-
-
-
Field Detail
-
pathLiteral
protected StringLiteral pathLiteral
-
-
Method Detail
-
setParentModule
public void setParentModule(IEolModule parentModule)
-
setImportedModule
public void setImportedModule(IModule importedModule)
-
getImportedModule
public IModule getImportedModule()
-
build
public void build(AST cst, IModule module)
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAbstractModuleElement
-
load
public void load(java.net.URI baseUri)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classAbstractModuleElement
-
isLoaded
public boolean isLoaded()
-
isFound
public boolean isFound()
-
getModule
public IModule getModule()
- Specified by:
getModule
in interfaceModuleElement
- Overrides:
getModule
in classAbstractModuleElement
-
getPathLiteral
public StringLiteral getPathLiteral()
-
setPathLiteral
public void setPathLiteral(StringLiteral pathLiteral)
-
getPath
public java.lang.String getPath()
-
setContext
public void setContext(IEolContext context)
-
-