token

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 17, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Overview

Code generated by protoc-gen-go-pulsar. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

View Source
var (
	Type_name = map[int32]string{
		0:  "ILLEGAL",
		1:  "EOF",
		2:  "IDENT",
		3:  "INT",
		4:  "COMMA",
		5:  "SEMICOLON",
		6:  "LPAREN",
		7:  "RPAREN",
		8:  "LBRACKET",
		9:  "RBRACKET",
		10: "AND",
		11: "OR",
		12: "TRUE",
		13: "FALSE",
	}
	Type_value = map[string]int32{
		"ILLEGAL":   0,
		"EOF":       1,
		"IDENT":     2,
		"INT":       3,
		"COMMA":     4,
		"SEMICOLON": 5,
		"LPAREN":    6,
		"RPAREN":    7,
		"LBRACKET":  8,
		"RBRACKET":  9,
		"AND":       10,
		"OR":        11,
		"TRUE":      12,
		"FALSE":     13,
	}
)

Enum value maps for Type.

View Source
var File_shield_token_token_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type Token

type Token struct {
	Type_   Type   `protobuf:"varint,1,opt,name=type,proto3,enum=shield.token.Type" json:"type,omitempty"`
	Literal string `protobuf:"bytes,2,opt,name=literal,proto3" json:"literal,omitempty"`
	// contains filtered or unexported fields
}

func (*Token) Descriptor deprecated

func (*Token) Descriptor() ([]byte, []int)

Deprecated: Use Token.ProtoReflect.Descriptor instead.

func (*Token) GetLiteral

func (x *Token) GetLiteral() string

func (*Token) GetType_

func (x *Token) GetType_() Type

func (*Token) ProtoMessage

func (*Token) ProtoMessage()

func (*Token) ProtoReflect

func (x *Token) ProtoReflect() protoreflect.Message

func (*Token) Reset

func (x *Token) Reset()

func (*Token) String

func (x *Token) String() string

type Type

type Type int32
const (
	Type_ILLEGAL   Type = 0
	Type_EOF       Type = 1
	Type_IDENT     Type = 2
	Type_INT       Type = 3
	Type_COMMA     Type = 4
	Type_SEMICOLON Type = 5
	Type_LPAREN    Type = 6
	Type_RPAREN    Type = 7
	Type_LBRACKET  Type = 8
	Type_RBRACKET  Type = 9
	Type_AND       Type = 10
	Type_OR        Type = 11
	Type_TRUE      Type = 12
	Type_FALSE     Type = 13
)

func (Type) Descriptor

func (Type) Descriptor() protoreflect.EnumDescriptor

func (Type) Enum

func (x Type) Enum() *Type

func (Type) EnumDescriptor deprecated

func (Type) EnumDescriptor() ([]byte, []int)

Deprecated: Use Type.Descriptor instead.

func (Type) Number

func (x Type) Number() protoreflect.EnumNumber

func (Type) String

func (x Type) String() string

func (Type) Type

func (Type) Type() protoreflect.EnumType

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL