本文整理匯總了Java中jetbrains.mps.text.rt.TextGenDescriptor類的典型用法代碼示例。如果您正苦於以下問題:Java TextGenDescriptor類的具體用法?Java TextGenDescriptor怎麽用?Java TextGenDescriptor使用的例子?那麽, 這裏精選的類代碼示例或許可以為您提供幫助。
TextGenDescriptor類屬於jetbrains.mps.text.rt包,在下文中一共展示了TextGenDescriptor類的8個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。
示例1: getDescriptor
import jetbrains.mps.text.rt.TextGenDescriptor; //導入依賴的package包/類
@Nullable
@Override
public TextGenDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
switch (myIndex.index(concept)) {
case LanguageConceptSwitch.DatumWaarde:
return new DatumWaarde_TextGen();
case LanguageConceptSwitch.DuurWaarde:
return new DuurWaarde_TextGen();
case LanguageConceptSwitch.EnumeratieWaarde:
return new EnumeratieWaarde_TextGen();
case LanguageConceptSwitch.GeheelGetalWaarde:
return new GeheelGetalWaarde_TextGen();
case LanguageConceptSwitch.JaNeeWaarde:
return new JaNeeWaarde_TextGen();
case LanguageConceptSwitch.ReeelGetalWaarde:
return new ReeelGetalWaarde_TextGen();
case LanguageConceptSwitch.RijVanKaraktersWaarde:
return new RijVanKaraktersWaarde_TextGen();
case LanguageConceptSwitch.TijdWaarde:
return new TijdWaarde_TextGen();
}
return null;
}
示例2: getDescriptor
import jetbrains.mps.text.rt.TextGenDescriptor; //導入依賴的package包/類
@Nullable
@Override
public TextGenDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
switch (myIndex.index(concept)) {
case LanguageConceptSwitch.Argument:
return new Argument_TextGen();
case LanguageConceptSwitch.Comment:
return new Comment_TextGen();
case LanguageConceptSwitch.Context:
return new Context_TextGen();
case LanguageConceptSwitch.Empty:
return new Empty_TextGen();
case LanguageConceptSwitch.Extend:
return new Extend_TextGen();
case LanguageConceptSwitch.Same:
return new Same_TextGen();
case LanguageConceptSwitch.WorkSpace:
return new WorkSpace_TextGen();
}
return null;
}
示例3: getDescriptor
import jetbrains.mps.text.rt.TextGenDescriptor; //導入依賴的package包/類
@Nullable
@Override
public TextGenDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
switch (myIndex.index(concept)) {
case LanguageConceptSwitch.Context:
return new Context_TextGen();
case LanguageConceptSwitch.Enumeratie:
return new Enumeratie_TextGen();
case LanguageConceptSwitch.EnumeratieElement:
return new EnumeratieElement_TextGen();
case LanguageConceptSwitch.EnumeratieWaarde:
return new EnumeratieWaarde_TextGen();
case LanguageConceptSwitch.InstantieVanObject:
return new InstantieVanObject_TextGen();
case LanguageConceptSwitch.MeervoudigeObjectWaarde:
return new MeervoudigeObjectWaarde_TextGen();
case LanguageConceptSwitch.ObjectWaarde:
return new ObjectWaarde_TextGen();
case LanguageConceptSwitch.Onderwerp:
return new Onderwerp_TextGen();
case LanguageConceptSwitch.Overgang:
return new Overgang_TextGen();
case LanguageConceptSwitch.RechtsSubject:
return new RechtsSubject_TextGen();
case LanguageConceptSwitch.RechtsgevolgVeroorzakers:
return new RechtsgevolgVeroorzakers_TextGen();
case LanguageConceptSwitch.ReferentieNaarInstantieVanObject:
return new ReferentieNaarInstantieVanObject_TextGen();
case LanguageConceptSwitch.Regel:
return new Regel_TextGen();
case LanguageConceptSwitch.TabelMetInstanties:
return new TabelMetInstanties_TextGen();
case LanguageConceptSwitch.Toestand:
return new Toestand_TextGen();
case LanguageConceptSwitch.WaardeVanKenmerk:
return new WaardeVanKenmerk_TextGen();
}
return null;
}
示例4: getDescriptor
import jetbrains.mps.text.rt.TextGenDescriptor; //導入依賴的package包/類
@Nullable
@Override
public TextGenDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
switch (myIndex.index(concept)) {
case LanguageConceptSwitch.LijstMetRechtsbetrekkingen:
return new LijstMetRechtsbetrekkingen_TextGen();
case LanguageConceptSwitch.LijstMetRechtshandelingen:
return new LijstMetRechtshandelingen_TextGen();
case LanguageConceptSwitch.Rechtsbetrekking:
return new Rechtsbetrekking_TextGen();
case LanguageConceptSwitch.Rechtshandeling:
return new Rechtshandeling_TextGen();
}
return null;
}
示例5: getDescriptor
import jetbrains.mps.text.rt.TextGenDescriptor; //導入依賴的package包/類
@Nullable
@Override
public TextGenDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
switch (myIndex.index(concept)) {
case LanguageConceptSwitch.InteractieDefinitie:
return new InteractieDefinitie_TextGen();
case LanguageConceptSwitch.InvoerVeld:
return new InvoerVeld_TextGen();
case LanguageConceptSwitch.Kolom:
return new Kolom_TextGen();
case LanguageConceptSwitch.Presentatie:
return new Presentatie_TextGen();
case LanguageConceptSwitch.PresentatieDialoog:
return new PresentatieDialoog_TextGen();
case LanguageConceptSwitch.PresentatieKenmerk:
return new PresentatieKenmerk_TextGen();
case LanguageConceptSwitch.PresentatieLink:
return new PresentatieLink_TextGen();
case LanguageConceptSwitch.PresentatieObject:
return new PresentatieObject_TextGen();
case LanguageConceptSwitch.PresentatieRechtsbetrekking:
return new PresentatieRechtsbetrekking_TextGen();
case LanguageConceptSwitch.PresentatieRechtshandeling:
return new PresentatieRechtshandeling_TextGen();
case LanguageConceptSwitch.Rij:
return new Rij_TextGen();
case LanguageConceptSwitch.TagVeld:
return new TagVeld_TextGen();
case LanguageConceptSwitch.TekstVeld:
return new TekstVeld_TextGen();
case LanguageConceptSwitch.XpathVeld:
return new XpathVeld_TextGen();
}
return null;
}
示例6: getDescriptor
import jetbrains.mps.text.rt.TextGenDescriptor; //導入依賴的package包/類
@Nullable
@Override
public TextGenDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
switch (myIndex.index(concept)) {
case LanguageConceptSwitch.DatumTijd:
return new DatumTijd_TextGen();
}
return null;
}
示例7: getDescriptor
import jetbrains.mps.text.rt.TextGenDescriptor; //導入依賴的package包/類
@Nullable
@Override
public TextGenDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
switch (myIndex.index(concept)) {
case LanguageConceptSwitch.Gegevenshuishouding:
return new Gegevenshuishouding_TextGen();
}
return null;
}
示例8: getDescriptor
import jetbrains.mps.text.rt.TextGenDescriptor; //導入依賴的package包/類
@Nullable
@Override
public TextGenDescriptor getDescriptor(@NotNull SAbstractConcept concept) {
switch (myIndex.index(concept)) {
case LanguageConceptSwitch.Body:
return new Body_TextGen();
case LanguageConceptSwitch.Comment:
return new Comment_TextGen();
case LanguageConceptSwitch.Context:
return new Context_TextGen();
case LanguageConceptSwitch.Empty:
return new Empty_TextGen();
case LanguageConceptSwitch.Extend:
return new Extend_TextGen();
case LanguageConceptSwitch.GoTo:
return new GoTo_TextGen();
case LanguageConceptSwitch.PlainText:
return new PlainText_TextGen();
case LanguageConceptSwitch.Same:
return new Same_TextGen();
case LanguageConceptSwitch.WorkSpace:
return new WorkSpace_TextGen();
case LanguageConceptSwitch.general1arg:
return new general1arg_TextGen();
case LanguageConceptSwitch.general2args:
return new general2args_TextGen();
}
return null;
}