Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DavidTimms/loxdown
/ functions
Functions
438 in github.com/DavidTimms/loxdown
⨍
Functions
438
◇
Types & classes
151
Method
constructor
( private readonly jsFunction: (...args: LoxValue[]) => LoxValue, )
src/runtime/NativeFunction.ts:12
Method
constructor
()
src/runtime/LoxNil.ts:11
Method
constructor
(readonly value: string)
src/runtime/LoxString.ts:8
Method
constructor
(readonly isTrue: boolean = true)
src/runtime/LoxBool.ts:9
Method
constructor
( readonly name: string, { fields = new Map(), methods = new Map(),
src/typechecker/ClassType.ts:23
Method
constructor
( readonly params: GenericParamType[], readonly body: BodyType, )
src/typechecker/GenericType.ts:12
Method
constructor
( readonly name: string, )
src/typechecker/GenericParamType.ts:9
Method
constructor
( readonly children: Type[], )
src/typechecker/UnionType.ts:8
Method
constructor
( readonly classType: ClassType, )
src/typechecker/InstanceType.ts:7
Method
constructor
( readonly params: Type[], readonly returns: Type | null = null, readonly produceNarro
src/typechecker/CallableType.ts:10
Method
constructor
( readonly message: string, readonly sourceRange: SourceRange, )
src/typechecker/TypeChecker.ts:62
Method
constructor
(initialProps: Partial<Scope> = {})
src/typechecker/TypeChecker.ts:73
Method
constructor
( readonly name: string, readonly type: Type, )
src/typechecker/TypeChecker.ts:110
Method
constructor
( private readonly interpreter: Interpreter, )
src/typechecker/TypeChecker.ts:167
Function
defineProperty
* 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
Function
defineType
(classDef: ClassDefinition)
src/tool/generateAst.ts:173
Method
fields
()
src/typechecker/ClassType.ts:98
Function
get
(this: O)
src/Lazy.ts:23
Method
get
(name: Token)
src/runtime/LoxInstance.ts:16
Method
get
(this: LoxValue, name: Token)
src/runtime/NativeTypeMixin.ts:25
Method
get
(name: string)
src/typechecker/GenericType.ts:25
Method
get
(name: string)
src/typechecker/UnionType.ts:16
Method
get
(name: string)
src/typechecker/InstanceType.ts:15
Method
get
(name: string)
src/typechecker/CallableType.ts:20
Method
getItem
(index: LoxValue)
src/runtime/LoxArray.ts:19
Function
getSuperclass
(this: LoxClass)
src/runtime/globals.ts:95
Method
inheritanceChain
()
src/typechecker/InstanceType.ts:23
Function
init
()
src/runtime/globals.ts:43
Method
insertAt
(index: LoxValue, value: LoxValue)
src/runtime/LoxArray.ts:44
Method
instantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/AnyType.ts:20
Method
instantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/GenericParamType.ts:25
Method
instantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/UnionType.ts:31
Method
instantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/InstanceType.ts:36
Method
instantiateGenerics
(generics: FullGenericParamMap)
src/typechecker/CallableType.ts:29
Function
isInstanceNarrowingsProducer
(argTypes)
src/typechecker/globalsTypes.ts:12
Method
loxClass
()
src/runtime/NativeTypeMixin.ts:9
Method
methods
()
src/typechecker/ClassType.ts:102
Function
print
(message: string)
src/lox.test.ts:49
Function
print
(message: string)
src/web/playground.ts:32
Method
print
(message: string)
src/main.ts:21
Function
printError
(message: string)
src/lox.test.ts:52
Function
printError
(message: string)
src/web/playground.ts:37
Method
removeAt
(index: LoxValue)
src/runtime/LoxArray.ts:49
Function
run
()
src/web/playground.ts:66
Function
set
(this: O, value: O[P])
src/Lazy.ts:28
Method
set
(this: LoxValue, name: Token, value: LoxValue)
src/runtime/NativeTypeMixin.ts:35
Function
setStatus
(status: CheckStatus | RunStatus)
src/web/playground.ts:43
Method
size
()
src/runtime/LoxArray.ts:25
Function
sourceRange
(baseName: string, {fields}: ClassDefinition)
src/tool/generateAst.ts:233
Method
sourceRange
()
src/ast/Expr.ts:19
Method
sourceRange
()
src/ast/Expr.ts:36
Method
sourceRange
()
src/ast/Expr.ts:54
Method
sourceRange
()
src/ast/Expr.ts:73
Method
sourceRange
()
src/ast/Expr.ts:106
Method
sourceRange
()
src/ast/Expr.ts:123
Method
sourceRange
()
src/ast/Expr.ts:141
Method
sourceRange
()
src/ast/Expr.ts:159
Method
sourceRange
()
src/ast/Expr.ts:176
Method
sourceRange
()
src/ast/Expr.ts:192
Method
sourceRange
()
src/ast/Expr.ts:209
Method
sourceRange
()
src/ast/Expr.ts:225
Method
sourceRange
()
src/ast/SourceRange.ts:17
Method
sourceRange
()
src/ast/TypeExpr.ts:20
Method
sourceRange
()
src/ast/TypeExpr.ts:54
Method
sourceRange
()
src/ast/TypeExpr.ts:72
Method
sourceRange
()
src/ast/Superclass.ts:13
Method
toString
()
src/runtime/LoxInstance.ts:12
Method
toString
()
src/runtime/LoxFunction.ts:56
Method
toString
()
src/runtime/LoxClass.ts:51
Method
toString
()
src/runtime/LoxNumber.ts:10
Method
toString
()
src/runtime/LoxArray.ts:15
Method
toString
()
src/runtime/NativeFunction.ts:28
Method
toString
()
src/runtime/LoxString.ts:10
Method
toString
()
src/runtime/LoxBool.ts:15
Method
toString
()
src/typechecker/ClassType.ts:53
Method
toString
()
src/typechecker/AnyType.ts:16
Method
toString
()
src/typechecker/GenericType.ts:29
Method
toString
()
src/typechecker/GenericParamType.ts:21
Method
toString
()
src/typechecker/UnionType.ts:27
Method
toString
()
src/typechecker/InstanceType.ts:19
Method
toString
()
src/typechecker/CallableType.ts:24
Function
unify
* 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
Method
unify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/ClassType.ts:121
Method
unify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/GenericType.ts:106
Method
unify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/GenericParamType.ts:29
Method
unify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/UnionType.ts:37
Method
unify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/InstanceType.ts:42
Method
unify
(candidate: Type, generics: GenericParamMap | null = null)
src/typechecker/CallableType.ts:42
Function
union
* Combines two branches of control flow.
src/typechecker/TypeChecker.ts:136
Method
visitArrayExpr
(expr: ArrayExpr)
src/runtime/Interpreter.ts:167
Method
visitArrayExpr
(expr: ArrayExpr)
src/typechecker/TypeChecker.ts:912
Method
visitAssignExpr
(expr: AssignExpr)
src/runtime/Interpreter.ts:171
Method
visitAssignExpr
(expr: AssignExpr)
src/typechecker/TypeChecker.ts:924
Method
visitBinaryExpr
(expr: BinaryExpr)
src/runtime/Interpreter.ts:278
Method
visitBinaryExpr
(expr: BinaryExpr)
src/typechecker/TypeChecker.ts:988
Method
visitBlockStmt
(stmt: BlockStmt)
src/runtime/Interpreter.ts:91
Method
visitBlockStmt
(stmt: BlockStmt)
src/typechecker/TypeChecker.ts:645
Method
visitCallExpr
(expr: CallExpr)
src/runtime/Interpreter.ts:332
Method
visitCallExpr
(expr: CallExpr)
src/typechecker/TypeChecker.ts:1228
Method
visitCallableTypeExpr
(typeExpr: CallableTypeExpr)
src/typechecker/TypeChecker.ts:619
← previous
next →
301–400 of 438, ranked by callers