mirror of
https://github.com/irmen/prog8.git
synced 2024-06-01 22:41:38 +00:00
14 lines
463 B
Kotlin
14 lines
463 B
Kotlin
package prog8.ast
|
|
|
|
import prog8.ast.expressions.Expression
|
|
import prog8.ast.expressions.InferredTypes
|
|
import prog8.ast.expressions.NumericLiteral
|
|
import prog8.code.core.Position
|
|
|
|
interface IBuiltinFunctions {
|
|
val names: Set<String>
|
|
val purefunctionNames: Set<String>
|
|
fun constValue(name: String, args: List<Expression>, position: Position): NumericLiteral?
|
|
fun returnType(name: String, args: MutableList<Expression>): InferredTypes.InferredType
|
|
}
|