Search in sources :

Example 6 with IModelsBuilder

use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.

the class SimpleEntityPattern method apply.

public void apply(IBuilderOperation op) {
    IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
    ICommonsBuilder cb = (ICommonsBuilder) op.wGetBuilder(CommonsLanguageKit.URI);
    b0.SimpleEntity_();
    b0.EntityModifiers();
    cb.Variable("entityName", "http://lang.whole.org/Models#SimpleName", "MANDATORY");
    b0.Types_();
    cb.Variable("type", "http://lang.whole.org/Models#SimpleName", "ZERO_OR_MORE_GREEDY");
    b0._Types();
    b0.Features_();
    cb.Variable("feature", "http://lang.whole.org/Models#Feature", "ZERO_OR_MORE_GREEDY");
    b0._Features();
    b0._SimpleEntity();
}
Also used : IModelsBuilder(org.whole.lang.models.builders.IModelsBuilder) ICommonsBuilder(org.whole.lang.commons.builders.ICommonsBuilder)

Example 7 with IModelsBuilder

use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.

the class EBNFModel method apply.

public void apply(IBuilderOperation op) {
    IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
    b0.Model_();
    b0.SimpleName("EBNF");
    b0.TypeRelations();
    b0.ModelDeclarations_(13);
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Grammar");
    b0.Types();
    b0.Features_(3);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Name");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("NonTerminal");
    b0.SimpleName("root");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Productions");
    b0.SimpleName("productions");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Name");
    b0.Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Productions");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("Production");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Production");
    b0.Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("NonTerminal");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("AltRegExp");
    b0.SimpleName("regExp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Terminal");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("NonTerminal");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("EmptyRegExp");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("StarRegExp");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("IRegExp");
    b0.SimpleName("regExp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("PlusRegExp");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("IRegExp");
    b0.SimpleName("regExp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("OptRegExp");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("IRegExp");
    b0.SimpleName("regExp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("SeqRegExp");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IRegExp");
    b0._CompositeEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("AltRegExp");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IRegExp");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Alt2RegExp");
    b0.Types_(1);
    b0.SimpleName("IRegExp");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("IRegExp");
    b0.SimpleName("regExp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("IRegExp");
    b0.SimpleName("regExp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0._ModelDeclarations();
    b0.Namespace("org.whole.lang.ebnf");
    org.whole.lang.commons.builders.ICommonsBuilder b1 = (org.whole.lang.commons.builders.ICommonsBuilder) op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI);
    b1.Resolver();
    b0.URI("http://lang.whole.org/EBNF");
    b0._Model();
}
Also used : IModelsBuilder(org.whole.lang.models.builders.IModelsBuilder)

Example 8 with IModelsBuilder

use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.

the class EditorsModel method apply.

public void apply(IBuilderOperation op) {
    IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
    b0.Model_();
    b0.SimpleName("Editors");
    b0.TypeRelations();
    b0.ModelDeclarations_(26);
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Editor");
    b0.Types();
    b0.Features_(5);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("EditorName");
    b0.SimpleName("editorName");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers_(1);
    b0.FeatureModifier("optional");
    b0._FeatureModifiers();
    b0.SimpleName("EditorName");
    b0.SimpleName("superEditorName");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelComponent");
    b0.SimpleName("modelComponent");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ViewComponent");
    b0.SimpleName("viewComponent");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ControllerComponent");
    b0.SimpleName("controllerComponent");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelComponent");
    b0.Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelName");
    b0.SimpleName("modelName");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ControllerComponent");
    b0.Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ControllerDeclarations");
    b0.SimpleName("declarations");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ControllerDeclarations");
    b0.Types();
    b0.ComponentModifiers();
    b0.SimpleName("ControllerDeclaration");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("PartDeclaration");
    b0.Types_(1);
    b0.SimpleName("ControllerDeclaration");
    b0._Types();
    b0.Features_(4);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("PartName");
    b0.SimpleName("partName");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("EntityName");
    b0.SimpleName("entityName");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("FigureName");
    b0.SimpleName("figureName");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("EntityFeatures");
    b0.SimpleName("entityFeatures");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("JavaPartDeclaration");
    b0.Types_(1);
    b0.SimpleName("ControllerDeclaration");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("PartName");
    b0.SimpleName("partName");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("EntityNames");
    b0.SimpleName("entityNames");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("GenericPartDeclaration");
    b0.Types_(1);
    b0.SimpleName("ControllerDeclaration");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("GenericPartName");
    b0.SimpleName("partName");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("EntityNames");
    b0.SimpleName("entityNames");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("EntityFeatures");
    b0.Types();
    b0.ComponentModifiers();
    b0.SimpleName("FeatureName");
    b0._CompositeEntity();
    b0.EnumEntity_();
    b0.EntityModifiers();
    b0.SimpleName("GenericPartName");
    b0.Types();
    b0.EnumValues_(13);
    b0.EnumValue("CompositeColumn");
    b0.EnumValue("CompositeRow");
    b0.EnumValue("ConstructorColumn");
    b0.EnumValue("ConstructorRow");
    b0.EnumValue("FoldableConstructor");
    b0.EnumValue("Resolver");
    b0.EnumValue("OptionalResolver");
    b0.EnumValue("LiteralData");
    b0.EnumValue("KeywordData");
    b0.EnumValue("IdentifierData");
    b0.EnumValue("OperatorData");
    b0.EnumValue("DelimiterData");
    b0.EnumValue("ParenthesisData");
    b0._EnumValues();
    b0._EnumEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ViewComponent");
    b0.Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ViewDeclarations");
    b0.SimpleName("declarations");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ViewDeclarations");
    b0.Types();
    b0.ComponentModifiers();
    b0.SimpleName("ViewDeclaration");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("SimpleFigureDeclaration");
    b0.Types_(1);
    b0.SimpleName("ViewDeclaration");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("FigureName");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("FigureBody");
    b0.SimpleName("figure");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("FoldableTextualFigure");
    b0.Types_(1);
    b0.SimpleName("FigureBody");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("TextualFigure");
    b0.SimpleName("expandedFigure");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("TextualFigure");
    b0.SimpleName("collapsedFigure");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("TextualFigure");
    b0.Types_(1);
    b0.SimpleName("FigureBody");
    b0._Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("ordered");
    b0._ComponentModifiers();
    b0.SimpleName("Row");
    b0._CompositeEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Row");
    b0.Types();
    b0.ComponentModifiers();
    b0.SimpleName("RowElement");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ChildPlace");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Indent");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("FoldingToggle");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("KeywordToken");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("LiteralToken");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("IdentifierToken");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("OperatorToken");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("DelimiterToken");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ParenthesisToken");
    b0.Types_(1);
    b0.SimpleName("RowElement");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("EntityNames");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("EntityName");
    b0._CompositeEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Identifier");
    b0.Types_(6);
    b0.SimpleName("EditorName");
    b0.SimpleName("ModelName");
    b0.SimpleName("EntityName");
    b0.SimpleName("FeatureName");
    b0.SimpleName("FigureName");
    b0.SimpleName("PartName");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0._ModelDeclarations();
    b0.Namespace("org.whole.lang.editors");
    org.whole.lang.commons.builders.ICommonsBuilder b1 = (org.whole.lang.commons.builders.ICommonsBuilder) op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI);
    b1.Resolver();
    b0.URI("http://lang.whole.org/Editors");
    b0._Model();
}
Also used : IModelsBuilder(org.whole.lang.models.builders.IModelsBuilder)

