AttachContext

class AttachContext()

Constructors

Properties


Constructors

AttachContext.constructor(remapper, attachScope, attachedInvisibly, masterModelKey, parent)
Arguments:
  • remapper (ScKeyRemapper()) – None
  • attachScope (AttachScope()) – None
  • attachedInvisibly (boolean()) – None
  • masterModelKey (MasterModelKey()) – None
  • parent (AttachContextParent) – None
Return type:

AttachContext()

Properties

AttachContext.__AttachContext
Type:PhantomMember

Methods

addInclusionContext

AttachContext.addInclusionContext(context)
Arguments:
Return type:

void

attachedInvisibly

AttachContext.attachedInvisibly()
Return type:boolean

forgetReservedNodeIdOffset

AttachContext.forgetReservedNodeIdOffset()
Return type:void

getAssemblyDataVersion

AttachContext.getAssemblyDataVersion()
Return type:VersionNumber

getAttachScope

AttachContext.getAttachScope()
Return type:AttachScope

getChildren

AttachContext.getChildren()
Return type:[ProductOccurrence()]

getGenericTypeMaps

AttachContext.getGenericTypeMaps()
Return type:GenericTypeMaps | null

getInclusionContexts

AttachContext.getInclusionContexts()
Return type:[InclusionContext()]

getMasterModelKey

AttachContext.getMasterModelKey()
Return type:MasterModelKey

getOriginalFileName

AttachContext.getOriginalFileName()
Return type:string

getOriginalFileType

AttachContext.getOriginalFileType()
Return type:FileType

getParent

AttachContext.getParent()
Return type:AttachContextParent

getRemapper

AttachContext.getRemapper()
Return type:ScKeyRemapper()

getReservedNodeIdOffset

AttachContext.getReservedNodeIdOffset()
Return type:NodeIdOffset | null

getRootNodeMetaData

AttachContext.getRootNodeMetaData(assemblyTree)
Arguments:
Return type:

Promise <AssemblyData() | null>

hasChildren

AttachContext.hasChildren()
Return type:boolean

isLoaded

AttachContext.isLoaded()
Return type:boolean

purgeContents

AttachContext.purgeContents()
Return type:Promise <void>

removeProductOccurrence

AttachContext.removeProductOccurrence(node)
Arguments:
Return type:

boolean

setGenericTypeMaps

AttachContext.setGenericTypeMaps(maps)
Arguments:
Return type:

void

setReservedNodeIdOffset

AttachContext.setReservedNodeIdOffset(offset)
Arguments:
Return type:

void

split

AttachContext.split(attachScope, attachedInvisibly, parent)
Arguments:
  • attachScope (AttachScope()) – None
  • attachedInvisibly (boolean()) – None
  • parent (AttachContextParent) – None
Return type:

AttachContext()