public interface IAstFactory
Modifier and Type | Method and Description |
---|---|
void |
add(org.eclipse.emf.ecore.EObject _this,
java.lang.String feature,
java.lang.Object value,
java.lang.String lexerRule,
INode node)
Adds a given value to a list described by the given feature.
|
org.eclipse.emf.ecore.EObject |
create(org.eclipse.emf.ecore.EClassifier clazz)
Creates an instance of the given type which has to be an
EClass . |
void |
set(org.eclipse.emf.ecore.EObject _this,
java.lang.String feature,
java.lang.Object value,
java.lang.String lexerRule,
INode node)
Assigns a given value to a feature of the element
_this . |
org.eclipse.emf.ecore.EObject create(org.eclipse.emf.ecore.EClassifier clazz)
EClass
.clazz
- the EClass
to be instantiated.EObject
which must conform the given class.void set(org.eclipse.emf.ecore.EObject _this, java.lang.String feature, java.lang.Object value, java.lang.String lexerRule, INode node) throws ValueConverterException
_this
. The value may be converted
according to the optional lexer rule.
The feature must be resolvable to a single value feature.ValueConverterException
- if the value cannot be converted.void add(org.eclipse.emf.ecore.EObject _this, java.lang.String feature, java.lang.Object value, java.lang.String lexerRule, INode node) throws ValueConverterException
_this
. The given value may be converted
according to the optional lexer rule.
The feature must be resolvable to a multi value feature.ValueConverterException
- if the value cannot be converted.