Example 9 with IModelsBuilder

use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.

the class ILModel method apply.

public void apply(IBuilderOperation op) {
    IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
    b0.Model_();
    b0.SimpleName("IL");
    b0.TypeRelations_(0);
    b0._TypeRelations();
    b0.ModelDeclarations_(42);
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("FunctionDeclaration");
    b0.Types_(1);
    b0.SimpleName("Declaration");
    b0._Types();
    b0.Features_(4);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Type");
    b0.SimpleName("type");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Name");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Parameters");
    b0.SimpleName("parameters");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Statement");
    b0.SimpleName("body");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Parameters");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("ordered");
    b0._ComponentModifiers();
    b0.SimpleName("Parameter");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Parameter");
    b0.Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Type");
    b0.SimpleName("type");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Name");
    b0.SimpleName("name");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("VariableDeclaration");
    b0.Types_(1);
    b0.SimpleName("Declaration");
    b0._Types();
    b0.Features_(3);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Type");
    b0.SimpleName("type");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Name");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers_(1);
    b0.FeatureModifier("optional");
    b0._FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("initializer");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers_(1);
    b0.EntityModifier("abstract");
    b0._EntityModifiers();
    b0.SimpleName("Declaration");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("EmptyStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ReturnStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("IfStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("condition");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Statement");
    b0.SimpleName("trueBody");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("IfElseStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(3);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("condition");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Statement");
    b0.SimpleName("trueBody");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Statement");
    b0.SimpleName("falseBody");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("WhileStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("condition");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Statement");
    b0.SimpleName("trueBody");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("DoWhileStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Statement");
    b0.SimpleName("trueBody");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("condition");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ForStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(4);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("VariableDeclaration");
    b0.SimpleName("initializer");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("condition");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("updater");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Statement");
    b0.SimpleName("trueBody");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("BlockStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("ordered");
    b0._ComponentModifiers();
    b0.SimpleName("Statement");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("PrintStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("PrintlnStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers_(1);
    b0.FeatureModifier("optional");
    b0._FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("SaveStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers_(1);
    b0.FeatureModifier("optional");
    b0._FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("fileName");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ExpressionStatement");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("LoadExpression");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("fileName");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers_(1);
    b0.FeatureModifier("optional");
    b0._FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("language");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("FunctionInvocationExpression");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("NameExpression");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Arguments");
    b0.SimpleName("arguments");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Arguments");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("ordered");
    b0._ComponentModifiers();
    b0.SimpleName("Expression");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("AssignmentExpression");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Name");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("RunExpression");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers_(1);
    b0.EntityModifier("abstract");
    b0._EntityModifiers();
    b0.SimpleName("Literal");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("BooleanLiteral");
    b0.Types_(1);
    b0.SimpleName("Literal");
    b0._Types();
    b0.DataType("boolean");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("IntLiteral");
    b0.Types_(1);
    b0.SimpleName("Literal");
    b0._Types();
    b0.DataType("int");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("StringLiteral");
    b0.Types_(1);
    b0.SimpleName("Literal");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Name");
    b0.Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("NameExpression");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.EnumEntity_();
    b0.EntityModifiers();
    b0.SimpleName("PrimitiveType");
    b0.Types_(1);
    b0.SimpleName("Type");
    b0._Types();
    b0.EnumValues_(6);
    b0.EnumValue("boolean");
    b0.EnumValue("int");
    b0.EnumValue("string");
    b0.EnumValue("entity");
    b0.EnumValue("function");
    b0.EnumValue("void");
    b0._EnumValues();
    b0._EnumEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Addition");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Subtraction");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Multiplication");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Division");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("And");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Or");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Not");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Equals");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("NotEquals");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("LessThan");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("LessOrEquals");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("GreaterThan");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("GreaterOrEquals");
    b0.Types_(1);
    b0.SimpleName("Expression");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp1");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Expression");
    b0.SimpleName("exp2");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0._ModelDeclarations();
    b0.Namespace("org.whole.lang.il");
    org.whole.lang.commons.builders.ICommonsBuilder b1 = (org.whole.lang.commons.builders.ICommonsBuilder) op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI);
    b1.Resolver();
    b0.URI("http://lang.whole.org/IL");
    b0._Model();
}
Also used : IModelsBuilder(org.whole.lang.models.builders.IModelsBuilder)

