Skip to content

CodeFile

Defined in: core/type/code-file.ts:24

new CodeFile(text, fileName, session): CodeFile

Defined in: core/type/code-file.ts:33

string

string

YaksokSession

CodeFile

readonly ast: Block

Defined in: core/type/code-file.ts:25


fileName: string

Defined in: core/type/code-file.ts:35


readonly prepareErrors: YaksokError<unknown>[]

Defined in: core/type/code-file.ts:28


session: YaksokSession

Defined in: core/type/code-file.ts:36


readonly text: string

Defined in: core/type/code-file.ts:27


readonly tokens: Token[]

Defined in: core/type/code-file.ts:26

get mentionRules(): Rule<Node<SubnodeScheme>[]>[] | null

Defined in: core/type/code-file.ts:65

Rule<Node<SubnodeScheme>[]>[] | null


get ranScope(): Scope | null

Defined in: core/type/code-file.ts:61

Scope | null

run(runtimeContext?): Promise<Scope>

Defined in: core/type/code-file.ts:69

Partial<RuntimeContext>

Promise<Scope>