Enum SyntaxKind

Source
#[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, OFFSET = 29, VALUES = 30, Semicolon = 31, LOAD = 32, SILENT = 33, INTO = 34, CLEAR = 35, DROP = 36, CREATE = 37, ADD = 38, TO = 39, MOVE = 40, COPY = 41, INSERT = 42, DATA = 43, INSERT_DATA = 44, DELETE_DATA = 45, DELETE_WHERE = 46, DELETE = 47, WITH = 48, USING = 49, DEFAULT = 50, GRAPH = 51, ALL = 52, Dot = 53, OPTIONAL = 54, SERVICE = 55, BIND = 56, NIL = 57, UNDEF = 58, MINUS = 59, UNION = 60, FILTER = 61, Colon = 62, a = 63, Pipe = 64, Slash = 65, Zirkumflex = 66, QuestionMark = 67, Plus = 68, ExclamationMark = 69, LBrack = 70, RBrack = 71, VAR1 = 72, VAR2 = 73, DoublePipe = 74, DoubleAnd = 75, Equals = 76, ExclamationMarkEquals = 77, Less = 78, More = 79, LessEquals = 80, MoreEquals = 81, IN = 82, NOT = 83, Minus = 84, STR = 85, LANG = 86, LANGMATCHES = 87, DATATYPE = 88, BOUND = 89, IRI = 90, URI = 91, BNODE = 92, RAND = 93, ABS = 94, CEIL = 95, FLOOR = 96, ROUND = 97, CONCAT = 98, STRLEN = 99, UCASE = 100, LCASE = 101, ENCODE_FOR_URI = 102, CONTAINS = 103, STRSTARTS = 104, STRENDS = 105, STRBEFORE = 106, STRAFTER = 107, YEAR = 108, MONTH = 109, DAY = 110, HOURS = 111, MINUTES = 112, SECONDS = 113, TIMEZONE = 114, TZ = 115, NOW = 116, UUID = 117, STRUUID = 118, MD5 = 119, SHA1 = 120, SHA256 = 121, SHA384 = 122, SHA512 = 123, COALESCE = 124, IF = 125, STRLANG = 126, STRDT = 127, sameTerm = 128, isIRI = 129, isURI = 130, isBLANK = 131, isLITERAL = 132, isNUMERIC = 133, REGEX = 134, SUBSTR = 135, REPLACE = 136, EXISTS = 137, COUNT = 138, SUM = 139, MIN = 140, MAX = 141, AVG = 142, SAMPLE = 143, GROUP_CONCAT = 144, SEPARATOR = 145, LANGTAG = 146, DoubleZirkumflex = 147, INTEGER = 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, QueryUnit = 166, Query = 167, Prologue = 168, SelectQuery = 169, ConstructQuery = 170, DescribeQuery = 171, AskQuery = 172, ValuesClause = 173, UpdateUnit = 174, Update = 175, BaseDecl = 176, PrefixDecl = 177, SelectClause = 178, DatasetClause = 179, WhereClause = 180, SolutionModifier = 181, SubSelect = 182, Var = 183, Expression = 184, ConstructTemplate = 185, TriplesTemplate = 186, VarOrIri = 187, DefaultGraphClause = 188, NamedGraphClause = 189, SourceSelector = 190, iri = 191, GroupGraphPattern = 192, GroupClause = 193, HavingClause = 194, OrderClause = 195, LimitOffsetClauses = 196, GroupCondition = 197, BuiltInCall = 198, FunctionCall = 199, HavingCondition = 200, Constraint = 201, OrderCondition = 202, BrackettedExpression = 203, LimitClause = 204, OffsetClause = 205, DataBlock = 206, UpdateOne = 207, Load = 208, Clear = 209, Drop = 210, Add = 211, Move = 212, Copy = 213, Create = 214, InsertData = 215, DeleteData = 216, DeleteWhere = 217, Modify = 218, GraphRef = 219, GraphRefAll = 220, GraphOrDefault = 221, QuadData = 222, QuadPattern = 223, DeleteClause = 224, InsertClause = 225, UsingClause = 226, Quads = 227, QuadsNotTriples = 228, TriplesSameSubject = 229, GroupGraphPatternSub = 230, TriplesBlock = 231, GraphPatternNotTriples = 232, TriplesSameSubjectPath = 233, GroupOrUnionGraphPattern = 234, OptionalGraphPattern = 235, MinusGraphPattern = 236, GraphGraphPattern = 237, ServiceGraphPattern = 238, Filter = 239, Bind = 240, InlineData = 241, InlineDataOneVar = 242, InlineDataFull = 243, DataBlockValue = 244, RDFLiteral = 245, NumericLiteral = 246, BooleanLiteral = 247, ArgList = 248, ExpressionList = 249, ConstructTriples = 250, VarOrTerm = 251, PropertyListNotEmpty = 252, TriplesNode = 253, PropertyList = 254, Verb = 255, ObjectList = 256, Object = 257, GraphNode = 258, PropertyListPathNotEmpty = 259, TriplesNodePath = 260, PropertyListPath = 261, VerbPath = 262, VerbSimple = 263, ObjectListPath = 264, Path = 265, ObjectPath = 266, GraphNodePath = 267, PathAlternative = 268, PathSequence = 269, PathEltOrInverse = 270, PathElt = 271, PathPrimary = 272, PathMod = 273, PathNegatedPropertySet = 274, PathOneInPropertySet = 275, Integer = 276, Collection = 277, BlankNodePropertyList = 278, CollectionPath = 279, BlankNodePropertyListPath = 280, GraphTerm = 281, BlankNode = 282, ConditionalOrExpression = 283, ConditionalAndExpression = 284, ValueLogical = 285, RelationalExpression = 286, NumericExpression = 287, AdditiveExpression = 288, MultiplicativeExpression = 289, NumericLiteralPositive = 290, NumericLiteralNegative = 291, UnaryExpression = 292, PrimaryExpression = 293, iriOrFunction = 294, Aggregate = 295, SubstringExpression = 296, StrReplaceExpression = 297, RegexExpression = 298, ExistsFunc = 299, NotExistsFunc = 300, String = 301, NumericLiteralUnsigned = 302, PrefixedName = 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