Example 10 with IModelsBuilder

use of org.whole.lang.models.builders.IModelsBuilder in project whole by wholeplatform.

the class MbedModel method apply.

public void apply(IBuilderOperation op) {
    IModelsBuilder b0 = (IModelsBuilder) op.wGetBuilder(ModelsLanguageKit.URI);
    b0.Model_();
    b0.SimpleName("Mbed");
    b0.TypeRelations_(0);
    b0._TypeRelations();
    b0.ModelDeclarations_(30);
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("MbedComposite");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IMbedDeclaration");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelBasedEditor");
    b0.Types_(1);
    b0.SimpleName("IMbedDeclaration");
    b0._Types();
    b0.Features_(5);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("editorRootEntity");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelComponent");
    b0.SimpleName("modelComponent");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ViewComponent");
    b0.SimpleName("viewComponent");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ControllerComponent");
    b0.SimpleName("controllerComponent");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ChildPlace");
    b0.Types_(1);
    b0.SimpleName("IRowFig");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ViewFigure");
    b0.Types_(1);
    b0.SimpleName("IViewFigure");
    b0._Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("GrammarRuleFigure");
    b0.SimpleName("figure");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("GrammarRuleFigure");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IGrammarRuleRow");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ControllerPart");
    b0.Types();
    b0.Features_(4);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("entity");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("figure");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ControllerPart_Body");
    b0.SimpleName("body");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ControllerComponent_Body");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("ControllerPart");
    b0._CompositeEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelEntity_Body");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("ModelFeature");
    b0._CompositeEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelEntity_IsaList");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IIdentifier");
    b0._CompositeEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Identifier");
    b0.Types_(1);
    b0.SimpleName("IIdentifier");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelComponent_Body");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IModelDeclaration");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelEntity");
    b0.Types_(1);
    b0.SimpleName("IModelDeclaration");
    b0._Types();
    b0.Features_(3);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelEntity_Body");
    b0.SimpleName("body");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelEntity_IsaList");
    b0.SimpleName("isaList");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelOperation");
    b0.Types_(1);
    b0.SimpleName("IModelDeclaration");
    b0._Types();
    b0.Features_(3);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelOperation_Formals");
    b0.SimpleName("formals");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Statement");
    b0.SimpleName("body");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("AliasConstraint");
    b0.Types_(1);
    b0.SimpleName("IModelDeclaration");
    b0._Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IIdentifier");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("FormalParameter");
    b0.Types();
    b0.Features_(2);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("type");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Text");
    b0.Types_(1);
    b0.SimpleName("Statement");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Indent");
    b0.Types_(1);
    b0.SimpleName("IRowFig");
    b0._Types();
    b0.Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("GrammarRuleRow");
    b0.Types_(1);
    b0.SimpleName("IGrammarRuleRow");
    b0._Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IRowFig");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ViewComponent");
    b0.Types_(2);
    b0.SimpleName("IMbedDeclaration");
    b0.SimpleName("IViewFigure");
    b0._Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ViewComponent_Body");
    b0.SimpleName("body");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ControllerComponent");
    b0.Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ControllerComponent_Body");
    b0.SimpleName("body");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("Token");
    b0.Types_(1);
    b0.SimpleName("IRowFig");
    b0._Types();
    b0.DataType("String");
    b0._DataEntity();
    b0.DataEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelFeatureCardinality");
    b0.Types();
    b0.DataType("int");
    b0._DataEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ControllerFeature");
    b0.Types();
    b0.Features_(1);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ViewComponent_Body");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IViewFigure");
    b0._CompositeEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ControllerPart_Body");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("ControllerFeature");
    b0._CompositeEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelFeature");
    b0.Types();
    b0.Features_(3);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelFeatureCardinality");
    b0.SimpleName("cardinality");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("type");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.SimpleEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelComponent");
    b0.Types_(2);
    b0.SimpleName("IMbedDeclaration");
    b0.SimpleName("IModelDeclaration");
    b0._Types();
    b0.Features_(4);
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("Identifier");
    b0.SimpleName("name");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelComponent_Body");
    b0.SimpleName("body");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelComponent_MetaFragmentTypes");
    b0.SimpleName("metaFragmentTypes");
    b0._Feature();
    b0.Feature_();
    b0.FeatureModifiers();
    b0.SimpleName("ModelComponent_BaseFragmentTypes");
    b0.SimpleName("baseFragmentTypes");
    b0._Feature();
    b0._Features();
    b0._SimpleEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelOperation_Formals");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("FormalParameter");
    b0._CompositeEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelComponent_MetaFragmentTypes");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IIdentifier");
    b0._CompositeEntity();
    b0.CompositeEntity_();
    b0.EntityModifiers();
    b0.SimpleName("ModelComponent_BaseFragmentTypes");
    b0.Types();
    b0.ComponentModifiers_(1);
    b0.ComponentModifier("unique");
    b0._ComponentModifiers();
    b0.SimpleName("IIdentifier");
    b0._CompositeEntity();
    b0._ModelDeclarations();
    b0.Namespace("org.whole.lang.mbed");
    org.whole.lang.commons.builders.ICommonsBuilder b1 = (org.whole.lang.commons.builders.ICommonsBuilder) op.wGetBuilder(org.whole.lang.commons.reflect.CommonsLanguageKit.URI);
    b1.Resolver();
    b0.URI("http://lang.whole.org/Mbed");
    b0._Model();
}
Also used : IModelsBuilder(org.whole.lang.models.builders.IModelsBuilder)

