当前位置: 首页>>代码示例>>Java>>正文


Java TerminalsGrammarAccess类代码示例

本文整理汇总了Java中org.eclipse.xtext.common.services.TerminalsGrammarAccess的典型用法代码示例。如果您正苦于以下问题:Java TerminalsGrammarAccess类的具体用法?Java TerminalsGrammarAccess怎么用?Java TerminalsGrammarAccess使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。


TerminalsGrammarAccess类属于org.eclipse.xtext.common.services包,在下文中一共展示了TerminalsGrammarAccess类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: MyDslGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public MyDslGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pMensamodel = new MensamodelElements();
	this.pHeader = new HeaderElements();
	this.pSidebar = new SidebarElements();
	this.pFooter = new FooterElements();
	this.pDescription = new DescriptionElements();
	this.pNAV = new NAVElements();
	this.pRadio = new RadioElements();
	this.pCheckbox = new CheckboxElements();
	this.pButton = new ButtonElements();
	this.pSelector = new SelectorElements();
	this.pLink = new LinkElements();
	this.pMenu = new MenuElements();
}
 
开发者ID:fatalerrortan,项目名称:Xtext_Xtend_HTML_Generator,代码行数:19,代码来源:MyDslGrammarAccess.java

示例2: BromiumGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public BromiumGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pModel = new ModelElements();
	this.pApplicationAction = new ApplicationActionElements();
	this.pSyntaxDefinition = new SyntaxDefinitionElements();
	this.pWebDriverActionCondition = new WebDriverActionConditionElements();
	this.pWebDriverAction = new WebDriverActionElements();
	this.pPrecondition = new PreconditionElements();
	this.pPostcondition = new PostconditionElements();
	this.pExpectHttpRequest = new ExpectHttpRequestElements();
	this.pElementByCssToBePresent = new ElementByCssToBePresentElements();
	this.pClickCssSelector = new ClickCssSelectorElements();
	this.pPageLoad = new PageLoadElements();
	this.pTypeTextInElementFoundByCssSelector = new TypeTextInElementFoundByCssSelectorElements();
	this.pTextOfElementWithCssSelectorToBe = new TextOfElementWithCssSelectorToBeElements();
	this.pClickClassByText = new ClickClassByTextElements();
	this.pParameterValue = new ParameterValueElements();
	this.pExposedParameter = new ExposedParameterElements();
	this.pVersion = new VersionElements();
	this.pThreeDottedVersion = new ThreeDottedVersionElements();
}
 
开发者ID:hristo-vrigazov,项目名称:bromium,代码行数:25,代码来源:BromiumGrammarAccess.java

示例3: RestauranteGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public RestauranteGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pRestaurante = new RestauranteElements();
	this.pIngrediente = new IngredienteElements();
	this.pProducto = new ProductoElements();
	this.pPrincipal = new PrincipalElements();
	this.pComplemento = new ComplementoElements();
	this.pBebida = new BebidaElements();
	this.pBebidaFria = new BebidaFriaElements();
	this.pBebidaCaliente = new BebidaCalienteElements();
	this.pPostre = new PostreElements();
	this.pNutricional = new NutricionalElements();
	this.pMenu = new MenuElements();
	this.pProductoY = new ProductoYElements();
	this.pProductoO = new ProductoOElements();
	this.pFloat = new FloatElements();
	this.eSalsaRecomendada = new SalsaRecomendadaElements();
	this.eTamanioMenu = new TamanioMenuElements();
	this.eDistribuidor = new DistribuidorElements();
	this.tFECHA = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.xtext.dsl.restaurante.Restaurante.FECHA");
	this.tURL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.xtext.dsl.restaurante.Restaurante.URL");
}
 
开发者ID:vicegd,项目名称:org.xtext.dsl.restaurante,代码行数:26,代码来源:RestauranteGrammarAccess.java

