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 NameExpressionprotected EolTypeprotected TypeExpression -
Constructor Summary
ConstructorsConstructorDescriptionParameter(NameExpression nameExpression) Parameter(NameExpression nameExpression, TypeExpression typeExpression) -
Method Summary
Modifier and TypeMethodDescriptionvoidaccept(IEolVisitor visitor) voidvoidClear any cached information.getName()getType(IEolContext context) booleanvoidsetNameExpression(NameExpression nameExpression) voidsetTypeExpression(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:
buildin interfaceModuleElement- Overrides:
buildin classAbstractModuleElement
-
getTypeExpression
-
setTypeExpression
-
getNameExpression
-
setNameExpression
-
getName
-
getTypeName
-
toString
- Overrides:
toStringin 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
-