newEntryPoint
export function newEntryPoint(
mainSrc: string | Source,
moduleSrcs: string | Source[],
validatorTypes: ScriptTypes,
errorCollector: ErrorCollector
): EntryPoint
Creates a new entry point This function can't be placed inside EntryPoint.js because that would create a circular import dependency
Arguments
1. mainSrc
mainSrc: string | Source
2. moduleSrcs
moduleSrcs: string | Source[]
optional sources of modules, which can be used for imports
3. validatorTypes
validatorTypes: ScriptTypes
4. errorCollector
errorCollector: ErrorCollector
Returns
EntryPoint