org.eclipse.xtext.common.services.TerminalsGrammarAccess Java Examples
The following examples show how to use
org.eclipse.xtext.common.services.TerminalsGrammarAccess.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: EcoreReferenceTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
@Inject public EcoreReferenceTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pExtendsNsURIEObject = new ExtendsNsURIEObjectElements(); this.pMyEAttribute = new MyEAttributeElements(); this.pEAttribute = new EAttributeElements(); this.pExtendsPluginEObject = new ExtendsPluginEObjectElements(); this.pUnused_01 = new Unused_01Elements(); this.pUnused_02 = new Unused_02Elements(); this.pUnused_03 = new Unused_03Elements(); this.pExtendsResourceEObject = new ExtendsResourceEObjectElements(); this.pEObject = new EObjectElements(); this.pValidID = new ValidIDElements(); }
Example #2
Source File: ExportGrammarAccess.java From dsl-devkit with Eclipse Public License 1.0 | 6 votes |
@Inject public ExportGrammarAccess(GrammarProvider grammarProvider, ExpressionGrammarAccess gaExpression, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaExpression = gaExpression; this.gaTerminals = gaTerminals; this.pExportModel = new ExportModelElements(); this.pImport = new ImportElements(); this.pExtension = new ExtensionElements(); this.pDeclarationForType = new DeclarationForTypeElements(); this.pInterface = new InterfaceElements(); this.pInterfaceItem = new InterfaceItemElements(); this.pInterfaceField = new InterfaceFieldElements(); this.pInterfaceNavigation = new InterfaceNavigationElements(); this.pInterfaceExpression = new InterfaceExpressionElements(); this.pExport = new ExportElements(); this.pUserData = new UserDataElements(); this.pAttribute = new AttributeElements(); this.pQualifiedID = new QualifiedIDElements(); }
Example #3
Source File: ConcreteTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
@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"); }
Example #4
Source File: FragmentTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
@Inject public FragmentTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pParserRuleFragments = new ParserRuleFragmentsElements(); this.pPRFNamed = new PRFNamedElements(); this.pPRFNamedRecursive = new PRFNamedRecursiveElements(); this.pPRFNamedRecursiveFragment = new PRFNamedRecursiveFragmentElements(); this.pPRFNamedRefFirst = new PRFNamedRefFirstElements(); this.pPRFNamedWithAction = new PRFNamedWithActionElements(); this.pPRFNamedWithFQN = new PRFNamedWithFQNElements(); this.pPRFWithPredicate = new PRFWithPredicateElements(); this.pFQN = new FQNElements(); this.pFQN2 = new FQN2Elements(); this.pSuffix = new SuffixElements(); this.pSuffix2 = new Suffix2Elements(); this.pPRFNamedFragment = new PRFNamedFragmentElements(); this.pPRFNamedRef = new PRFNamedRefElements(); this.pRecursiveFromFragment = new RecursiveFromFragmentElements(); this.pNamedInParentheses = new NamedInParenthesesElements(); this.pRecursiveFragment = new RecursiveFragmentElements(); this.pNamedByAction = new NamedByActionElements(); }
Example #5
Source File: ComplexReconstrTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
@Inject public ComplexReconstrTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pRoot = new RootElements(); this.pOp = new OpElements(); this.pTerm = new TermElements(); this.pAtom = new AtomElements(); this.pParens = new ParensElements(); this.pTrickyB = new TrickyBElements(); this.pTrickyC = new TrickyCElements(); this.pTrickyD = new TrickyDElements(); this.pTrickyE = new TrickyEElements(); this.pTrickyF = new TrickyFElements(); this.pTrickyG = new TrickyGElements(); this.pTrickyG1 = new TrickyG1Elements(); this.pTrickyG2 = new TrickyG2Elements(); }
Example #6
Source File: AssignmentFinderTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 6 votes |
@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(); }
Example #7
Source File: UnorderedGroupsTestLanguageGrammarAccess.java From xtext-eclipse with Eclipse Public License 2.0 | 6 votes |
@Inject public UnorderedGroupsTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pSimpleModel = new SimpleModelElements(); this.pMandatoryModel = new MandatoryModelElements(); this.pLoopedModel = new LoopedModelElements(); this.pGroupLoopedModel = new GroupLoopedModelElements(); this.pLoopedAlternativeModel = new LoopedAlternativeModelElements(); this.pBug304681Model = new Bug304681ModelElements(); this.pBug304681Feature = new Bug304681FeatureElements(); this.pBug304681Attribute = new Bug304681AttributeElements(); this.pBug304681Reference = new Bug304681ReferenceElements(); }
Example #8
Source File: EcoreFragmentTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public EcoreFragmentTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pSecond = new SecondElements(); }
Example #9
Source File: MyDslGrammarAccess.java From M2Doc with Eclipse Public License 1.0 | 5 votes |
@Inject public MyDslGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pGreeting = new GreetingElements(); }
Example #10
Source File: Bug348199TestLanguageGrammarAccess.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject public Bug348199TestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pTimeperiod = new TimeperiodElements(); this.pTimeDef1 = new TimeDef1Elements(); this.pTimeDef2 = new TimeDef2Elements(); this.pTimeDef3 = new TimeDef3Elements(); this.tNL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.ui.tests.editor.contentassist.Bug348199TestLanguage.NL"); this.tWS = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.ui.tests.editor.contentassist.Bug348199TestLanguage.WS"); }
Example #11
Source File: EObjectAtOffsetTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public EObjectAtOffsetTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pAbstractBar = new AbstractBarElements(); this.pBar = new BarElements(); this.pFoo = new FooElements(); this.pQualifiedNameWithOtherDelim = new QualifiedNameWithOtherDelimElements(); this.pQualifiedName = new QualifiedNameElements(); }
Example #12
Source File: ContentAssistCustomizingTestLanguageGrammarAccess.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject public ContentAssistCustomizingTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pType = new TypeElements(); this.pTypeRef = new TypeRefElements(); this.pFQN = new FQNElements(); }
Example #13
Source File: Bug250313GrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public Bug250313GrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pDatatype = new DatatypeElements(); this.pNestedDatatype = new NestedDatatypeElements(); this.pChild = new ChildElements(); this.pChild1 = new Child1Elements(); this.pChild2 = new Child2Elements(); }
Example #14
Source File: LangATestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public LangATestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pMain = new MainElements(); this.pImport = new ImportElements(); this.pType = new TypeElements(); }
Example #15
Source File: GrammarAccessTestLanguageGrammarAccess.java From xtext-extras with Eclipse Public License 2.0 | 5 votes |
@Inject public GrammarAccessTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pRoot = new RootElements(); this.pType = new TypeElements(); this.pAType = new ATypeElements(); this.pAnotherType = new AnotherTypeElements(); }
Example #16
Source File: StatemachineGrammarAccess.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject public StatemachineGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pStatemachine = new StatemachineElements(); this.pEvent = new EventElements(); this.pCommand = new CommandElements(); this.pState = new StateElements(); this.pTransition = new TransitionElements(); }
Example #17
Source File: RefactoringTestLanguage1GrammarAccess.java From xtext-extras with Eclipse Public License 2.0 | 5 votes |
@Inject public RefactoringTestLanguage1GrammarAccess(GrammarProvider grammarProvider, RefactoringTestLanguageGrammarAccess gaRefactoringTestLanguage, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaRefactoringTestLanguage = gaRefactoringTestLanguage; this.gaTerminals = gaTerminals; this.pEntry = new EntryElements(); }
Example #18
Source File: Bug288432TestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public Bug288432TestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pBody = new BodyElements(); this.pFoo = new FooElements(); this.pContent = new ContentElements(); this.pMyElement = new MyElementElements(); this.pParameterObject = new ParameterObjectElements(); this.pParameter = new ParameterElements(); this.pParameterRef = new ParameterRefElements(); this.pMyInt = new MyIntElements(); }
Example #19
Source File: PartialSerializationTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public PartialSerializationTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pMandatoryValue = new MandatoryValueElements(); this.pOptionalValue = new OptionalValueElements(); this.pManyOptionalValues = new ManyOptionalValuesElements(); this.pManyMandatoryValues = new ManyMandatoryValuesElements(); this.pMandatoryChild = new MandatoryChildElements(); this.pOptionalChild = new OptionalChildElements(); this.pTwoChildLists = new TwoChildListsElements(); this.pTwoChilds = new TwoChildsElements(); this.pChildWithSubChilds = new ChildWithSubChildsElements(); this.pChildWithSubChild = new ChildWithSubChildElements(); this.pSubChild = new SubChildElements(); this.pMandatoryChildList = new MandatoryChildListElements(); this.pOptionalChildList = new OptionalChildListElements(); this.pImport = new ImportElements(); this.pNode = new NodeElements(); this.pQualifiedName = new QualifiedNameElements(); this.pEClassDecl = new EClassDeclElements(); this.pEClassRef = new EClassRefElements(); this.pWithTransientContainer = new WithTransientContainerElements(); this.pWithTransient = new WithTransientElements(); }
Example #20
Source File: AbstractTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public AbstractTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pInheritedParserRule = new InheritedParserRuleElements(); this.pAbstractCallOverridenParserRule = new AbstractCallOverridenParserRuleElements(); this.pOverridableParserRule = new OverridableParserRuleElements(); this.pOverridableParserRule2 = new OverridableParserRule2Elements(); this.pAbstractCallExtendedParserRule = new AbstractCallExtendedParserRuleElements(); this.pExtendableParserRule = new ExtendableParserRuleElements(); this.tREAL = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.grammarinheritance.AbstractTestLanguage.REAL"); this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.grammarinheritance.AbstractTestLanguage.ID"); }
Example #21
Source File: TransientValuesTestGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public TransientValuesTestGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pRoot = new RootElements(); this.pTestRequired = new TestRequiredElements(); this.pTestOptional = new TestOptionalElements(); this.pTestList = new TestListElements(); }
Example #22
Source File: DummyTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public DummyTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pElement = new ElementElements(); }
Example #23
Source File: EnumRulesUiTestLanguageGrammarAccess.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject public EnumRulesUiTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.eExistingEnum = new ExistingEnumElements(); this.eGeneratedEnum = new GeneratedEnumElements(); }
Example #24
Source File: AbstractIgnoreCaseLinkingTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public AbstractIgnoreCaseLinkingTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pElement = new ElementElements(); }
Example #25
Source File: ImportUriUiTestLanguageGrammarAccess.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject public ImportUriUiTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pMain = new MainElements(); this.pImport = new ImportElements(); this.pType = new TypeElements(); }
Example #26
Source File: OutlineTestLanguageGrammarAccess.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject public OutlineTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pElement = new ElementElements(); }
Example #27
Source File: InheritanceTestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public InheritanceTestLanguageGrammarAccess(GrammarProvider grammarProvider, BaseInheritanceTestLanguageGrammarAccess gaBaseInheritanceTestLanguage, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaBaseInheritanceTestLanguage = gaBaseInheritanceTestLanguage; this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pElement = new ElementElements(); this.tID = (TerminalRule) GrammarUtil.findRuleForName(getGrammar(), "org.eclipse.xtext.grammarinheritance.InheritanceTestLanguage.ID"); }
Example #28
Source File: ContentAssistTestLanguageGrammarAccess.java From xtext-eclipse with Eclipse Public License 2.0 | 5 votes |
@Inject public ContentAssistTestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pModel = new ModelElements(); this.pReferenceHolder = new ReferenceHolderElements(); this.pGenerateDirective = new GenerateDirectiveElements(); this.pImport = new ImportElements(); this.pImportedFQN = new ImportedFQNElements(); this.pFQN = new FQNElements(); this.pQN = new QNElements(); }
Example #29
Source File: Bug385636GrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public Bug385636GrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pProgram = new ProgramElements(); this.pDefineVariables = new DefineVariablesElements(); this.pDefineVariable = new DefineVariableElements(); this.pNVariableAccess = new NVariableAccessElements(); this.pStatement = new StatementElements(); this.pExpression_VariableName = new Expression_VariableNameElements(); }
Example #30
Source File: Bug313089TestLanguageGrammarAccess.java From xtext-core with Eclipse Public License 2.0 | 5 votes |
@Inject public Bug313089TestLanguageGrammarAccess(GrammarProvider grammarProvider, TerminalsGrammarAccess gaTerminals) { this.grammar = internalFindGrammar(grammarProvider); this.gaTerminals = gaTerminals; this.pFoo = new FooElements(); this.pBar = new BarElements(); this.pBaz = new BazElements(); }