§

OFFSET = 29

§

VALUES = 30

§

Semicolon = 31

§

LOAD = 32

§

SILENT = 33

§

INTO = 34

§

CLEAR = 35

§

DROP = 36

§

CREATE = 37

§

ADD = 38

§

TO = 39

§

MOVE = 40

§

COPY = 41

§

INSERT = 42

§

DATA = 43

§

INSERT_DATA = 44

§

DELETE_DATA = 45

§

DELETE_WHERE = 46

§

DELETE = 47

§

WITH = 48

§

USING = 49

§

DEFAULT = 50

§

GRAPH = 51

§

ALL = 52

§

Dot = 53

§

OPTIONAL = 54

§

SERVICE = 55

§

BIND = 56

§

NIL = 57

§

UNDEF = 58

§

MINUS = 59

§

UNION = 60

§

FILTER = 61

§

Colon = 62

§

a = 63

§

Pipe = 64

§

Slash = 65

§

Zirkumflex = 66

§

QuestionMark = 67

§

Plus = 68

§

ExclamationMark = 69

§

LBrack = 70

§

RBrack = 71

§

VAR1 = 72

§

VAR2 = 73

§

DoublePipe = 74

§

DoubleAnd = 75

§

Equals = 76

§

ExclamationMarkEquals = 77

§

Less = 78

§

More = 79

§

LessEquals = 80

§

MoreEquals = 81

§

IN = 82

§

NOT = 83

§

Minus = 84

§

STR = 85

§

LANG = 86

§

LANGMATCHES = 87

§

DATATYPE = 88

§

BOUND = 89

§

IRI = 90

§

URI = 91

§

BNODE = 92

§

RAND = 93

§

ABS = 94

§

CEIL = 95

§

FLOOR = 96

§

ROUND = 97

§

CONCAT = 98

§

STRLEN = 99

§

UCASE = 100

§

LCASE = 101

§

ENCODE_FOR_URI = 102

§

CONTAINS = 103

§

STRSTARTS = 104

§

STRENDS = 105

§

STRBEFORE = 106

§

