Class TypeDescriptionBuilderVariable

  • All Implemented Interfaces:
    IVariable

    public class TypeDescriptionBuilderVariable
    extends AbstractVariable
    Template variable for creating code on Built-in language for creating TypeDescription with concrete types
    • Constructor Detail

      • TypeDescriptionBuilderVariable

        public TypeDescriptionBuilderVariable​(org.eclipse.jface.text.IRegion region,
                                              IV8Project v8Project,
                                              org.eclipse.xtext.scoping.IGlobalScopeProvider globalScopeProvider,
                                              org.eclipse.emf.ecore.resource.Resource contextResource)
        Creates new instance of this with given region
        Parameters:
        region - The region of the variable in the template, cannot be null
        globalScopeProvider - actual IGlobalScopeProvider for getting types for TypeDescription, cannot be null
        contextResource - Resource as context for using in IGlobalScopeProvider.getScope(Resource, org.eclipse.emf.ecore.EReference, com.google.common.base.Predicate), cannot be null