#[repr(u16)]pub enum SyntaxKind {
Show 304 variants
Eof = 0,
Error = 1,
WHITESPACE = 2,
BASE = 3,
IRIREF = 4,
PREFIX = 5,
PNAME_NS = 6,
SELECT = 7,
DISTINCT = 8,
REDUCED = 9,
LParen = 10,
AS = 11,
RParen = 12,
Star = 13,
CONSTRUCT = 14,
WHERE = 15,
LCurly = 16,
RCurly = 17,
DESCRIBE = 18,
ASK = 19,
FROM = 20,
NAMED = 21,
GROUP = 22,
BY = 23,
HAVING = 24,
ORDER = 25,
ASC = 26,
DESC = 27,
LIMIT = 28,
INTEGER = 29,
OFFSET = 30,
VALUES = 31,
Semicolon = 32,
LOAD = 33,
SILENT = 34,
INTO = 35,
CLEAR = 36,
DROP = 37,
CREATE = 38,
ADD = 39,
TO = 40,
MOVE = 41,
COPY = 42,
INSERT = 43,
DATA = 44,
INSERT_DATA = 45,
DELETE_DATA = 46,
DELETE_WHERE = 47,
DELETE = 48,
WITH = 49,
USING = 50,
DEFAULT = 51,
GRAPH = 52,
ALL = 53,
Dot = 54,
OPTIONAL = 55,
SERVICE = 56,
BIND = 57,
NIL = 58,
UNDEF = 59,
MINUS = 60,
UNION = 61,
FILTER = 62,
Colon = 63,
a = 64,
Pipe = 65,
Slash = 66,
Zirkumflex = 67,
QuestionMark = 68,
Plus = 69,
ExclamationMark = 70,
LBrack = 71,
RBrack = 72,
VAR1 = 73,
VAR2 = 74,
DoublePipe = 75,
DoubleAnd = 76,
Equals = 77,
ExclamationMarkEquals = 78,
Less = 79,
More = 80,
LessEquals = 81,
MoreEquals = 82,
IN = 83,
NOT = 84,
Minus = 85,
STR = 86,
LANG = 87,
LANGMATCHES = 88,
DATATYPE = 89,
BOUND = 90,
IRI = 91,
URI = 92,
BNODE = 93,
RAND = 94,
ABS = 95,
CEIL = 96,
FLOOR = 97,
ROUND = 98,
CONCAT = 99,
STRLEN = 100,
UCASE = 101,
LCASE = 102,
ENCODE_FOR_URI = 103,
CONTAINS = 104,
STRSTARTS = 105,
STRENDS = 106,
STRBEFORE = 107,
STRAFTER = 108,
YEAR = 109,
MONTH = 110,
DAY = 111,
HOURS = 112,
MINUTES = 113,
SECONDS = 114,
TIMEZONE = 115,
TZ = 116,
NOW = 117,
UUID = 118,
STRUUID = 119,
MD5 = 120,
SHA1 = 121,
SHA256 = 122,
SHA384 = 123,
SHA512 = 124,
COALESCE = 125,
IF = 126,
STRLANG = 127,
STRDT = 128,
sameTerm = 129,
isIRI = 130,
isURI = 131,
isBLANK = 132,
isLITERAL = 133,
isNUMERIC = 134,
REGEX = 135,
SUBSTR = 136,
REPLACE = 137,
EXISTS = 138,
COUNT = 139,
SUM = 140,
MIN = 141,
MAX = 142,
AVG = 143,
SAMPLE = 144,
GROUP_CONCAT = 145,
SEPARATOR = 146,
LANGTAG = 147,
DoubleZirkumflex = 148,
DECIMAL = 149,
DOUBLE = 150,
INTEGER_POSITIVE = 151,
DECIMAL_POSITIVE = 152,
DOUBLE_POSITIVE = 153,
INTEGER_NEGATIVE = 154,
DECIMAL_NEGATIVE = 155,
DOUBLE_NEGATIVE = 156,
True = 157,
False = 158,
STRING_LITERAL1 = 159,
STRING_LITERAL2 = 160,
STRING_LITERAL_LONG1 = 161,
STRING_LITERAL_LONG2 = 162,
PNAME_LN = 163,
BLANK_NODE_LABEL = 164,
ANON = 165,
Query = 166,
Prologue = 167,
SelectQuery = 168,
ConstructQuery = 169,
DescribeQuery = 170,
AskQuery = 171,
ValuesClause = 172,
UpdateUnit = 173,
Update = 174,
BaseDecl = 175,
PrefixDecl = 176,
SelectClause = 177,
DatasetClause = 178,
WhereClause = 179,
SolutionModifier = 180,
SubSelect = 181,
Var = 182,
Expression = 183,
ConstructTemplate = 184,
TriplesTemplate = 185,
VarOrIri = 186,
DefaultGraphClause = 187,
NamedGraphClause = 188,
SourceSelector = 189,
iri = 190,
GroupGraphPattern = 191,
GroupClause = 192,
HavingClause = 193,
OrderClause = 194,
LimitOffsetClauses = 195,
GroupCondition = 196,
BuiltInCall = 197,
FunctionCall = 198,
HavingCondition = 199,
Constraint = 200,
OrderCondition = 201,
BrackettedExpression = 202,
LimitClause = 203,
OffsetClause = 204,
DataBlock = 205,
UpdateOne = 206,
Load = 207,
Clear = 208,
Drop = 209,
Move = 210,
Copy = 211,
Create = 212,
InsertData = 213,
DeleteData = 214,
DeleteWhere = 215,
Modify = 216,
GraphRef = 217,
GraphRefAll = 218,
Add = 219,
GraphOrDefault = 220,
QuadData = 221,
QuadPattern = 222,
DeleteClause = 223,
InsertClause = 224,
UsingClause = 225,
Quads = 226,
QuadsNotTriples = 227,
TriplesSameSubject = 228,
GroupGraphPatternSub = 229,
TriplesBlock = 230,
GraphPatternNotTriples = 231,
TriplesSameSubjectPath = 232,
GroupOrUnionGraphPattern = 233,
OptionalGraphPattern = 234,
MinusGraphPattern = 235,
GraphGraphPattern = 236,
ServiceGraphPattern = 237,
Filter = 238,
Bind = 239,
InlineData = 240,
InlineDataOneVar = 241,
InlineDataFull = 242,
DataBlockValue = 243,
RDFLiteral = 244,
NumericLiteral = 245,
BooleanLiteral = 246,
ArgList = 247,
ExpressionList = 248,
ConstructTriples = 249,
VarOrTerm = 250,
PropertyListNotEmpty = 251,
TriplesNode = 252,
PropertyList = 253,
Verb = 254,
ObjectList = 255,
Object = 256,
GraphNode = 257,
PropertyListPathNotEmpty = 258,
TriplesNodePath = 259,
PropertyListPath = 260,
VerbPath = 261,
VerbSimple = 262,
ObjectListPath = 263,
Path = 264,
ObjectPath = 265,
GraphNodePath = 266,
PathAlternative = 267,
PathSequence = 268,
PathEltOrInverse = 269,
PathElt = 270,
PathPrimary = 271,
PathMod = 272,
PathNegatedPropertySet = 273,
PathOneInPropertySet = 274,
Integer = 275,
Collection = 276,
BlankNodePropertyList = 277,
CollectionPath = 278,
BlankNodePropertyListPath = 279,
GraphTerm = 280,
BlankNode = 281,
ConditionalOrExpression = 282,
ConditionalAndExpression = 283,
ValueLogical = 284,
RelationalExpression = 285,
NumericExpression = 286,
AdditiveExpression = 287,
MultiplicativeExpression = 288,
NumericLiteralPositive = 289,
NumericLiteralNegative = 290,
UnaryExpression = 291,
PrimaryExpression = 292,
iriOrFunction = 293,
Aggregate = 294,
SubstringExpression = 295,
StrReplaceExpression = 296,
RegexExpression = 297,
ExistsFunc = 298,
NotExistsFunc = 299,
String = 300,
NumericLiteralUnsigned = 301,
PrefixedName = 302,
QueryUnit = 303,
}Variants§
Eof = 0
Error = 1
WHITESPACE = 2
BASE = 3
IRIREF = 4
PREFIX = 5
PNAME_NS = 6
SELECT = 7
DISTINCT = 8
REDUCED = 9
LParen = 10
AS = 11
RParen = 12
Star = 13
CONSTRUCT = 14
WHERE = 15
LCurly = 16
RCurly = 17
DESCRIBE = 18
ASK = 19
FROM = 20
NAMED = 21
GROUP = 22
BY = 23
HAVING = 24
ORDER = 25
ASC = 26
DESC = 27
LIMIT = 28
INTEGER = 29
OFFSET = 30
VALUES = 31
Semicolon = 32
LOAD = 33
SILENT = 34
INTO = 35
CLEAR = 36
DROP = 37
CREATE = 38
ADD = 39
TO = 40
MOVE = 41
COPY = 42
INSERT = 43
DATA = 44
INSERT_DATA = 45
DELETE_DATA = 46
DELETE_WHERE = 47
DELETE = 48
WITH = 49
USING = 50
DEFAULT = 51
GRAPH = 52
ALL = 53
Dot = 54
OPTIONAL = 55
SERVICE = 56
BIND = 57
NIL = 58
UNDEF = 59
MINUS = 60
UNION = 61
FILTER = 62
Colon = 63
a = 64
Pipe = 65
Slash = 66
Zirkumflex = 67
QuestionMark = 68
Plus = 69
ExclamationMark = 70
LBrack = 71
RBrack = 72
VAR1 = 73
VAR2 = 74
DoublePipe = 75
DoubleAnd = 76
Equals = 77
ExclamationMarkEquals = 78
Less = 79
More = 80
LessEquals = 81
MoreEquals = 82
IN = 83
NOT = 84
Minus = 85
STR = 86
LANG = 87
LANGMATCHES = 88
DATATYPE = 89
BOUND = 90
IRI = 91
URI = 92
BNODE = 93
RAND = 94
ABS = 95
CEIL = 96
FLOOR = 97
ROUND = 98
CONCAT = 99
STRLEN = 100
UCASE = 101
LCASE = 102
ENCODE_FOR_URI = 103
CONTAINS = 104
STRSTARTS = 105
STRENDS = 106
STRBEFORE = 107
STRAFTER = 108
YEAR = 109
MONTH = 110
DAY = 111
HOURS = 112
MINUTES = 113
SECONDS = 114
TIMEZONE = 115
TZ = 116
NOW = 117
UUID = 118
STRUUID = 119
MD5 = 120
SHA1 = 121
SHA256 = 122
SHA384 = 123
SHA512 = 124
COALESCE = 125
IF = 126
STRLANG = 127
STRDT = 128
sameTerm = 129
isIRI = 130
isURI = 131
isBLANK = 132
isLITERAL = 133
isNUMERIC = 134
REGEX = 135
SUBSTR = 136
REPLACE = 137
EXISTS = 138
COUNT = 139
SUM = 140
MIN = 141
MAX = 142
AVG = 143
SAMPLE = 144
GROUP_CONCAT = 145
SEPARATOR = 146
LANGTAG = 147
DoubleZirkumflex = 148
DECIMAL = 149
DOUBLE = 150
INTEGER_POSITIVE = 151
DECIMAL_POSITIVE = 152
DOUBLE_POSITIVE = 153
INTEGER_NEGATIVE = 154
DECIMAL_NEGATIVE = 155
DOUBLE_NEGATIVE = 156
True = 157
False = 158
STRING_LITERAL1 = 159
STRING_LITERAL2 = 160
STRING_LITERAL_LONG1 = 161
STRING_LITERAL_LONG2 = 162
PNAME_LN = 163
BLANK_NODE_LABEL = 164
ANON = 165
Query = 166
Prologue = 167
SelectQuery = 168
ConstructQuery = 169
DescribeQuery = 170
AskQuery = 171
ValuesClause = 172
UpdateUnit = 173
Update = 174
BaseDecl = 175
PrefixDecl = 176
SelectClause = 177
DatasetClause = 178
WhereClause = 179
SolutionModifier = 180
SubSelect = 181
Var = 182
Expression = 183
ConstructTemplate = 184
TriplesTemplate = 185
VarOrIri = 186
DefaultGraphClause = 187
NamedGraphClause = 188
SourceSelector = 189
iri = 190
GroupGraphPattern = 191
GroupClause = 192
HavingClause = 193
OrderClause = 194
LimitOffsetClauses = 195
GroupCondition = 196
BuiltInCall = 197
FunctionCall = 198
HavingCondition = 199
Constraint = 200
OrderCondition = 201
BrackettedExpression = 202
LimitClause = 203
OffsetClause = 204
DataBlock = 205
UpdateOne = 206
Load = 207
Clear = 208
Drop = 209
Move = 210
Copy = 211
Create = 212
InsertData = 213
DeleteData = 214
DeleteWhere = 215
Modify = 216
GraphRef = 217
GraphRefAll = 218
Add = 219
GraphOrDefault = 220
QuadData = 221
QuadPattern = 222
DeleteClause = 223
InsertClause = 224
UsingClause = 225
Quads = 226
QuadsNotTriples = 227
TriplesSameSubject = 228
GroupGraphPatternSub = 229
TriplesBlock = 230
GraphPatternNotTriples = 231
TriplesSameSubjectPath = 232
GroupOrUnionGraphPattern = 233
OptionalGraphPattern = 234
MinusGraphPattern = 235
GraphGraphPattern = 236
ServiceGraphPattern = 237
Filter = 238
Bind = 239
InlineData = 240
InlineDataOneVar = 241
InlineDataFull = 242
DataBlockValue = 243
RDFLiteral = 244
NumericLiteral = 245
BooleanLiteral = 246
ArgList = 247
ExpressionList = 248
ConstructTriples = 249
VarOrTerm = 250
PropertyListNotEmpty = 251
TriplesNode = 252
PropertyList = 253
Verb = 254
ObjectList = 255
Object = 256
GraphNode = 257
PropertyListPathNotEmpty = 258
TriplesNodePath = 259
PropertyListPath = 260
VerbPath = 261
VerbSimple = 262
ObjectListPath = 263
Path = 264
ObjectPath = 265
GraphNodePath = 266
PathAlternative = 267
PathSequence = 268
PathEltOrInverse = 269
PathElt = 270
PathPrimary = 271
PathMod = 272
PathNegatedPropertySet = 273
PathOneInPropertySet = 274
Integer = 275
Collection = 276
BlankNodePropertyList = 277
CollectionPath = 278
BlankNodePropertyListPath = 279
GraphTerm = 280
BlankNode = 281
ConditionalOrExpression = 282
ConditionalAndExpression = 283
ValueLogical = 284
RelationalExpression = 285
NumericExpression = 286
AdditiveExpression = 287
MultiplicativeExpression = 288
NumericLiteralPositive = 289
NumericLiteralNegative = 290
UnaryExpression = 291
PrimaryExpression = 292
iriOrFunction = 293
Aggregate = 294
SubstringExpression = 295
StrReplaceExpression = 296
RegexExpression = 297
ExistsFunc = 298
NotExistsFunc = 299
String = 300
NumericLiteralUnsigned = 301
PrefixedName = 302
QueryUnit = 303
Implementations§
Trait Implementations§
Source§impl Clone for SyntaxKind
impl Clone for SyntaxKind
Source§fn clone(&self) -> SyntaxKind
fn clone(&self) -> SyntaxKind
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SyntaxKind
impl Debug for SyntaxKind
Source§impl From<SyntaxKind> for SyntaxKind
impl From<SyntaxKind> for SyntaxKind
Source§fn from(kind: SyntaxKind) -> Self
fn from(kind: SyntaxKind) -> Self
Converts to this type from the input type.
Source§impl Hash for SyntaxKind
impl Hash for SyntaxKind
Source§impl<'s> Logos<'s> for SyntaxKind
impl<'s> Logos<'s> for SyntaxKind
Source§type Error = ()
type Error = ()
Error type returned by the lexer. This can be set using
#[logos(error = MyError)]. Defaults to () if not set.Source§type Extras = ()
type Extras = ()
Associated type
Extras for the particular lexer. This can be set using
#[logos(extras = MyExtras)] and accessed inside callbacks.Source§type Source = str
type Source = str
Source type this token can be lexed from. This will default to
str,
unless one of the defined patterns explicitly uses non-unicode byte values
or byte slices, in which case that implementation will use [u8].Source§fn lex(lex: &mut Lexer<'s, Self>)
fn lex(lex: &mut Lexer<'s, Self>)
The heart of Logos. Called by the
Lexer. The implementation for this function
is generated by the logos-derive crate.Source§impl Ord for SyntaxKind
impl Ord for SyntaxKind
Source§fn cmp(&self, other: &SyntaxKind) -> Ordering
fn cmp(&self, other: &SyntaxKind) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for SyntaxKind
impl PartialEq for SyntaxKind
Source§impl PartialOrd for SyntaxKind
impl PartialOrd for SyntaxKind
impl Copy for SyntaxKind
impl Eq for SyntaxKind
impl StructuralPartialEq for SyntaxKind
Auto Trait Implementations§
impl Freeze for SyntaxKind
impl RefUnwindSafe for SyntaxKind
impl Send for SyntaxKind
impl Sync for SyntaxKind
impl Unpin for SyntaxKind
impl UnwindSafe for SyntaxKind
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more