go/src/cmd/compile/internal/syntax/tokens.go

type Token

type token

const _

const _EOF

const _Name

const _Literal

const _Operator

const _AssignOp

const _IncOp

const _Assign

const _Define

const _Arrow

const _Star

const _Lparen

const _Lbrack

const _Lbrace

const _Rparen

const _Rbrack

const _Rbrace

const _Comma

const _Semi

const _Colon

const _Dot

const _DotDotDot

const _Break

const _Case

const _Chan

const _Const

const _Continue

const _Default

const _Defer

const _Else

const _Fallthrough

const _For

const _Func

const _Go

const _Goto

const _If

const _Import

const _Interface

const _Map

const _Package

const _Range

const _Return

const _Select

const _Struct

const _Switch

const _Type

const _Var

const tokenCount

const Break

const Continue

const Fallthrough

const Goto

const Go

const Defer

const _

// contains reports whether tok is in tokset.
func contains(tokset uint64, tok token) bool {}

type LitKind

const IntLit

const FloatLit

const ImagLit

const RuneLit

const StringLit

type Operator

const _

const Def

const Not

const Recv

const Tilde

const OrOr

const AndAnd

const Eql

const Neq

const Lss

const Leq

const Gtr

const Geq

const Add

const Sub

const Or

const Xor

const Mul

const Div

const Rem

const And

const AndNot

const Shl

const Shr

const _

const precOrOr

const precAndAnd

const precCmp

const precAdd

const precMul