org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser Java Examples
The following examples show how to use
org.eclipse.xtext.ui.editor.contentassist.antlr.internal.AbstractInternalContentAssistParser.
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: ExpressionParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { com.avaloq.tools.ddk.xtext.expression.ui.contentassist.antlr.internal.InternalExpressionParser typedParser = (com.avaloq.tools.ddk.xtext.expression.ui.contentassist.antlr.internal.InternalExpressionParser) parser; typedParser.entryRuleExpression(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #2
Source File: ConditionModelParser.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { org.bonitasoft.studio.condition.ui.contentassist.antlr.internal.InternalConditionModelParser typedParser = (org.bonitasoft.studio.condition.ui.contentassist.antlr.internal.InternalConditionModelParser) parser; typedParser.entryRuleOperation_Compare(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #3
Source File: PartialConditionModelContentAssistParser.java From bonita-studio with GNU General Public License v2.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { if (rule == null || rule.eIsProxy()) return Collections.emptyList(); String methodName = "entryRule" + rule.getName(); PolymorphicDispatcher<Collection<FollowElement>> dispatcher = new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); dispatcher.invoke(); return parser.getFollowElements(); }
Example #4
Source File: PartialYangContentAssistParser.java From yang-design-studio with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { if (rule == null || rule.eIsProxy()) return Collections.emptyList(); String methodName = "entryRule" + rule.getName(); PolymorphicDispatcher<Collection<FollowElement>> dispatcher = new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); dispatcher.invoke(); return parser.getFollowElements(); }
Example #5
Source File: YangParser.java From yang-design-studio with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { yang.manager.ui.contentassist.antlr.internal.InternalYangParser typedParser = (yang.manager.ui.contentassist.antlr.internal.InternalYangParser) parser; typedParser.entryRuleYangFile(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #6
Source File: TaxonomyParser.java From slr-toolkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { de.tudresden.slr.model.taxonomy.ui.contentassist.antlr.internal.InternalTaxonomyParser typedParser = (de.tudresden.slr.model.taxonomy.ui.contentassist.antlr.internal.InternalTaxonomyParser) parser; typedParser.entryRuleModel(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #7
Source File: PartialCheckCfgContentAssistParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { if (rule == null || rule.eIsProxy()) return Collections.emptyList(); String methodName = "entryRule" + rule.getName(); PolymorphicDispatcher<Collection<FollowElement>> dispatcher = new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); dispatcher.invoke(); return parser.getFollowElements(); }
Example #8
Source File: CheckCfgParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { com.avaloq.tools.ddk.checkcfg.ui.contentassist.antlr.internal.InternalCheckCfgParser typedParser = (com.avaloq.tools.ddk.checkcfg.ui.contentassist.antlr.internal.InternalCheckCfgParser) parser; typedParser.entryRuleCheckConfiguration(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #9
Source File: CheckParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { com.avaloq.tools.ddk.check.ui.contentassist.antlr.internal.InternalCheckParser typedParser = (com.avaloq.tools.ddk.check.ui.contentassist.antlr.internal.InternalCheckParser) parser; typedParser.entryRuleCheckCatalog(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #10
Source File: PartialCheckContentAssistParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { if (rule == null || rule.eIsProxy()) return Collections.emptyList(); String methodName = "entryRule" + rule.getName(); PolymorphicDispatcher<Collection<FollowElement>> dispatcher = new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); dispatcher.invoke(); return parser.getFollowElements(); }
Example #11
Source File: ScopeParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { com.avaloq.tools.ddk.xtext.scope.ui.contentassist.antlr.internal.InternalScopeParser typedParser = (com.avaloq.tools.ddk.xtext.scope.ui.contentassist.antlr.internal.InternalScopeParser) parser; typedParser.entryRuleScopeModel(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #12
Source File: ExportParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { com.avaloq.tools.ddk.xtext.export.ui.contentassist.antlr.internal.InternalExportParser typedParser = (com.avaloq.tools.ddk.xtext.export.ui.contentassist.antlr.internal.InternalExportParser) parser; typedParser.entryRuleExportModel(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #13
Source File: TestLanguageParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { com.avaloq.tools.ddk.check.ui.contentassist.antlr.internal.InternalTestLanguageParser typedParser = (com.avaloq.tools.ddk.check.ui.contentassist.antlr.internal.InternalTestLanguageParser) parser; typedParser.entryRuleModel(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #14
Source File: PartialTestLanguageContentAssistParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { if (rule == null || rule.eIsProxy()) return Collections.emptyList(); String methodName = "entryRule" + rule.getName(); PolymorphicDispatcher<Collection<FollowElement>> dispatcher = new PolymorphicDispatcher<Collection<FollowElement>>(methodName, 0, 0, Collections.singletonList(parser)); dispatcher.invoke(); return parser.getFollowElements(); }
Example #15
Source File: FormatParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { com.avaloq.tools.ddk.xtext.format.ui.contentassist.antlr.internal.InternalFormatParser typedParser = (com.avaloq.tools.ddk.xtext.format.ui.contentassist.antlr.internal.InternalFormatParser) parser; typedParser.entryRuleFormatConfiguration(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #16
Source File: ValidParser.java From dsl-devkit with Eclipse Public License 1.0 | 5 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { try { com.avaloq.tools.ddk.xtext.valid.ui.contentassist.antlr.internal.InternalValidParser typedParser = (com.avaloq.tools.ddk.xtext.valid.ui.contentassist.antlr.internal.InternalValidParser) parser; typedParser.entryRuleValidModel(); return typedParser.getFollowElements(); } catch(RecognitionException ex) { throw new RuntimeException(ex); } }
Example #17
Source File: AbstractContentAssistParser.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override protected abstract AbstractInternalContentAssistParser createParser();
Example #18
Source File: AbstractContentAssistParser.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
/** * @since 2.14 */ @Override protected MyEofListener createEofListener(final AbstractInternalContentAssistParser parser, final AbstractElement elementToParse) { return new MyEofListener(parser, elementToParse); }
Example #19
Source File: AbstractContentAssistParser.java From xtext-eclipse with Eclipse Public License 2.0 | 4 votes |
@Override protected Collection<FollowElement> getFollowElements(AbstractInternalContentAssistParser parser) { return super.getFollowElements(parser); }