MCPcopy Create free account

hub / github.com/DavidTimms/loxdown / functions

Functions438 in github.com/DavidTimms/loxdown

Methodconstructor
( private readonly jsFunction: (...args: LoxValue[]) => LoxValue, )
src/runtime/NativeFunction.ts:12
Methodconstructor
()
src/runtime/LoxNil.ts:11
Methodconstructor
(readonly value: string)
src/runtime/LoxString.ts:8
Methodconstructor
(readonly isTrue: boolean = true)
src/runtime/LoxBool.ts:9
Methodconstructor
( readonly name: string, { fields = new Map(), methods = new Map(),
src/typechecker/ClassType.ts:23
Methodconstructor
( readonly params: GenericParamType[], readonly body: BodyType, )
src/typechecker/GenericType.ts:12
Methodconstructor
( readonly name: string, )
src/typechecker/GenericParamType.ts:9
Methodconstructor
( readonly children: Type[], )
src/typechecker/UnionType.ts:8
Methodconstructor
( readonly classType: ClassType, )
src/typechecker/InstanceType.ts:7
Methodconstructor
( readonly params: Type[], readonly returns: Type | null = null, readonly produceNarro
src/typechecker/CallableType.ts:10
Methodconstructor
( readonly message: string, readonly sourceRange: SourceRange, )
src/typechecker/TypeChecker.ts:62
Methodconstructor
(initialProps: Partial<Scope> = {})
src/typechecker/TypeChecker.ts:73
Methodconstructor
( readonly name: string, readonly type: Type, )
src/typechecker/TypeChecker.ts:110
Methodconstructor
( private readonly interpreter: Interpreter, )
src/typechecker/TypeChecker.ts:167
FunctiondefineProperty
* This is helper for defining properties on an object using a thunk * which will only be called once when the property is first accessed.
src/Lazy.ts:8
FunctiondefineType
(classDef: ClassDefinition)
src/tool/generateAst.ts:173
Methodfields
()
src/typechecker/ClassType.ts:98
Functionget
(this: O)
src/Lazy.ts:23
Methodget
(name: Token)
src/runtime/LoxInstance.ts:16
Methodget
(this: LoxValue, name: Token)
src/runtime/NativeTypeMixin.ts:25
Methodget
(name: string)
src/typechecker/GenericType.ts:25
Methodget
(name: string)
src/typechecker/UnionType.ts:16
Methodget
(name: string)
src/typechecker/InstanceType.ts:15
Methodget
(name: string)
src/typechecker/CallableType.ts:20
MethodgetItem
(index: LoxValue)
src/runtime/LoxArray.ts:19
FunctiongetSuperclass
(this: LoxClass)
src/runtime/globals.ts:95
MethodinheritanceChain
()
src/typechecker/InstanceType.ts:23
Functioninit
()
src/runtime/globals.ts:43
MethodinsertAt
(index: LoxValue, value: LoxValue)
src/runtime/LoxArray.ts:44
MethodinstantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/AnyType.ts:20
MethodinstantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/GenericParamType.ts:25
MethodinstantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/UnionType.ts:31
MethodinstantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/InstanceType.ts:36
MethodinstantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/CallableType.ts:29
FunctionisInstanceNarrowingsProducer
(argTypes)
src/typechecker/globalsTypes.ts:12
MethodloxClass
()
src/runtime/NativeTypeMixin.ts:9
Methodmethods
()
src/typechecker/ClassType.ts:102
Functionprint
(message: string)
src/lox.test.ts:49
Functionprint
(message: string)
src/web/playground.ts:32
Methodprint
(message: string)
src/main.ts:21
FunctionprintError
(message: string)
src/lox.test.ts:52
FunctionprintError
(message: string)
src/web/playground.ts:37
MethodremoveAt
(index: LoxValue)
src/runtime/LoxArray.ts:49
Functionrun
()
src/web/playground.ts:66
Functionset
(this: O, value: O[P])
src/Lazy.ts:28
Methodset
(this: LoxValue, name: Token, value: LoxValue)
src/runtime/NativeTypeMixin.ts:35
FunctionsetStatus
(status: CheckStatus | RunStatus)
src/web/playground.ts:43
Methodsize
()
src/runtime/LoxArray.ts:25
FunctionsourceRange
(baseName: string, {fields}: ClassDefinition)
src/tool/generateAst.ts:233
MethodsourceRange
()
src/ast/Expr.ts:19
MethodsourceRange
()
src/ast/Expr.ts:36
MethodsourceRange
()
src/ast/Expr.ts:54
MethodsourceRange
()
src/ast/Expr.ts:73
MethodsourceRange
()
src/ast/Expr.ts:106
MethodsourceRange
()
src/ast/Expr.ts:123
MethodsourceRange
()
src/ast/Expr.ts:141
MethodsourceRange
()
src/ast/Expr.ts:159
MethodsourceRange
()
src/ast/Expr.ts:176
MethodsourceRange
()
src/ast/Expr.ts:192
MethodsourceRange
()
src/ast/Expr.ts:209
MethodsourceRange
()
src/ast/Expr.ts:225
MethodsourceRange
()
src/ast/SourceRange.ts:17
MethodsourceRange
()
src/ast/TypeExpr.ts:20
MethodsourceRange
()
src/ast/TypeExpr.ts:54
MethodsourceRange
()
src/ast/TypeExpr.ts:72
MethodsourceRange
()
src/ast/Superclass.ts:13
MethodtoString
()
src/runtime/LoxInstance.ts:12
MethodtoString
()
src/runtime/LoxFunction.ts:56
MethodtoString
()
src/runtime/LoxClass.ts:51
MethodtoString
()
src/runtime/LoxNumber.ts:10
MethodtoString
()
src/runtime/LoxArray.ts:15
MethodtoString
()
src/runtime/NativeFunction.ts:28
MethodtoString
()
src/runtime/LoxString.ts:10
MethodtoString
()
src/runtime/LoxBool.ts:15
MethodtoString
()
src/typechecker/ClassType.ts:53
MethodtoString
()
src/typechecker/AnyType.ts:16
MethodtoString
()
src/typechecker/GenericType.ts:29
MethodtoString
()
src/typechecker/GenericParamType.ts:21
MethodtoString
()
src/typechecker/UnionType.ts:27
MethodtoString
()
src/typechecker/InstanceType.ts:19
MethodtoString
()
src/typechecker/CallableType.ts:24
Functionunify
* Returns true if the candidate is a subtype of the target. If a map of * generics is provided, it may bind types to the generic parameters by * mod
src/typechecker/Type.ts:38
Methodunify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/ClassType.ts:121
Methodunify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/GenericType.ts:106
Methodunify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/GenericParamType.ts:29
Methodunify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/UnionType.ts:37
Methodunify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/InstanceType.ts:42
Methodunify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/CallableType.ts:42
Functionunion
* Combines two branches of control flow.
src/typechecker/TypeChecker.ts:136
MethodvisitArrayExpr
(expr: ArrayExpr)
src/runtime/Interpreter.ts:167
MethodvisitArrayExpr
(expr: ArrayExpr)
src/typechecker/TypeChecker.ts:912
MethodvisitAssignExpr
(expr: AssignExpr)
src/runtime/Interpreter.ts:171
MethodvisitAssignExpr
(expr: AssignExpr)
src/typechecker/TypeChecker.ts:924
MethodvisitBinaryExpr
(expr: BinaryExpr)
src/runtime/Interpreter.ts:278
MethodvisitBinaryExpr
(expr: BinaryExpr)
src/typechecker/TypeChecker.ts:988
MethodvisitBlockStmt
(stmt: BlockStmt)
src/runtime/Interpreter.ts:91
MethodvisitBlockStmt
(stmt: BlockStmt)
src/typechecker/TypeChecker.ts:645
MethodvisitCallExpr
(expr: CallExpr)
src/runtime/Interpreter.ts:332
MethodvisitCallExpr
(expr: CallExpr)
src/typechecker/TypeChecker.ts:1228
MethodvisitCallableTypeExpr
(typeExpr: CallableTypeExpr)
src/typechecker/TypeChecker.ts:619
← previousnext →301–400 of 438, ranked by callers