prog8/compilerAst/test/helpers/DummyMemsizer.kt

8 lines
180 B
Kotlin
Raw Normal View History

package prog8tests.helpers
import prog8.ast.IMemSizer
import prog8.ast.base.DataType
val DummyMemsizer = object : IMemSizer {
override fun memorySize(dt: DataType): Int = 0
}