Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LambdaNote/support-ts-tapl
/ functions
Functions
135 in github.com/LambdaNote/support-ts-tapl
⨍
Functions
135
◇
Types & classes
0
↓ 196 callers
Function
error
(msg: string, node: any)
book/tiny-ts-parser.ts:1291
↓ 59 callers
Function
error
(msg: string, node: any)
article/utils.ts:593
↓ 17 callers
Function
ok
(expected: string, code: string)
book/typecheckers/sub_test.ts:9
↓ 16 callers
Function
ok
(expected: string, code: string)
book/typecheckers/poly_test.ts:9
↓ 11 callers
Function
parse
(code: string)
book/tiny-ts-parser.ts:1058
↓ 11 callers
Function
subsetSystem
( node: Term, keepTypes: Types[], keepTerms: Terms[], keepDefaultClause: boolean = false, )
book/tiny-ts-parser.ts:1032
↓ 11 callers
Function
typeShow
(ty: Type)
book/tiny-ts-parser.ts:1301
↓ 11 callers
Function
typecheck
(t: Term, tyEnv: TypeEnv)
book/typecheckers/obj.ts:60
↓ 9 callers
Function
convertStmts
(nodes: p.TSESTree.Statement[], requireReturn: boolean, ctx: Context)
book/tiny-ts-parser.ts:854
↓ 9 callers
Function
convertType
(node: p.TSESTree.TypeNode)
book/tiny-ts-parser.ts:592
↓ 9 callers
Function
simplifyType
(ty: Type, ctx: Context)
book/tiny-ts-parser.ts:516
↓ 9 callers
Function
simplifyType
(ty: Type)
book/typecheckers/rec2.ts:140
↓ 8 callers
Function
getIdentifier
(node: p.TSESTree.Expression | p.TSESTree.PrivateIdentifier | p.TSESTree.TSQualifiedName)
book/tiny-ts-parser.ts:525
↓ 8 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/sub_test.ts:12
↓ 8 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/poly_test.ts:12
↓ 8 callers
Function
ok
(expected: string, code: string)
book/typecheckers/basic2_test.ts:9
↓ 8 callers
Function
ok
(expected: string, code: string)
book/typecheckers/basic_test.ts:9
↓ 7 callers
Function
parse
(code: string)
article/utils.ts:499
↓ 7 callers
Function
simplifyType
(ty: Type)
book/typecheckers/rec.ts:109
↓ 7 callers
Function
subsetSystem
( node: Term, keepTypes: Types[], keepTerms: Terms[], )
article/utils.ts:476
↓ 6 callers
Function
convertExpr
(node: p.TSESTree.Expression, ctx: Context)
book/tiny-ts-parser.ts:674
↓ 6 callers
Function
convertStmts
(nodes: p.TSESTree.Statement[], requireReturn: boolean, ctx: Context)
article/utils.ts:381
↓ 6 callers
Function
convertType
(node: p.TSESTree.TypeNode)
article/utils.ts:244
↓ 6 callers
Function
simplifyType
(ty: Type, ctx: Context)
article/utils.ts:174
↓ 5 callers
Function
getIdentifier
(node: p.TSESTree.Expression | p.TSESTree.PrivateIdentifier | p.TSESTree.TSQualifiedName)
article/utils.ts:178
↓ 5 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/union_test.ts:12
↓ 5 callers
Function
ok
(expected: string, code: string)
book/typecheckers/rec_test.ts:9
↓ 5 callers
Function
ok
(expected: string, code: string)
book/typecheckers/arith_test.ts:9
↓ 5 callers
Function
typeEq
(ty1: Type, ty2: Type)
book/typecheckers/rec2.ts:208
↓ 5 callers
Function
typeEq
(ty1: Type, ty2: Type)
book/typecheckers/recfunc2.ts:32
↓ 4 callers
Function
convertExpr
(node: p.TSESTree.Expression, ctx: Context)
article/utils.ts:292
↓ 4 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/basic2_test.ts:12
↓ 4 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/basic_test.ts:12
↓ 4 callers
Function
ok
(expected: string, code: string)
book/typecheckers/rec2_test.ts:9
↓ 4 callers
Function
typeEq
(ty1: Type, ty2: Type)
book/typecheckers/union.ts:35
↓ 4 callers
Function
typecheck
(t: Term)
article/arith.ts:14
↓ 3 callers
Function
addDefinedTypeVars
(tyVars: string[], ctx: Context)
article/utils.ts:98
↓ 3 callers
Function
extendContextWithTypeVars
(ctx: Context, tyVars: string[])
book/tiny-ts-parser.ts:428
↓ 3 callers
Function
getLiteralString
(node: p.TSESTree.Expression)
book/tiny-ts-parser.ts:530
↓ 3 callers
Function
getLiteralString
(node: p.TSESTree.Expression)
article/utils.ts:183
↓ 3 callers
Function
getParam
(node: p.TSESTree.Parameter)
book/tiny-ts-parser.ts:568
↓ 3 callers
Function
getParam
(node: p.TSESTree.Parameter)
article/utils.ts:221
↓ 3 callers
Function
getProp
(property: p.TSESTree.ObjectLiteralElement)
article/utils.ts:195
↓ 3 callers
Function
getTypeProp
(member: p.TSESTree.TypeElement)
article/utils.ts:188
↓ 3 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/arith_test.ts:12
↓ 3 callers
Function
ok
(expected: string, code: string)
book/typecheckers/obj_test.ts:9
↓ 3 callers
Function
typeEq
(ty1: Type, ty2: Type)
book/typecheckers/recfunc.ts:32
↓ 3 callers
Function
typeEq
(ty1: Type, ty2: Type)
book/typecheckers/rec.ts:160
↓ 2 callers
Function
freeTyVars
(ty: Type)
article/utils.ts:78
↓ 2 callers
Function
freeTypeVars
(ty: Type)
book/tiny-ts-parser.ts:396
↓ 2 callers
Function
generateTestUtils
(typecheck: (code: any) => Type)
article/utils.ts:603
↓ 2 callers
Function
getRecFunc
(node: p.TSESTree.FunctionDeclaration, ctx: Context, restFunc: (() => Term) | null)
book/tiny-ts-parser.ts:576
↓ 2 callers
Function
getRecFunc
(node: p.TSESTree.FunctionDeclaration, ctx: Context, restFunc: (() => Term) | null)
article/utils.ts:229
↓ 2 callers
Function
newIfNode
(cond: Term, thn: Term, els: Term, loc: Location)
book/tiny-ts-parser.ts:656
↓ 2 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/obj_test.ts:12
↓ 2 callers
Function
ok
(expected: string, code: string)
book/typecheckers/recfunc_test.ts:9
↓ 2 callers
Function
parseRecFunc
(code: string)
book/tiny-ts-parser.ts:1165
↓ 2 callers
Function
run
(code: string)
book/typecheckers/sub_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/recfunc2_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/rec2_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/rec_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/recfunc_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/arith_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/union_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/basic2_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/poly_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/obj_test.ts:6
↓ 2 callers
Function
run
(code: string)
book/typecheckers/basic_test.ts:6
↓ 2 callers
Function
subst
(ty: Type, tyVarName: string, repTy: Type)
book/typecheckers/poly.ts:41
↓ 2 callers
Function
typeEq
(ty1: Type, ty2: Type)
book/typecheckers/basic2.ts:24
↓ 2 callers
Function
typeEq
(ty1: Type, ty2: Type, tyVars: string[])
book/typecheckers/poly_bug.ts:87
↓ 2 callers
Function
typeEq
(ty1: Type, ty2: Type, tyVars: string[])
book/typecheckers/poly.ts:101
↓ 2 callers
Function
typeEq
(ty1: Type, ty2: Type)
book/typecheckers/obj.ts:30
↓ 2 callers
Function
typeEq
(ty1: Type, ty2: Type)
book/typecheckers/basic.ts:24
↓ 2 callers
Function
typeEq
(ty1: Type, ty2: Type)
article/basic.ts:24
↓ 2 callers
Function
typeEqNaive
(ty1: Type, ty2: Type, map: Record<string, string>)
book/typecheckers/rec2.ts:45
↓ 2 callers
Function
typeEqNaive
(ty1: Type, ty2: Type, map: Record<string, string>)
book/typecheckers/rec.ts:40
↓ 1 callers
Function
conv
(node: Term)
book/tiny-ts-parser.ts:1080
↓ 1 callers
Function
convertProgram
(nodes: p.TSESTree.Statement[])
book/tiny-ts-parser.ts:998
↓ 1 callers
Function
convertProgram
(nodes: p.TSESTree.Statement[])
article/utils.ts:442
↓ 1 callers
Function
convertStmt
(i: number, ctx: Context)
book/tiny-ts-parser.ts:855
↓ 1 callers
Function
convertStmt
(i: number, ctx: Context)
article/utils.ts:382
↓ 1 callers
Function
expandType
(ty: Type, tyVarName: string, repTy: Type)
book/typecheckers/rec2.ts:102
↓ 1 callers
Function
expandType
(ty: Type, tyVarName: string, repTy: Type)
book/typecheckers/rec.ts:80
↓ 1 callers
Function
expandTypeAliases
(ty: Type, recDefined: Set<string>, ctx: Context)
book/tiny-ts-parser.ts:439
↓ 1 callers
Function
expandTypeAliases
(ty: Type, recDefined: Set<string>, ctx: Context)
article/utils.ts:108
↓ 1 callers
Function
freshTypeAbs
(typeParams: string[], ty: Type)
book/typecheckers/poly.ts:30
↓ 1 callers
Function
getProp
(property: p.TSESTree.ObjectLiteralElement)
book/tiny-ts-parser.ts:542
↓ 1 callers
Function
getSwitchVarName
(node: p.TSESTree.Expression)
book/tiny-ts-parser.ts:561
↓ 1 callers
Function
getSwitchVarName
(node: p.TSESTree.Expression)
article/utils.ts:214
↓ 1 callers
Function
getTagAndProps
(node: p.TSESTree.ObjectExpression)
book/tiny-ts-parser.ts:552
↓ 1 callers
Function
getTagAndVal
(node: p.TSESTree.ObjectExpression)
article/utils.ts:205
↓ 1 callers
Function
getTypeProp
(member: p.TSESTree.TypeElement)
book/tiny-ts-parser.ts:535
↓ 1 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/recfunc2_test.ts:12
↓ 1 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/rec2_test.ts:12
↓ 1 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/rec_test.ts:12
↓ 1 callers
Function
ng
(expected: RegExp, code: string)
book/typecheckers/recfunc_test.ts:12
↓ 1 callers
Function
ok
(expected: string, code: string)
book/typecheckers/recfunc2_test.ts:9
↓ 1 callers
Function
ok
(expected: string, code: string)
book/typecheckers/union_test.ts:9
↓ 1 callers
Function
parseArith
(code: string)
book/tiny-ts-parser.ts:1063
next →
1–100 of 135, ranked by callers