Enum libpgquery_sys::Token [−][src]
#[repr(i32)]
pub enum Token {
Show 494 variants
Nul,
Ascii37,
Ascii40,
Ascii41,
Ascii42,
Ascii43,
Ascii44,
Ascii45,
Ascii46,
Ascii47,
Ascii58,
Ascii59,
Ascii60,
Ascii61,
Ascii62,
Ascii63,
Ascii91,
Ascii92,
Ascii93,
Ascii94,
Ident,
Uident,
Fconst,
Sconst,
Usconst,
Bconst,
Xconst,
Op,
Iconst,
Param,
Typecast,
DotDot,
ColonEquals,
EqualsGreater,
LessEquals,
GreaterEquals,
NotEquals,
SqlComment,
CComment,
AbortP,
AbsoluteP,
Access,
Action,
AddP,
Admin,
After,
Aggregate,
All,
Also,
Alter,
Always,
Analyse,
Analyze,
And,
Any,
Array,
As,
Asc,
Assertion,
Assignment,
Asymmetric,
At,
Attach,
Attribute,
Authorization,
Backward,
Before,
BeginP,
Between,
Bigint,
Binary,
Bit,
BooleanP,
Both,
By,
Cache,
Call,
Called,
Cascade,
Cascaded,
Case,
Cast,
CatalogP,
Chain,
CharP,
Character,
Characteristics,
Check,
Checkpoint,
Class,
Close,
Cluster,
Coalesce,
Collate,
Collation,
Column,
Columns,
Comment,
Comments,
Commit,
Committed,
Concurrently,
Configuration,
Conflict,
Connection,
Constraint,
Constraints,
ContentP,
ContinueP,
ConversionP,
Copy,
Cost,
Create,
Cross,
Csv,
Cube,
CurrentP,
CurrentCatalog,
CurrentDate,
CurrentRole,
CurrentSchema,
CurrentTime,
CurrentTimestamp,
CurrentUser,
Cursor,
Cycle,
DataP,
Database,
DayP,
Deallocate,
Dec,
DecimalP,
Declare,
Default,
Defaults,
Deferrable,
Deferred,
Definer,
DeleteP,
Delimiter,
Delimiters,
Depends,
Desc,
Detach,
Dictionary,
DisableP,
Discard,
Distinct,
Do,
DocumentP,
DomainP,
DoubleP,
Drop,
Each,
Else,
EnableP,
Encoding,
Encrypted,
EndP,
EnumP,
Escape,
Event,
Except,
Exclude,
Excluding,
Exclusive,
Execute,
Exists,
Explain,
Expression,
Extension,
External,
Extract,
FalseP,
Family,
Fetch,
Filter,
FirstP,
FloatP,
Following,
For,
Force,
Foreign,
Forward,
Freeze,
From,
Full,
Function,
Functions,
Generated,
Global,
Grant,
Granted,
Greatest,
GroupP,
Grouping,
Groups,
Handler,
Having,
HeaderP,
Hold,
HourP,
IdentityP,
IfP,
Ilike,
Immediate,
Immutable,
ImplicitP,
ImportP,
InP,
Include,
Including,
Increment,
Index,
Indexes,
Inherit,
Inherits,
Initially,
InlineP,
InnerP,
Inout,
InputP,
Insensitive,
Insert,
Instead,
IntP,
Integer,
Intersect,
Interval,
Into,
Invoker,
Is,
Isnull,
Isolation,
Join,
Key,
Label,
Language,
LargeP,
LastP,
LateralP,
Leading,
Leakproof,
Least,
Left,
Level,
Like,
Limit,
Listen,
Load,
Local,
Localtime,
Localtimestamp,
Location,
LockP,
Locked,
Logged,
Mapping,
Match,
Materialized,
Maxvalue,
Method,
MinuteP,
Minvalue,
Mode,
MonthP,
Move,
NameP,
Names,
National,
Natural,
Nchar,
New,
Next,
Nfc,
Nfd,
Nfkc,
Nfkd,
No,
None,
Normalize,
Normalized,
Not,
Nothing,
Notify,
Notnull,
Nowait,
NullP,
Nullif,
NullsP,
Numeric,
ObjectP,
Of,
Off,
Offset,
Oids,
Old,
On,
Only,
Operator,
Option,
Options,
Or,
Order,
Ordinality,
Others,
OutP,
OuterP,
Over,
Overlaps,
Overlay,
Overriding,
Owned,
Owner,
Parallel,
Parser,
Partial,
Partition,
Passing,
Password,
Placing,
Plans,
Policy,
Position,
Preceding,
Precision,
Preserve,
Prepare,
Prepared,
Primary,
Prior,
Privileges,
Procedural,
Procedure,
Procedures,
Program,
Publication,
Quote,
Range,
Read,
Real,
Reassign,
Recheck,
Recursive,
Ref,
References,
Referencing,
Refresh,
Reindex,
RelativeP,
Release,
Rename,
Repeatable,
Replace,
Replica,
Reset,
Restart,
Restrict,
Returning,
Returns,
Revoke,
Right,
Role,
Rollback,
Rollup,
Routine,
Routines,
Row,
Rows,
Rule,
Savepoint,
Schema,
Schemas,
Scroll,
Search,
SecondP,
Security,
Select,
Sequence,
Sequences,
Serializable,
Server,
Session,
SessionUser,
Set,
Sets,
Setof,
Share,
Show,
Similar,
Simple,
Skip,
Smallint,
Snapshot,
Some,
SqlP,
Stable,
StandaloneP,
Start,
Statement,
Statistics,
Stdin,
Stdout,
Storage,
Stored,
StrictP,
StripP,
Subscription,
Substring,
Support,
Symmetric,
Sysid,
SystemP,
Table,
Tables,
Tablesample,
Tablespace,
Temp,
Template,
Temporary,
TextP,
Then,
Ties,
Time,
Timestamp,
To,
Trailing,
Transaction,
Transform,
Treat,
Trigger,
Trim,
TrueP,
Truncate,
Trusted,
TypeP,
TypesP,
Uescape,
Unbounded,
Uncommitted,
Unencrypted,
Union,
Unique,
Unknown,
Unlisten,
Unlogged,
Until,
Update,
User,
Using,
Vacuum,
Valid,
Validate,
Validator,
ValueP,
Values,
Varchar,
Variadic,
Varying,
Verbose,
VersionP,
View,
Views,
Volatile,
When,
Where,
WhitespaceP,
Window,
With,
Within,
Without,
Work,
Wrapper,
Write,
XmlP,
Xmlattributes,
Xmlconcat,
Xmlelement,
Xmlexists,
Xmlforest,
Xmlnamespaces,
Xmlparse,
Xmlpi,
Xmlroot,
Xmlserialize,
Xmltable,
YearP,
YesP,
Zone,
NotLa,
NullsLa,
WithLa,
Postfixop,
Uminus,
}
Variants
Single-character tokens that are returned 1:1 (identical with “self” list in scan.l) Either supporting syntax, or single-character operators (some can be both) Also see https://www.postgresql.org/docs/12/sql-syntax-lexical.html#SQL-SYNTAX-SPECIAL-CHARS
“%”
“(”
“)”
“*”
“+”
“,”
“-”
“.”
“/”
“:”
“;”
“<”
“=”
“>”
“?”
“[”
“"
“]”
“^”
Named tokens in scan.l
Implementations
Trait Implementations
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Token
impl UnwindSafe for Token
Blanket Implementations
Mutably borrows from an owned value. Read more