org.eclipse.etrice.core.parseTreeConstruction
Class RoomParsetreeConstructor.Import_Group
java.lang.Object
GroupToken
org.eclipse.etrice.core.parseTreeConstruction.RoomParsetreeConstructor.Import_Group
- Enclosing class:
- RoomParsetreeConstructor
protected class RoomParsetreeConstructor.Import_Group
- extends GroupToken
begin Rule Import ****************
// HOWTO: use a combination of URI global scopes and namespace aware local scope provider
// this is configured in the work flow by
// fragment = scoping.ImportURIScopingFragment {}
// and by overriding configureIScopeProviderDelegate in the runtime module with
// ImportedNamespaceAwareLocalScopeProvider
// also configure in the RuntimeModule
// public Class extends ImportUriResolver> bindImportUriResolver() {
// return PlatformRelativeUriResolver.class;
// }
// and in the UiRuntimeModule
// public Class extends org.eclipse.xtext.ui.editor.IURIEditorOpener> bindIURIEditorOpener() {
// return GlobalNonPlatformURIEditorOpener.class;
// }
// public Class extends IHyperlinkHelper> bindIHyperlinkHelper() {
// return ImportAwareHyperlinkHelper.class;
// }
// the attribute 'importedNamespace' is picked up by the ImportedNamespaceAwareLocalScopeProvider
// the attribute 'importURI' is picked up by the ImportUriGlobalScopeProvider
Import:
"import" (importedNamespace=ImportedFQN "from" | "model") importURI=STRING;
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RoomParsetreeConstructor.Import_Group
public RoomParsetreeConstructor.Import_Group(AbstractToken lastRuleCallOrigin,
AbstractToken next,
int transitionIndex,
IEObjectConsumer eObjectConsumer)
getGrammarElement
public Group getGrammarElement()
createFollower
public AbstractToken createFollower(int index,
IEObjectConsumer inst)
tryConsume
public IEObjectConsumer tryConsume()