STRAFTER = 107

§

YEAR = 108

§

MONTH = 109

§

DAY = 110

§

HOURS = 111

§

MINUTES = 112

§

SECONDS = 113

§

TIMEZONE = 114

§

TZ = 115

§

NOW = 116

§

UUID = 117

§

STRUUID = 118

§

MD5 = 119

§

SHA1 = 120

§

SHA256 = 121

§

SHA384 = 122

§

SHA512 = 123

§

COALESCE = 124

§

IF = 125

§

STRLANG = 126

§

STRDT = 127

§

sameTerm = 128

§

isIRI = 129

§

isURI = 130

§

isBLANK = 131

§

isLITERAL = 132

§

isNUMERIC = 133

§

REGEX = 134

§

SUBSTR = 135

§

REPLACE = 136

§

EXISTS = 137

§

COUNT = 138

§

SUM = 139

§

MIN = 140

§

MAX = 141

§

AVG = 142

§

SAMPLE = 143

§

GROUP_CONCAT = 144

§

SEPARATOR = 145

§

LANGTAG = 146

§

DoubleZirkumflex = 147

§

INTEGER = 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

§

QueryUnit = 166

QueryUnit => Query

§

Query = 167

Query => Prologue (SelectQuery | ConstructQuery | DescribeQuery | AskQuery) ValuesClause

§

Prologue = 168

Prologue => (BaseDecl | PrefixDecl)*

§

SelectQuery = 169

SelectQuery => SelectClause DatasetClause* WhereClause SolutionModifier

§

ConstructQuery = 170

ConstructQuery => ‘CONSTRUCT’ (ConstructTemplate DatasetClause* WhereClause SolutionModifier | DatasetClause* ‘WHERE’ ‘{’ TriplesTemplate? ‘}’ SolutionModifier)

§

DescribeQuery = 171

DescribeQuery => ‘DESCRIBE’ (VarOrIri VarOrIri* | ‘’) DatasetClause WhereClause? SolutionModifier

§

AskQuery = 172

AskQuery => ‘ASK’ DatasetClause* WhereClause SolutionModifier

§

ValuesClause = 173

ValuesClause => (‘VALUES’ DataBlock)?

§

UpdateUnit = 174

UpdateUnit => Update

§

Update = 175

Update => Prologue (UpdateOne (‘;’ Update)?)?

§

BaseDecl = 176

BaseDecl => ‘BASE’ ‘IRIREF’

§

PrefixDecl = 177

PrefixDecl => ‘PREFIX’ ‘PNAME_NS’ ‘IRIREF’

§

SelectClause = 178

SelectClause => ‘SELECT’ (‘DISTINCT’ | ‘REDUCED’)? ((Var | ‘(’ Expression ‘AS’ Var ‘)’) (Var | ‘(’ Expression ‘AS’ Var ‘)’)* | ‘*’)

§

DatasetClause = 179

DatasetClause => ‘FROM’ (DefaultGraphClause | NamedGraphClause)

§

WhereClause = 180

WhereClause => ‘WHERE’? GroupGraphPattern

§

SolutionModifier = 181

SolutionModifier => GroupClause? HavingClause? OrderClause? LimitOffsetClauses?

§

SubSelect = 182

SubSelect => SelectClause WhereClause SolutionModifier ValuesClause

§

Var = 183

Var => ‘VAR1’ | ‘VAR2’

§

Expression = 184

Expression => ConditionalOrExpression

§

ConstructTemplate = 185

ConstructTemplate => ‘{’ ConstructTriples? ‘}’

§

TriplesTemplate = 186

TriplesTemplate => TriplesSameSubject (‘.’ TriplesTemplate?)?

§

VarOrIri = 187

VarOrIri => Var | iri

§

DefaultGraphClause = 188

DefaultGraphClause => SourceSelector

§

NamedGraphClause = 189

NamedGraphClause => ‘NAMED’ SourceSelector

§

SourceSelector = 190

SourceSelector => iri

§

iri = 191

iri => ‘IRIREF’ | PrefixedName

§

GroupGraphPattern = 192

GroupGraphPattern => ‘{’ (SubSelect | GroupGraphPatternSub) ‘}’

