// Code generated by the FlatBuffers compiler. DO NOT EDIT.

package lextwt

import "strconv"

type CodeType int8

const (
	CodeTypeInline CodeType = 1
	CodeTypeBlock  CodeType = 2
)

var EnumNamesCodeType = map[CodeType]string{
	CodeTypeInline: "Inline",
	CodeTypeBlock:  "Block",
}

var EnumValuesCodeType = map[string]CodeType{
	"Inline": CodeTypeInline,
	"Block":  CodeTypeBlock,
}

func (v CodeType) String() string {
	if s, ok := EnumNamesCodeType[v]; ok {
		return s
	}
	return "CodeType(" + strconv.FormatInt(int64(v), 10) + ")"
}