示例4: ValidGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public ValidGrammarAccess(GrammarProvider grammarProvider,
	TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pValidModel = new ValidModelElements();
	this.pImport = new ImportElements();
	this.pCategory = new CategoryElements();
	this.pRule = new RuleElements();
	this.pPredefinedRule = new PredefinedRuleElements();
	this.pNativeRule = new NativeRuleElements();
	this.pSizeRule = new SizeRuleElements();
	this.pRangeRule = new RangeRuleElements();
	this.pUniqueRule = new UniqueRuleElements();
	this.pContext = new ContextElements();
	this.pSimpleContext = new SimpleContextElements();
	this.pDuplicateContext = new DuplicateContextElements();
	this.pNativeContext = new NativeContextElements();
	this.pQuickFix = new QuickFixElements();
	this.unknownRuleCheckKind = new CheckKindElements();
	this.unknownRuleSeverityKind = new SeverityKindElements();
	this.unknownRuleQuickFixKind = new QuickFixKindElements();
	this.pQualifiedID = new QualifiedIDElements();
}
 
开发者ID:dsldevkit,项目名称:dsl-devkit,代码行数:25,代码来源:ValidGrammarAccess.java

示例5: IndexTestLanguageGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public IndexTestLanguageGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pFile = new FileElements();
	this.pImport = new ImportElements();
	this.pQualifiedNameWithWildCard = new QualifiedNameWithWildCardElements();
	this.pQualifiedName = new QualifiedNameElements();
	this.pNamespace = new NamespaceElements();
	this.pElement = new ElementElements();
	this.pType = new TypeElements();
	this.pEntity = new EntityElements();
	this.pDatatype = new DatatypeElements();
	this.pProperty = new PropertyElements();
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:17,代码来源:IndexTestLanguageGrammarAccess.java

示例6: MinitlGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public MinitlGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pTransformation = new TransformationElements();
	this.pInputMetamodel = new InputMetamodelElements();
	this.pMetamodel = new MetamodelElements();
	this.pRule = new RuleElements();
	this.pObjectTemplate = new ObjectTemplateElements();
	this.pBinding = new BindingElements();
	this.pValue = new ValueElements();
	this.pMaybeBinary = new MaybeBinaryElements();
	this.pMaybeFieldAccessValue = new MaybeFieldAccessValueElements();
	this.pPrimary = new PrimaryElements();
	this.pStringValue = new StringValueElements();
	this.pObjectTemplateValue = new ObjectTemplateValueElements();
	this.eOperator = new OperatorElements();
	this.pFQN = new FQNElements();
}
 
开发者ID:tetrabox,项目名称:minitl,代码行数:21,代码来源:MinitlGrammarAccess.java

示例7: TestLanguageGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public TestLanguageGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pModel = new ModelElements();
	this.pTypeDeclaration = new TypeDeclarationElements();
	this.pMember = new MemberElements();
	this.pProperty = new PropertyElements();
	this.pType = new TypeElements();
	this.pOperation = new OperationElements();
	this.pOperationCall = new OperationCallElements();
	this.pParameter = new ParameterElements();
	this.pTypeReference = new TypeReferenceElements();
	this.pPrimitiveType = new PrimitiveTypeElements();
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:17,代码来源:TestLanguageGrammarAccess.java

示例8: RegionAccessTestLanguageGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public RegionAccessTestLanguageGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pRoot = new RootElements();
	this.pSimple = new SimpleElements();
	this.pDelegation = new DelegationElements();
	this.pUnassigned = new UnassignedElements();
	this.pPrefixedUnassigned = new PrefixedUnassignedElements();
	this.pPrefixedDelegate = new PrefixedDelegateElements();
	this.pDelegate = new DelegateElements();
	this.pExpression = new ExpressionElements();
	this.pPrimary = new PrimaryElements();
	this.pParenthesized = new ParenthesizedElements();
	this.pMixed = new MixedElements();
	this.pDatatype = new DatatypeElements();
	this.pFragment = new FragmentElements();
	this.eEnum = new EnumElements();
	this.pValueList = new ValueListElements();
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:22,代码来源:RegionAccessTestLanguageGrammarAccess.java