§

GroupClause = 193

GroupClause => ‘GROUP’ ‘BY’ GroupCondition GroupCondition*

§

HavingClause = 194

HavingClause => ‘HAVING’ HavingCondition HavingCondition*

§

OrderClause = 195

OrderClause => ‘ORDER’ ‘BY’ OrderCondition OrderCondition*

§

LimitOffsetClauses = 196

LimitOffsetClauses => LimitClause OffsetClause? | OffsetClause LimitClause?

§

GroupCondition = 197

GroupCondition => BuiltInCall | FunctionCall | ‘(’ Expression (‘AS’ Var)? ‘)’ | Var

§

BuiltInCall = 198

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 = 199

FunctionCall => iri ArgList

§

HavingCondition = 200

HavingCondition => Constraint

§

Constraint = 201

Constraint => BrackettedExpression | BuiltInCall | FunctionCall

§

OrderCondition = 202

OrderCondition => (‘ASC’ | ‘DESC’) BrackettedExpression | Constraint | Var

§

BrackettedExpression = 203

BrackettedExpression => ‘(’ Expression ‘)’

§

LimitClause = 204

LimitClause => ‘LIMIT’ ‘INTEGER’

§

OffsetClause = 205

OffsetClause => ‘OFFSET’ ‘INTEGER’

§

DataBlock = 206

DataBlock => InlineDataOneVar | InlineDataFull

§

UpdateOne = 207

UpdateOne => Load | Clear | Drop | Add | Move | Copy | Create | InsertData | DeleteData | DeleteWhere | Modify

§

Load = 208

Load => ‘LOAD’ ‘SILENT’? iri (‘INTO’ GraphRef)?

§

Clear = 209

Clear => ‘CLEAR’ ‘SILENT’? GraphRefAll

§

Drop = 210

Drop => ‘DROP’ ‘SILENT’? GraphRefAll

§

Add = 211

Add => ‘ADD’ ‘SILENT’? GraphOrDefault ‘TO’ GraphOrDefault

§

Move = 212

Move => ‘MOVE’ ‘SILENT’? GraphOrDefault ‘TO’ GraphOrDefault

§

Copy = 213

Copy => ‘COPY’ ‘SILENT’? GraphOrDefault ‘TO’ GraphOrDefault

§

Create = 214

Create => ‘CREATE’ ‘SILENT’? GraphRef

§

InsertData = 215

InsertData => ‘INSERT_DATA’ QuadData

§

DeleteData = 216

DeleteData => ‘DELETE_DATA’ QuadData

§

DeleteWhere = 217

DeleteWhere => ‘DELETE_WHERE’ QuadPattern

§

Modify = 218

Modify => (‘WITH’ iri)? (DeleteClause InsertClause? | InsertClause) UsingClause* ‘WHERE’ GroupGraphPattern

§

GraphRef = 219

GraphRef => ‘GRAPH’ iri

§

GraphRefAll = 220

GraphRefAll => GraphRef | ‘DEFAULT’ | ‘NAMED’ | ‘ALL’

§

GraphOrDefault = 221

GraphOrDefault => ‘DEFAULT’ | ‘GRAPH’? iri

§

QuadData = 222

QuadData => ‘{’ Quads ‘}’

§

QuadPattern = 223

QuadPattern => ‘{’ Quads ‘}’

§

DeleteClause = 224

DeleteClause => ‘DELETE’ QuadPattern

§

InsertClause = 225

InsertClause => ‘INSERT’ QuadPattern

§

UsingClause = 226

UsingClause => ‘USING’ (iri | ‘NAMED’ iri)

§

Quads = 227

Quads => TriplesTemplate? (QuadsNotTriples ‘.’? TriplesTemplate?)*

§

QuadsNotTriples = 228

QuadsNotTriples => ‘GRAPH’ VarOrIri ‘{’ TriplesTemplate? ‘}’

§

TriplesSameSubject = 229

TriplesSameSubject => VarOrTerm PropertyListNotEmpty | TriplesNode PropertyList

§

GroupGraphPatternSub = 230

GroupGraphPatternSub => TriplesBlock? (GraphPatternNotTriples ‘.’? TriplesBlock?)*

