|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAstFactory
Responsible for instantiating and initializing the semantic model according to call backs from clients. Main (and only default) client is the parser.
Method Summary | |
---|---|
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 . |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |