Module key

Module key 

Source
Expand description

负责和解释器交互的部分

此模块定义Key语言中原生模块可能用到的类型

Structs§

FuncTable
premain函数接收的函数表
HashMap
A hash map implemented with quadratic probing and SIMD lookup.
Ident
一个合法的标识符, 可以理解为字符串的指针
LocalFunc
Key脚本内定义的本地函数
Planet
PlanetCaller
planet的内部拨号员, 可调用ok代表Planet结束
Scope
Key语言中的作用域
Sym
Key语言的语法标志

Enums§

Function
函数枚举
Litr
Key语言中的基本类型
LitrRef
Litr的引用(是有生命周期的)

Statics§

FUNCTABLE

Functions§

intern
将字符串缓存为指针(和Key解释器用一个缓存池)