Skip to content

달빛약속 / core/mod / PythonImport

Class: PythonImport

Extends

Indexable

[key: string]: unknown

Constructors

new PythonImport()

new PythonImport(module, names, tokens): PythonImport

Parameters

module

string

names

string[]

tokens

Token[]

Returns

PythonImport

Overrides

Executable.constructor

Defined in

core/node/python.ts:11

Properties

module

module: string

Defined in

core/node/python.ts:12


names

names: string[]

Defined in

core/node/python.ts:13


tokens

tokens: Token[]

Inherited from

Executable.tokens

Defined in

core/node/python.ts:14


friendlyName

static friendlyName: string = '파이썬 불러오기'

Overrides

Executable.friendlyName

Defined in

core/node/python.ts:9

Methods

execute()

execute(scope): Promise<void>

Parameters

scope

Scope

Returns

Promise<void>

Overrides

Executable.execute

Defined in

core/node/python.ts:19


onRunChild()

protected onRunChild(__namedParameters): Promise<void>

Parameters

__namedParameters
childTokens

Token[]

scope

Scope

skipReport

boolean = false

Returns

Promise<void>

Inherited from

Executable.onRunChild

Defined in

core/node/base.ts:44


toJSON()

toJSON(): object

Returns

object

Inherited from

Executable.toJSON

Defined in

core/node/base.ts:21


toPrint()

toPrint(): string

Returns

string

Inherited from

Executable.toPrint

Defined in

core/node/base.ts:40


validate()

validate(_scope): YaksokError<unknown>[]

Parameters

_scope

Scope

Returns

YaksokError<unknown>[]

Overrides

Executable.validate

Defined in

core/node/python.ts:27