use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class LanguageDescriptorPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
LanguageDescriptor entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(4);
list.add(entity.getUri());
list.add(entity.getNamespace());
list.add(entity.getName());
list.add(entity.getVersion());
return list;
}
use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class LiteralTerminalPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
LiteralTerminal entity = getModelEntity();
List<IEntity> list = new ArrayList<IEntity>(2);
list.add(entity.getPattern());
list.add(entity.getLiteral());
return list;
}
use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class FactorialPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
Factorial entity = getModelEntity();
IEntity exp1 = entity.getExpression();
refreshPrecedence(entity, exp1);
List<IEntity> list = new ArrayList<IEntity>(1);
list.add(exp1);
return list;
}
use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class InPart method getModelSpecificChildren.
protected List<IEntity> getModelSpecificChildren() {
In entity = getModelEntity();
IEntity exp1 = entity.getElement();
IEntity exp2 = entity.getCollection();
refreshPrecedence(entity, exp1, exp2);
List<IEntity> list = new ArrayList<IEntity>(2);
list.add(exp1);
list.add(exp2);
return list;
}
use of org.whole.lang.model.IEntity in project whole by wholeplatform.
the class ListPart method getModelSpecificChildren.
protected java.util.List<IEntity> getModelSpecificChildren() {
List entity = getModelEntity();
java.util.List<IEntity> list = new ArrayList<IEntity>(1);
list.add(entity.getElements());
return list;
}
Aggregations