Class V8SourceConstruct

  • All Implemented Interfaces:
    IV8Element, org.eclipse.core.runtime.IAdaptable, org.eclipse.handly.model.IElement, org.eclipse.handly.model.IElementExtension, org.eclipse.handly.model.impl.IElementImpl, org.eclipse.handly.model.impl.IElementImplExtension, org.eclipse.handly.model.impl.ISourceConstructImpl, org.eclipse.handly.model.impl.ISourceConstructImplExtension, org.eclipse.handly.model.impl.ISourceElementImpl, org.eclipse.handly.model.impl.support.IElementImplSupport, org.eclipse.handly.model.impl.support.IModelManager.Provider, org.eclipse.handly.model.impl.support.ISourceConstructImplSupport, org.eclipse.handly.model.impl.support.ISourceElementImplSupport, org.eclipse.handly.model.ISourceConstruct, org.eclipse.handly.model.ISourceElement

    public class V8SourceConstruct
    extends org.eclipse.handly.model.impl.support.SourceConstruct
    implements IV8Element
    Represents a V8 source construct. This class is intended to be extended by clients.
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

        org.eclipse.handly.model.impl.IElementImplExtension.CloseHint
    • Field Summary

      • Fields inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

        CLOSE_HINT, FORCE_OPEN
      • Fields inherited from interface org.eclipse.handly.model.impl.support.IElementImplSupport

        NEW_ELEMENTS, NO_BODY
    • Constructor Summary

      Constructors 
      Constructor Description
      V8SourceConstruct​(org.eclipse.handly.model.impl.support.Element parent, String name)
      Creates a handle for a V8 source construct with the given parent element and the given name.
    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default org.eclipse.handly.model.impl.support.IModelManager getModelManager_()  
      • Methods inherited from class org.eclipse.handly.model.impl.support.SourceConstruct

        getOccurrenceCount_, setOccurrenceCount_
      • Methods inherited from class org.eclipse.handly.model.impl.support.Element

        equals, getName_, getParent_, hashCode, toString
      • Methods inherited from class org.eclipse.core.runtime.PlatformObject

        getAdapter
      • Methods inherited from interface org.eclipse.handly.model.IElement

        equals, hashCode
      • Methods inherited from interface org.eclipse.handly.model.IElementExtension

        exists, getAncestor, getChildren, getChildren, getLocationUri, getName, getResource
      • Methods inherited from interface org.eclipse.handly.model.impl.IElementImpl

        equalsAndSameParentChain_, fetchChildren_, fetchChildrenOfType_, getChildrenOfType_, getHandleMemento_, getLocationUri_, getName_, getRoot_, toDisplayString_
      • Methods inherited from interface org.eclipse.handly.model.impl.IElementImplExtension

        close_, getBody_, getBody_, getChildren_
      • Methods inherited from interface org.eclipse.handly.model.impl.support.IElementImplSupport

        canEqual_, close_, findBody_, getChildrenFromBody_, getElementManager_, getModel_, newDoesNotExistException_, open_, openParent_, peekAtBody_, remove_, removing_, toString_, toStringAncestors_, toStringBody_, toStringChildren_
      • Methods inherited from interface org.eclipse.handly.model.impl.ISourceConstructImpl

        getParent_, getResource_
      • Methods inherited from interface org.eclipse.handly.model.impl.support.ISourceConstructImplSupport

        buildStructure_, defaultEquals_, defaultHashCode_, exists_, isOpenable_, toStringName_, validateExistence_
      • Methods inherited from interface org.eclipse.handly.model.impl.support.ISourceElementImplSupport

        getSourceElementAt_, getSourceElementAt_, getSourceElementInfo_
    • Constructor Detail

      • V8SourceConstruct

        public V8SourceConstruct​(org.eclipse.handly.model.impl.support.Element parent,
                                 String name)
        Creates a handle for a V8 source construct with the given parent element and the given name.
        Parameters:
        parent - the parent of the element (not null)
        name - the name of the element, or null if the element has no name
    • Method Detail

      • getModelManager_

        public default org.eclipse.handly.model.impl.support.IModelManager getModelManager_()
        Specified by:
        getModelManager_ in interface org.eclipse.handly.model.impl.support.IModelManager.Provider