當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。