示例9: ConcreteTestLanguageGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public ConcreteTestLanguageGrammarAccess(GrammarProvider grammarProvider,
		AbstractTestLanguageGrammarAccess gaAbstractTestLanguage,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaAbstractTestLanguage = gaAbstractTestLanguage;
	this.gaTerminals = gaTerminals;
	this.pRootRule = new RootRuleElements();
	this.pConcreteParserRule = new ConcreteParserRuleElements();
	this.pOverridableParserRule = new OverridableParserRuleElements();
	this.pCallOverridenParserRule = new CallOverridenParserRuleElements();
	this.pOverridableParserRule2 = new OverridableParserRule2Elements();
	this.pExtendableParserRule = new ExtendableParserRuleElements();
	this.pSubrule1 = new Subrule1Elements();
	this.pSubrule2 = new Subrule2Elements();
	this.pSubrule3 = new Subrule3Elements();
	this.pCallExtendedParserRule = new CallExtendedParserRuleElements();
	this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.grammarinheritance.ConcreteTestLanguage.ID");
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:20,代码来源:ConcreteTestLanguageGrammarAccess.java

示例10: AssignmentFinderTestLanguageGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public AssignmentFinderTestLanguageGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pModel = new ModelElements();
	this.pKeywordVal = new KeywordValElements();
	this.pTerminalVal = new TerminalValElements();
	this.tTerminal1 = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal1");
	this.tTerminal2 = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.serializer.AssignmentFinderTestLanguage.Terminal2");
	this.pEnumVal = new EnumValElements();
	this.eEnum1 = new Enum1Elements();
	this.eEnum2 = new Enum2Elements();
	this.eEnum3 = new Enum3Elements();
	this.pKeywordBool = new KeywordBoolElements();
	this.pTerminalBool = new TerminalBoolElements();
	this.pEnumBool = new EnumBoolElements();
	this.pMixedBool = new MixedBoolElements();
	this.pBoolean = new BooleanElements();
	this.pMixedValue = new MixedValueElements();
	this.pDatEnum = new DatEnumElements();
	this.pContainmentRef = new ContainmentRefElements();
	this.pContainmentRef1 = new ContainmentRef1Elements();
	this.pContainmentRef2 = new ContainmentRef2Elements();
	this.pCrossRef = new CrossRefElements();
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:27,代码来源:AssignmentFinderTestLanguageGrammarAccess.java

示例11: PkmntcgoGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public PkmntcgoGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pDecks = new DecksElements();
	this.pDeck = new DeckElements();
	this.pPokemon = new PokemonElements();
	this.pTrainer = new TrainerElements();
	this.pEnergy = new EnergyElements();
	this.pCard = new CardElements();
	this.pNAMESTRING = new NAMESTRINGElements();
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:14,代码来源:PkmntcgoGrammarAccess.java

示例12: N4MFGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public N4MFGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pProjectDescription = new ProjectDescriptionElements();
	this.eProjectType = new ProjectTypeElements();
	this.pExecModule = new ExecModuleElements();
	this.pTestedProjects = new TestedProjectsElements();
	this.pInitModules = new InitModulesElements();
	this.pImplementedProjects = new ImplementedProjectsElements();
	this.pProjectDependencies = new ProjectDependenciesElements();
	this.pProvidedRuntimeLibraries = new ProvidedRuntimeLibrariesElements();
	this.pRequiredRuntimeLibraries = new RequiredRuntimeLibrariesElements();
	this.pExtendedRuntimeEnvironment = new ExtendedRuntimeEnvironmentElements();
	this.pDeclaredVersion = new DeclaredVersionElements();
	this.pSourceFragment = new SourceFragmentElements();
	this.eSourceFragmentType = new SourceFragmentTypeElements();
	this.pModuleFilter = new ModuleFilterElements();
	this.pBootstrapModule = new BootstrapModuleElements();
	this.pModuleFilterSpecifier = new ModuleFilterSpecifierElements();
	this.eModuleFilterType = new ModuleFilterTypeElements();
	this.pProvidedRuntimeLibraryDependency = new ProvidedRuntimeLibraryDependencyElements();
	this.pRequiredRuntimeLibraryDependency = new RequiredRuntimeLibraryDependencyElements();
	this.pTestedProject = new TestedProjectElements();
	this.pProjectReference = new ProjectReferenceElements();
	this.pProjectDependency = new ProjectDependencyElements();
	this.pSimpleProjectDescription = new SimpleProjectDescriptionElements();
	this.pVersionConstraint = new VersionConstraintElements();
	this.eProjectDependencyScope = new ProjectDependencyScopeElements();
	this.eModuleLoader = new ModuleLoaderElements();
	this.pN4mfIdentifier = new N4mfIdentifierElements();
	this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.n4js.n4mf.N4MF.ID");
}
 
