Package org.eclipse.epsilon.eol.dom
Class Parameter
java.lang.Object
org.eclipse.epsilon.common.module.AbstractModuleElement
org.eclipse.epsilon.eol.dom.Parameter
- All Implemented Interfaces:
ModuleElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected NameExpression
protected EolType
protected TypeExpression
-
Constructor Summary
ConstructorsConstructorDescriptionParameter
(NameExpression nameExpression) Parameter
(NameExpression nameExpression, TypeExpression typeExpression) -
Method Summary
Modifier and TypeMethodDescriptionvoid
accept
(IEolVisitor visitor) void
void
Clear any cached information.getName()
getType
(IEolContext context) boolean
void
setNameExpression
(NameExpression nameExpression) void
setTypeExpression
(TypeExpression typeExpression) toString()
Methods inherited from class org.eclipse.epsilon.common.module.AbstractModuleElement
equals, getChildren, getComments, getData, getDebugInfo, getFile, getModule, getParent, getRegion, getUri, hashCode, setModule, setParent, setRegion, setUri
-
Field Details
-
nameExpression
-
typeExpression
-
type
-
-
Constructor Details
-
Parameter
public Parameter() -
Parameter
-
Parameter
-
-
Method Details
-
build
- Specified by:
build
in interfaceModuleElement
- Overrides:
build
in classAbstractModuleElement
-
getTypeExpression
-
setTypeExpression
-
getNameExpression
-
setNameExpression
-
getName
-
getTypeName
-
toString
- Overrides:
toString
in classAbstractModuleElement
-
getType
- Throws:
EolRuntimeException
-
clearCache
public void clearCache()Clear any cached information. This is useful for running EUnit, which has to rerun the same EOL script with different sets of models without reparsing it. -
isExplicitlyTyped
public boolean isExplicitlyTyped() -
accept
-