main.app.cash.zipline.bytecode.bytecodeConstants.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zipline-bytecode Show documentation
Show all versions of zipline-bytecode Show documentation
Runs Kotlin/JS libraries in Kotlin/JVM and Kotlin/Native programs
/*
* Copyright (C) 2021 Square, Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package app.cash.zipline.bytecode
internal const val BC_VERSION = 1
internal const val BC_TAG_NULL = 1
internal const val BC_TAG_UNDEFINED = 2
internal const val BC_TAG_BOOL_FALSE = 3
internal const val BC_TAG_BOOL_TRUE = 4
internal const val BC_TAG_INT32 = 5
internal const val BC_TAG_FLOAT64 = 6
internal const val BC_TAG_STRING = 7
internal const val BC_TAG_OBJECT = 8
internal const val BC_TAG_ARRAY = 9
internal const val BC_TAG_BIG_INT = 10
internal const val BC_TAG_BIG_FLOAT = 11
internal const val BC_TAG_BIG_DECIMAL = 12
internal const val BC_TAG_TEMPLATE_OBJECT = 13
internal const val BC_TAG_FUNCTION_BYTECODE = 14
internal const val BC_TAG_MODULE = 15
internal const val BC_TAG_TYPED_ARRAY = 16
internal const val BC_TAG_ARRAY_BUFFER = 17
internal const val BC_TAG_SHARED_ARRAY_BUFFER = 18
internal const val BC_TAG_DATE = 19
internal const val BC_TAG_OBJECT_VALUE = 20
internal const val BC_TAG_OBJECT_REFERENCE = 21