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