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

package lextwt

import "strconv"

type Elem byte

const (
	ElemNONE          Elem = 0
	ElemComment       Elem = 1
	ElemMention       Elem = 2
	ElemBangMention   Elem = 3
	ElemTag           Elem = 4
	ElemSubject       Elem = 5
	ElemText          Elem = 6
	ElemLineSeparator Elem = 7
	ElemLink          Elem = 8
	ElemCode          Elem = 9
)

var EnumNamesElem = map[Elem]string{
	ElemNONE:          "NONE",
	ElemComment:       "Comment",
	ElemMention:       "Mention",
	ElemBangMention:   "BangMention",
	ElemTag:           "Tag",
	ElemSubject:       "Subject",
	ElemText:          "Text",
	ElemLineSeparator: "LineSeparator",
	ElemLink:          "Link",
	ElemCode:          "Code",
}

var EnumValuesElem = map[string]Elem{
	"NONE":          ElemNONE,
	"Comment":       ElemComment,
	"Mention":       ElemMention,
	"BangMention":   ElemBangMention,
	"Tag":           ElemTag,
	"Subject":       ElemSubject,
	"Text":          ElemText,
	"LineSeparator": ElemLineSeparator,
	"Link":          ElemLink,
	"Code":          ElemCode,
}

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