§

TriplesBlock = 231

TriplesBlock => TriplesSameSubjectPath (‘.’ TriplesBlock?)?

§

GraphPatternNotTriples = 232

GraphPatternNotTriples => GroupOrUnionGraphPattern | OptionalGraphPattern | MinusGraphPattern | GraphGraphPattern | ServiceGraphPattern | Filter | Bind | InlineData

§

TriplesSameSubjectPath = 233

TriplesSameSubjectPath => VarOrTerm PropertyListPathNotEmpty | TriplesNodePath PropertyListPath

§

GroupOrUnionGraphPattern = 234

GroupOrUnionGraphPattern => GroupGraphPattern (‘UNION’ GroupGraphPattern)*

§

OptionalGraphPattern = 235

OptionalGraphPattern => ‘OPTIONAL’ GroupGraphPattern

§

MinusGraphPattern = 236

MinusGraphPattern => ‘MINUS’ GroupGraphPattern

§

GraphGraphPattern = 237

GraphGraphPattern => ‘GRAPH’ VarOrIri GroupGraphPattern

§

ServiceGraphPattern = 238

ServiceGraphPattern => ‘SERVICE’ ‘SILENT’? VarOrIri GroupGraphPattern

§

Filter = 239

Filter => ‘FILTER’ Constraint

§

Bind = 240

Bind => ‘BIND’ ‘(’ Expression ‘AS’ Var ‘)’

§

InlineData = 241

InlineData => ‘VALUES’ DataBlock

§

InlineDataOneVar = 242

InlineDataOneVar => Var ‘{’ DataBlockValue* ‘}’

§

InlineDataFull = 243

InlineDataFull => (‘NIL’ | ‘(’ Var* ‘)’) ‘{’ (‘(’ DataBlockValue* ‘)’ | ‘NIL’)* ‘}’

§

DataBlockValue = 244

DataBlockValue => iri | RDFLiteral | NumericLiteral | BooleanLiteral | ‘UNDEF’

§

RDFLiteral = 245

RDFLiteral => String (‘LANGTAG’ | ‘^^’ iri)?

§

NumericLiteral = 246

NumericLiteral => NumericLiteralUnsigned | NumericLiteralPositive | NumericLiteralNegative

§

BooleanLiteral = 247

BooleanLiteral => ‘true’ | ‘false’

§

ArgList = 248

ArgList => ‘NIL’ | ‘(’ ‘DISTINCT’? Expression (‘,’ Expression)* ‘)’

§

ExpressionList = 249

ExpressionList => ‘NIL’ | ‘(’ Expression (‘,’ Expression)* ‘)’

§

ConstructTriples = 250

ConstructTriples => TriplesSameSubject (‘.’ ConstructTriples?)?

§

VarOrTerm = 251

VarOrTerm => Var | GraphTerm

§

PropertyListNotEmpty = 252

PropertyListNotEmpty => Verb ObjectList (‘;’ (Verb ObjectList)?)*

§

TriplesNode = 253

TriplesNode => Collection | BlankNodePropertyList

§

PropertyList = 254

PropertyList => PropertyListNotEmpty?

§

Verb = 255

Verb => VarOrIri | ‘a’

§

ObjectList = 256

ObjectList => Object (‘,’ Object)*

§

Object = 257

Object => GraphNode

§

GraphNode = 258

GraphNode => VarOrTerm | TriplesNode

§

PropertyListPathNotEmpty = 259

PropertyListPathNotEmpty => (VerbPath | VerbSimple) ObjectListPath (‘;’ ((VerbPath | VerbSimple) ObjectList)?)*

§

TriplesNodePath = 260

TriplesNodePath => CollectionPath | BlankNodePropertyListPath

§

PropertyListPath = 261

PropertyListPath => PropertyListPathNotEmpty?

§

VerbPath = 262

VerbPath => Path

§

VerbSimple = 263

VerbSimple => Var

§

ObjectListPath = 264

ObjectListPath => ObjectPath (‘,’ ObjectPath)*

§

Path = 265

Path => PathAlternative

§

ObjectPath = 266

ObjectPath => GraphNodePath

§

GraphNodePath = 267