开发者ID:eclipse,项目名称:n4js,代码行数:35,代码来源:N4MFGrammarAccess.java

示例13: GExpressionsGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public GExpressionsGrammarAccess(GrammarProvider grammarProvider,
	TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pGProgram = new GProgramElements();
	this.pGImportStatement = new GImportStatementElements();
	this.pGExpression = new GExpressionElements();
	this.pGOrExpression = new GOrExpressionElements();
	this.pGXorExpression = new GXorExpressionElements();
	this.pGAndExpression = new GAndExpressionElements();
	this.pGEqualityExpression = new GEqualityExpressionElements();
	this.pGRelationExpression = new GRelationExpressionElements();
	this.pGAdditionExpression = new GAdditionExpressionElements();
	this.pGMultiplicationExpression = new GMultiplicationExpressionElements();
	this.pGNegationExpression = new GNegationExpressionElements();
	this.pGNavigationExpression = new GNavigationExpressionElements();
	this.pGReferenceExpression = new GReferenceExpressionElements();
	this.pGPrimaryExpression = new GPrimaryExpressionElements();
	this.pGStringExpression = new GStringExpressionElements();
	this.pGBooleanExpression = new GBooleanExpressionElements();
	this.pGNumericExpression = new GNumericExpressionElements();
	this.pGIntegerExpression = new GIntegerExpressionElements();
	this.pGDoubleExpression = new GDoubleExpressionElements();
	this.pGEnumLiteralExpression = new GEnumLiteralExpressionElements();
	this.pGIfExpression = new GIfExpressionElements();
	this.pGBraceExpression = new GBraceExpressionElements();
	this.eGAndOperator = new GAndOperatorElements();
	this.eGXorOperator = new GXorOperatorElements();
	this.eGOrOperator = new GOrOperatorElements();
	this.eGEqualityOperator = new GEqualityOperatorElements();
	this.eGRelationOperator = new GRelationOperatorElements();
	this.eGAdditionOperator = new GAdditionOperatorElements();
	this.eGMultiplicationOperator = new GMultiplicationOperatorElements();
	this.eGNegationOperator = new GNegationOperatorElements();
	this.pNavigationOperator = new NavigationOperatorElements();
	this.tBOOLEAN = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.gemoc.gexpressions.xtext.GExpressions.BOOLEAN");
	this.tDOUBLE = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.gemoc.gexpressions.xtext.GExpressions.DOUBLE");
	this.pQualifiedName = new QualifiedNameElements();
}
 
开发者ID:eclipse,项目名称:gemoc-studio,代码行数:41,代码来源:GExpressionsGrammarAccess.java

示例14: Bug311337TestLanguageGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public Bug311337TestLanguageGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pModel = new ModelElements();
	this.pDefinition = new DefinitionElements();
	this.pChild = new ChildElements();
	this.pReference = new ReferenceElements();
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:11,代码来源:Bug311337TestLanguageGrammarAccess.java

示例15: MultiRuleEnumTestLanguageGrammarAccess

import org.eclipse.xtext.common.services.TerminalsGrammarAccess; //导入依赖的package包/类
@Inject
public MultiRuleEnumTestLanguageGrammarAccess(GrammarProvider grammarProvider,
		TerminalsGrammarAccess gaTerminals) {
	this.grammar = internalFindGrammar(grammarProvider);
	this.gaTerminals = gaTerminals;
	this.pModel = new ModelElements();
	this.eEnumRuleA = new EnumRuleAElements();
	this.eEnumRuleB = new EnumRuleBElements();
	this.eEnumRuleC = new EnumRuleCElements();
}
 
开发者ID:eclipse,项目名称:xtext-core,代码行数:11,代码来源:MultiRuleEnumTestLanguageGrammarAccess.java


注:本文中的org.eclipse.xtext.common.services.TerminalsGrammarAccess类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。