Documentation ¶
Index ¶
Constants ¶
View Source
const ( // Illegal is an unknown token type. Illegal = Type("Illegal") // EOF indicates the End-Of-File for the lexer. EOF = Type("EOF") // Literal defines entities such as columns, tables, etc... Literal = Type("Literal") )
View Source
const ( Comma = Type(",") Semicolon = Type(";") Colon = Type(":") LParen = Type("(") RParen = Type(")") Equals = Type("=") Asterisk = Type("*") )
Symbols token types.
View Source
const ( Select = Type("SELECT") Update = Type("UPDATE") Insert = Type("INSERT") Delete = Type("DELETE") From = Type("FROM") Where = Type("WHERE") And = Type("AND") Or = Type("OR") Limit = Type("LIMIT") Offset = Type("OFFSET") Set = Type("SET") As = Type("AS") Inner = Type("INNER") Cross = Type("CROSS") Left = Type("LEFT") Right = Type("RIGHT") Join = Type("JOIN") On = Type("ON") Group = Type("GROUP") By = Type("BY") Having = Type("HAVING") Order = Type("ORDER") Distinct = Type("DISTINCT") Only = Type("ONLY") Using = Type("USING") Returning = Type("RETURNING") Values = Type("VALUES") Into = Type("INTO") Conflict = Type("CONFLICT") Do = Type("DO") Nothing = Type("NOTHING") With = Type("WITH") Exists = Type("EXISTS") Count = Type("COUNT") Max = Type("MAX") Min = Type("MIN") Sum = Type("SUM") )
Keywords token types.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.