GraphNodePath => VarOrTerm | TriplesNodePath

§

PathAlternative = 268

PathAlternative => PathSequence (‘|’ PathSequence)*

§

PathSequence = 269

PathSequence => PathEltOrInverse (‘/’ PathEltOrInverse)*

§

PathEltOrInverse = 270

PathEltOrInverse => PathElt | ‘^’ PathElt

§

PathElt = 271

PathElt => PathPrimary PathMod?

§

PathPrimary = 272

PathPrimary => iri | ‘a’ | ‘!’ PathNegatedPropertySet | ‘(’ Path ‘)’

§

PathMod = 273

PathMod => ‘?’ | ‘*’ | ‘+’

§

PathNegatedPropertySet = 274

PathNegatedPropertySet => PathOneInPropertySet | ‘(’ (PathOneInPropertySet (‘|’ PathOneInPropertySet)*)? ‘)’

§

PathOneInPropertySet = 275

PathOneInPropertySet => iri | ‘a’ | ‘^’ (iri | ‘a’)

§

Integer = 276

Integer => ‘INTEGER’

§

Collection = 277

Collection => ‘(’ GraphNode GraphNode* ‘)’

§

BlankNodePropertyList = 278

BlankNodePropertyList => ‘[’ PropertyListNotEmpty ‘]’

§

CollectionPath = 279

CollectionPath => ‘(’ GraphNodePath GraphNodePath* ‘)’

§

BlankNodePropertyListPath = 280

BlankNodePropertyListPath => ‘[’ PropertyListPathNotEmpty ‘]’

§

GraphTerm = 281

GraphTerm => iri | RDFLiteral | NumericLiteral | BooleanLiteral | BlankNode | ‘NIL’

§

BlankNode = 282

BlankNode => ‘BLANK_NODE_LABEL’ | ‘ANON’

§

ConditionalOrExpression = 283

ConditionalOrExpression => ConditionalAndExpression (‘||’ ConditionalAndExpression)*

§

ConditionalAndExpression = 284

ConditionalAndExpression => ValueLogical (‘&&’ ValueLogical)*

§

ValueLogical = 285

ValueLogical => RelationalExpression

§

RelationalExpression = 286

RelationalExpression => NumericExpression (‘=’ NumericExpression | ‘!=’ NumericExpression | ‘<’ NumericExpression | ‘>’ NumericExpression | ‘<=’ NumericExpression | ‘>=’ NumericExpression | ‘IN’ ExpressionList | ‘NOT’ ‘IN’ ExpressionList)?

§

NumericExpression = 287

NumericExpression => AdditiveExpression

§

AdditiveExpression = 288

AdditiveExpression => MultiplicativeExpression (‘+’ MultiplicativeExpression | ‘-’ MultiplicativeExpression | (NumericLiteralPositive | NumericLiteralNegative) (‘’ UnaryExpression | ‘/’ UnaryExpression))*

§

MultiplicativeExpression = 289

MultiplicativeExpression => UnaryExpression (‘’ UnaryExpression | ‘/’ UnaryExpression)

§

NumericLiteralPositive = 290

NumericLiteralPositive => ‘INTEGER_POSITIVE’ | ‘DECIMAL_POSITIVE’ | ‘DOUBLE_POSITIVE’

§

NumericLiteralNegative = 291

NumericLiteralNegative => ‘INTEGER_NEGATIVE’ | ‘DECIMAL_NEGATIVE’ | ‘DOUBLE_NEGATIVE’

§

UnaryExpression = 292

UnaryExpression => ‘!’ PrimaryExpression | ‘+’ PrimaryExpression | ‘-’ PrimaryExpression | PrimaryExpression

§

PrimaryExpression = 293

PrimaryExpression => BrackettedExpression | BuiltInCall | iriOrFunction | RDFLiteral | NumericLiteral | BooleanLiteral | Var

§

iriOrFunction = 294

iriOrFunction => iri ArgList?

§

Aggregate = 295

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 = 296

SubstringExpression => ‘SUBSTR’ ‘(’ Expression ‘,’ Expression (‘,’ Expression)? ‘)’

§

StrReplaceExpression = 297

