Skip to content

달빛약속 / core/mod / PythonMethodCall

Class: PythonMethodCall

Extends

Indexable

[key: string]: unknown

Constructors

new PythonMethodCall()

new PythonMethodCall(target, methodName, args, tokens): PythonMethodCall

Parameters

target

Evaluable<ValueType>

methodName

string

args

Evaluable<ValueType>[]

tokens

Token[]

Returns

PythonMethodCall

Overrides

Evaluable.constructor

Defined in

core/node/python.ts:69

Properties

args

args: Evaluable<ValueType>[]

Defined in

core/node/python.ts:72


methodName

methodName: string

Defined in

core/node/python.ts:71


target

target: Evaluable<ValueType>

Defined in

core/node/python.ts:70


tokens

tokens: Token[]

Inherited from

Evaluable.tokens

Defined in

core/node/python.ts:73


friendlyName

static friendlyName: string = '파이썬 메소드 호출'

Overrides

Evaluable.friendlyName

Defined in

core/node/python.ts:67

Methods

execute()

execute(scope): Promise<ValueType>

Parameters

scope

Scope

Returns

Promise<ValueType>

Overrides

Evaluable.execute

Defined in

core/node/python.ts:78


onRunChild()

protected onRunChild(__namedParameters): Promise<void>

Parameters

__namedParameters
childTokens

Token[]

scope

Scope

skipReport

boolean = false

Returns

Promise<void>

Inherited from

Evaluable.onRunChild

Defined in

core/node/base.ts:44


toJSON()

toJSON(): object

Returns

object

Inherited from

Evaluable.toJSON

Defined in

core/node/base.ts:21


toPrint()

toPrint(): string

Returns

string

Inherited from

Evaluable.toPrint

Defined in

core/node/base.ts:40


validate()

validate(scope): YaksokError<unknown>[]

Parameters

scope

Scope

Returns

YaksokError<unknown>[]

Overrides

Evaluable.validate

Defined in

core/node/python.ts:99