Documentation
¶
Index ¶
Constants ¶
View Source
const ( Void = Kind(0) Exp = Lit | Sym | Tag | Tupl | Call Meta = Alt | Var | Ref | Sel Num = Int | Real | Bits Char = Str | Raw | UUID | Span | Time | Enum Prim = Bool | Num | Char Cont = List | Dict Idxr = List | Obj Keyr = Dict | Obj Data = Prim | Cont | Obj Spec = Func | Form All = Data | Typ | Spec Any = All | None )
Variables ¶
View Source
var ErrInvalid = fmt.Errorf("invalid")
View Source
var Infos = []Info{ {"void", Void}, {"none", None}, {"some", Some}, {"lit", Lit}, {"typ", Typ}, {"sym", Sym}, {"tag", Tag}, {"tupl", Tupl}, {"call", Call}, {"bool", Bool}, {"int", Int}, {"real", Real}, {"bits", Bits}, {"str", Str}, {"raw", Raw}, {"uuid", UUID}, {"span", Span}, {"time", Time}, {"enum", Enum}, {"list", List}, {"dict", Dict}, {"obj", Obj}, {"func", Func}, {"form", Form}, {"alt", Alt}, {"var", Var}, {"ref", Ref}, {"sel", Sel}, {"exp", Exp}, {"meta", Meta}, {"num", Num}, {"char", Char}, {"prim", Prim}, {"cont", Cont}, {"idxr", Idxr}, {"keyr", Keyr}, {"data", Data}, {"spec", Spec}, {"all", All}, {"any", Any}, }
Infos is a list of all named kinds.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.