StrReplaceExpression => ‘REPLACE’ ‘(’ Expression ‘,’ Expression ‘,’ Expression (‘,’ Expression)? ‘)’

§

RegexExpression = 298

RegexExpression => ‘REGEX’ ‘(’ Expression ‘,’ Expression (‘,’ Expression)? ‘)’

§

ExistsFunc = 299

ExistsFunc => ‘EXISTS’ GroupGraphPattern

§

NotExistsFunc = 300

NotExistsFunc => ‘NOT’ ‘EXISTS’ GroupGraphPattern

§

String = 301

String => ‘STRING_LITERAL1’ | ‘STRING_LITERAL2’ | ‘STRING_LITERAL_LONG1’ | ‘STRING_LITERAL_LONG2’

§

NumericLiteralUnsigned = 302

NumericLiteralUnsigned => ‘INTEGER’ | ‘DECIMAL’ | ‘DOUBLE’

§

PrefixedName = 303

PrefixedName => ‘PNAME_LN’ | ‘PNAME_NS’

Implementations§

Trait Implementations§

Source§

impl Clone for SyntaxKind

Source§

fn clone(&self) -> SyntaxKind

Returns a copy of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for SyntaxKind

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl From<SyntaxKind> for SyntaxKind

Source§

fn from(kind: SyntaxKind) -> Self

Converts to this type from the input type.
Source§

impl Hash for SyntaxKind

Source§

fn hash<__H: Hasher>(&self, state: &mut __H)

Feeds this value into the given Hasher. Read more
1.3.0 · Source§

fn hash_slice<H>(data: &[Self], state: &mut H)
where H: Hasher, Self: Sized,

Feeds a slice of this type into the given Hasher. Read more
Source§

impl<'s> Logos<'s> for SyntaxKind

Source§

type Error = ()

Error type returned by the lexer. This can be set using #[logos(error = MyError)]. Defaults to () if not set.
Source§

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

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>)

The heart of Logos. Called by the Lexer. The implementation for this function is generated by the logos-derive crate.
Source§

fn lexer(source: &'source Self::Source) -> Lexer<'source, Self>
where Self::Extras: Default,

Create a new instance of a Lexer that will produce tokens implementing this Logos.
Source§

fn lexer_with_extras( source: &'source Self::Source, extras: Self::Extras, ) -> Lexer<'source, Self>

Create a new instance of a Lexer with the provided Extras that will produce tokens implementing this Logos.
Source§

impl Ord for SyntaxKind

Source§

fn cmp(&self, other: &SyntaxKind) -> Ordering

This method returns an Ordering between self and other. Read more
1.21.0 · Source§

fn max(self, other: Self) -> Self
where Self: Sized,

Compares and returns the maximum of two values. Read more
1.21.0 · Source§

fn min(self, other: Self) -> Self
where Self: Sized,

Compares and returns the minimum of two values. Read more
1.50.0 · Source§

fn clamp(self, min: Self, max: Self) -> Self
where Self: Sized,

Restrict a value to a certain interval. Read more
Source§

impl PartialEq for SyntaxKind

Source§

fn eq(&self, other: &SyntaxKind) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl PartialOrd for SyntaxKind

Source§

fn partial_cmp(&self, other: &SyntaxKind) -> Option<Ordering>

This method returns an ordering between self and other values if one exists. Read more
1.0.0 · Source§

fn lt(&self, other: &Rhs) -> bool

Tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · Source§

fn le(&self, other: &Rhs) -> bool

Tests less than or equal to (for self and other) and is used by the <= operator. Read more
1.0.0 · Source§

fn gt(&self, other: &Rhs) -> bool

Tests greater than (for self and other) and is used by the > operator. Read more
1.0.0 · Source§

fn ge(&self, other: &Rhs) -> bool

Tests greater than or equal to (for self and other) and is used by the >= operator. Read more
Source§

impl Copy for SyntaxKind

Source§

impl Eq for SyntaxKind

Source§

impl StructuralPartialEq for SyntaxKind

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<Q, K> Equivalent<K> for Q
where Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,

Source§

fn equivalent(&self, key: &K) -> bool

Checks if this value is equivalent to the given key. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.