Aggregations

IModelsBuilder (org.whole.lang.models.builders.IModelsBuilder)21 ICommonsBuilder (org.whole.lang.commons.builders.ICommonsBuilder)3 IArtifactsBuilder (org.whole.lang.artifacts.builders.IArtifactsBuilder)1 IBuilder (org.whole.lang.builders.IBuilder)1 IBuilderFactory (org.whole.lang.builders.IBuilderFactory)1 IEntityContext (org.whole.lang.contexts.IEntityContext)1 IMiscBuilder (org.whole.lang.misc.builders.IMiscBuilder)1 ModelsGenericBuilderAdapter (org.whole.lang.models.builders.ModelsGenericBuilderAdapter)1 ModelsSpecificBuilderAdapter (org.whole.lang.models.builders.ModelsSpecificBuilderAdapter)1 ModelsInterpreterVisitor (org.whole.lang.models.visitors.ModelsInterpreterVisitor)1 ModelsNormalizerVisitor (org.whole.lang.models.visitors.ModelsNormalizerVisitor)1 ModelsPrettyPrinterVisitor (org.whole.lang.models.visitors.ModelsPrettyPrinterVisitor)1 ModelsValidatorVisitor (org.whole.lang.models.visitors.ModelsValidatorVisitor)1 TeXGeneratorVisitor (org.whole.lang.models.visitors.TeXGeneratorVisitor)1 ExportTexOperation (org.whole.lang.operations.ExportTexOperation)1 IOperation (org.whole.lang.operations.IOperation)1 PrettyPrinterOperation (org.whole.lang.operations.PrettyPrinterOperation)1 IVisitor (org.whole.lang.visitors.IVisitor)1 IVisitorFactory (org.whole.lang.visitors.IVisitorFactory)1