CodeFile
Defined in: core/type/code-file.ts:24
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new CodeFile(
text,fileName,session):CodeFile
Defined in: core/type/code-file.ts:33
Parameters
Section titled “Parameters”string
fileName
Section titled “fileName”string
session
Section titled “session”Returns
Section titled “Returns”CodeFile
Properties
Section titled “Properties”
readonlyast:Block
Defined in: core/type/code-file.ts:25
fileName
Section titled “fileName”fileName:
string
Defined in: core/type/code-file.ts:35
prepareErrors
Section titled “prepareErrors”
readonlyprepareErrors:YaksokError<unknown>[]
Defined in: core/type/code-file.ts:28
session
Section titled “session”session:
YaksokSession
Defined in: core/type/code-file.ts:36
readonlytext:string
Defined in: core/type/code-file.ts:27
tokens
Section titled “tokens”
readonlytokens:Token[]
Defined in: core/type/code-file.ts:26
Accessors
Section titled “Accessors”mentionRules
Section titled “mentionRules”Get Signature
Section titled “Get Signature”get mentionRules():
Rule<Node<SubnodeScheme>[]>[] |null
Defined in: core/type/code-file.ts:65
Returns
Section titled “Returns”Rule<Node<SubnodeScheme>[]>[] | null
ranScope
Section titled “ranScope”Get Signature
Section titled “Get Signature”get ranScope():
Scope|null
Defined in: core/type/code-file.ts:61
Returns
Section titled “Returns”Scope | null
Methods
Section titled “Methods”run(
runtimeContext?):Promise<Scope>
Defined in: core/type/code-file.ts:69
Parameters
Section titled “Parameters”runtimeContext?
Section titled “runtimeContext?”Partial<RuntimeContext>
Returns
Section titled “Returns”Promise<Scope>