Enum SyntaxKind

Source
#[repr(u16)]
pub enum SyntaxKind {
Show 305 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, DESCRIBE = 19, ASK = 20, FROM = 21, NAMED = 22, GROUP = 23, BY = 24, HAVING = 25, ORDER = 26, ASC = 27, DESC = 28, LIMIT = 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, Comma = 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, INTEGER = 149, DECIMAL = 150, DOUBLE = 151, INTEGER_POSITIVE = 152, DECIMAL_POSITIVE = 153, DOUBLE_POSITIVE = 154, INTEGER_NEGATIVE = 155, DECIMAL_NEGATIVE = 156, DOUBLE_NEGATIVE = 157, True = 158, False = 159, STRING_LITERAL1 = 160, STRING_LITERAL2 = 161, STRING_LITERAL_LONG1 = 162, STRING_LITERAL_LONG2 = 163, PNAME_LN = 164, BLANK_NODE_LABEL = 165, ANON = 166, QueryUnit = 167, Query = 168, Prologue = 169, SelectQuery = 170, ConstructQuery = 171, DescribeQuery = 172, AskQuery = 173, ValuesClause = 174, UpdateUnit = 175, Update = 176, BaseDecl = 177, PrefixDecl = 178, SelectClause = 179, DatasetClause = 180, WhereClause = 181, SolutionModifier = 182, SubSelect = 183, Var = 184, Expression = 185, ConstructTemplate = 186, TriplesTemplate = 187, VarOrIri = 188, DefaultGraphClause = 189, NamedGraphClause = 190, SourceSelector = 191, iri = 192, GroupGraphPattern = 193, GroupClause = 194, HavingClause = 195, OrderClause = 196, LimitOffsetClauses = 197, GroupCondition = 198, BuiltInCall = 199, FunctionCall = 200, HavingCondition = 201, Constraint = 202, OrderCondition = 203, BrackettedExpression = 204, LimitClause = 205, OffsetClause = 206, DataBlock = 207, UpdateOne = 208, Load = 209, Clear = 210, Drop = 211, Add = 212, Move = 213, Copy = 214, Create = 215, InsertData = 216, DeleteData = 217, DeleteWhere = 218, Modify = 219, GraphRef = 220, GraphRefAll = 221, GraphOrDefault = 222, QuadData = 223, QuadPattern = 224, DeleteClause = 225, InsertClause = 226, UsingClause = 227, Quads = 228, QuadsNotTriples = 229, TriplesSameSubject = 230, GroupGraphPatternSub = 231, TriplesBlock = 232, GraphPatternNotTriples = 233, TriplesSameSubjectPath = 234, GroupOrUnionGraphPattern = 235, OptionalGraphPattern = 236, MinusGraphPattern = 237, GraphGraphPattern = 238, ServiceGraphPattern = 239, Filter = 240, Bind = 241, InlineData = 242, InlineDataOneVar = 243, InlineDataFull = 244, DataBlockValue = 245, RDFLiteral = 246, NumericLiteral = 247, BooleanLiteral = 248, ArgList = 249, ExpressionList = 250, ConstructTriples = 251, VarOrTerm = 252, PropertyListNotEmpty = 253, TriplesNode = 254, PropertyList = 255, Verb = 256, ObjectList = 257, Object = 258, GraphNode = 259, PropertyListPathNotEmpty = 260, TriplesNodePath = 261, PropertyListPath = 262, VerbPath = 263, VerbSimple = 264, ObjectListPath = 265, Path = 266, ObjectPath = 267, GraphNodePath = 268, PathAlternative = 269, PathSequence = 270, PathEltOrInverse = 271, PathElt = 272, PathPrimary = 273, PathMod = 274, PathNegatedPropertySet = 275, PathOneInPropertySet = 276, Integer = 277, Collection = 278, BlankNodePropertyList = 279, CollectionPath = 280, BlankNodePropertyListPath = 281, GraphTerm = 282, BlankNode = 283, ConditionalOrExpression = 284, ConditionalAndExpression = 285, ValueLogical = 286, RelationalExpression = 287, NumericExpression = 288, AdditiveExpression = 289, MultiplicativeExpression = 290, NumericLiteralPositive = 291, NumericLiteralNegative = 292, UnaryExpression = 293, PrimaryExpression = 294, iriOrFunction = 295, Aggregate = 296, SubstringExpression = 297, StrReplaceExpression = 298, RegexExpression = 299, ExistsFunc = 300, NotExistsFunc = 301, String = 302, NumericLiteralUnsigned = 303, PrefixedName = 304,
}

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

§

DESCRIBE = 19

§

ASK = 20

§

FROM = 21

§

NAMED = 22

§

GROUP = 23

§

BY = 24

§

HAVING = 25

§

ORDER = 26

§

ASC = 27

§

DESC = 28

§

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

§

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

§

INTEGER = 149

§

DECIMAL = 150

§

DOUBLE = 151

§

INTEGER_POSITIVE = 152

§

DECIMAL_POSITIVE = 153

§

DOUBLE_POSITIVE = 154

§

INTEGER_NEGATIVE = 155

§

DECIMAL_NEGATIVE = 156

§

DOUBLE_NEGATIVE = 157

§

True = 158

§

False = 159

§

STRING_LITERAL1 = 160

§

STRING_LITERAL2 = 161

§

STRING_LITERAL_LONG1 = 162

§

STRING_LITERAL_LONG2 = 163

§

PNAME_LN = 164

§

BLANK_NODE_LABEL = 165

§

ANON = 166

§

QueryUnit = 167

QueryUnit => Query

§

Query = 168

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

§

Prologue = 169

Prologue => (BaseDecl | PrefixDecl)*

§

SelectQuery = 170

SelectQuery => SelectClause DatasetClause* WhereClause SolutionModifier

§

ConstructQuery = 171

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

§

DescribeQuery = 172

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

§

AskQuery = 173

AskQuery => ‘ASK’ DatasetClause* WhereClause SolutionModifier

§

ValuesClause = 174

ValuesClause => (‘VALUES’ DataBlock)?

§

UpdateUnit = 175

UpdateUnit => Update

§

Update = 176

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

§

BaseDecl = 177

BaseDecl => ‘BASE’ ‘IRIREF’

§

PrefixDecl = 178

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

§

SelectClause = 179

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

§

DatasetClause = 180

DatasetClause => ‘FROM’ (DefaultGraphClause | NamedGraphClause)

§

WhereClause = 181

WhereClause => ‘WHERE’? GroupGraphPattern

§

SolutionModifier = 182

SolutionModifier => GroupClause? HavingClause? OrderClause? LimitOffsetClauses?

§

SubSelect = 183

SubSelect => SelectClause WhereClause SolutionModifier ValuesClause

§

Var = 184

Var => ‘VAR1’ | ‘VAR2’

§

Expression = 185

Expression => ConditionalOrExpression

§

ConstructTemplate = 186

ConstructTemplate => ‘{’ ConstructTriples? ‘}’

§

TriplesTemplate = 187

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

§

VarOrIri = 188

VarOrIri => Var | iri

§

DefaultGraphClause = 189

DefaultGraphClause => SourceSelector

§

NamedGraphClause = 190

NamedGraphClause => ‘NAMED’ SourceSelector

§

SourceSelector = 191

SourceSelector => iri

§

iri = 192

iri => ‘IRIREF’ | PrefixedName

§

GroupGraphPattern = 193

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

§

GroupClause = 194

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

§

HavingClause = 195

HavingClause => ‘HAVING’ HavingCondition HavingCondition*

§

OrderClause = 196

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

§

LimitOffsetClauses = 197

LimitOffsetClauses => LimitClause OffsetClause? | OffsetClause LimitClause?

§

GroupCondition = 198

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

§

BuiltInCall = 199

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

FunctionCall => iri ArgList

§

HavingCondition = 201

HavingCondition => Constraint

§

Constraint = 202

Constraint => BrackettedExpression | BuiltInCall | FunctionCall

§

OrderCondition = 203

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

§

BrackettedExpression = 204

BrackettedExpression => ‘(’ Expression ‘)’

§

LimitClause = 205

LimitClause => ‘LIMIT’ ‘INTEGER’

§

OffsetClause = 206

OffsetClause => ‘OFFSET’ ‘INTEGER’

§

DataBlock = 207

DataBlock => InlineDataOneVar | InlineDataFull

§

UpdateOne = 208

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

§

Load = 209

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

§

Clear = 210

Clear => ‘CLEAR’ ‘SILENT’? GraphRefAll

§

Drop = 211

Drop => ‘DROP’ ‘SILENT’? GraphRefAll

§

Add = 212

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

§

Move = 213

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

§

Copy = 214

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

§

Create = 215

Create => ‘CREATE’ ‘SILENT’? GraphRef

§

InsertData = 216

InsertData => ‘INSERT_DATA’ QuadData

§

DeleteData = 217

DeleteData => ‘DELETE_DATA’ QuadData

§

DeleteWhere = 218

DeleteWhere => ‘DELETE_WHERE’ QuadPattern

§

Modify = 219

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

§

GraphRef = 220

GraphRef => ‘GRAPH’ iri

§

GraphRefAll = 221

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

§

GraphOrDefault = 222

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

§

QuadData = 223

QuadData => ‘{’ Quads ‘}’

§

QuadPattern = 224

QuadPattern => ‘{’ Quads ‘}’

§

DeleteClause = 225

DeleteClause => ‘DELETE’ QuadPattern

§

InsertClause = 226

InsertClause => ‘INSERT’ QuadPattern

§

UsingClause = 227

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

§

Quads = 228

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

§

QuadsNotTriples = 229

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

§

TriplesSameSubject = 230

TriplesSameSubject => VarOrTerm PropertyListNotEmpty | TriplesNode PropertyList

§

GroupGraphPatternSub = 231

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

§

TriplesBlock = 232

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

§

GraphPatternNotTriples = 233

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

§

TriplesSameSubjectPath = 234

TriplesSameSubjectPath => VarOrTerm PropertyListPathNotEmpty | TriplesNodePath PropertyListPath

§

GroupOrUnionGraphPattern = 235

GroupOrUnionGraphPattern => GroupGraphPattern (‘UNION’ GroupGraphPattern)*

§

OptionalGraphPattern = 236

OptionalGraphPattern => ‘OPTIONAL’ GroupGraphPattern

§

MinusGraphPattern = 237

MinusGraphPattern => ‘MINUS’ GroupGraphPattern

§

GraphGraphPattern = 238

GraphGraphPattern => ‘GRAPH’ VarOrIri GroupGraphPattern

§

ServiceGraphPattern = 239

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

§

Filter = 240

Filter => ‘FILTER’ Constraint

§

Bind = 241

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

§

InlineData = 242

InlineData => ‘VALUES’ DataBlock

§

InlineDataOneVar = 243

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

§

InlineDataFull = 244

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

§

DataBlockValue = 245

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

§

RDFLiteral = 246

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

§

NumericLiteral = 247

NumericLiteral => NumericLiteralUnsigned | NumericLiteralPositive | NumericLiteralNegative

§

BooleanLiteral = 248

BooleanLiteral => ‘true’ | ‘false’

§

ArgList = 249

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

§

ExpressionList = 250

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

§

ConstructTriples = 251

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

§

VarOrTerm = 252

VarOrTerm => Var | GraphTerm

§

PropertyListNotEmpty = 253

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

§

TriplesNode = 254

TriplesNode => Collection | BlankNodePropertyList

§

PropertyList = 255

PropertyList => PropertyListNotEmpty?

§

Verb = 256

Verb => VarOrIri | ‘a’

§

ObjectList = 257

ObjectList => Object (‘,’ Object)*

§

Object = 258

Object => GraphNode

§

GraphNode = 259

GraphNode => VarOrTerm | TriplesNode

§

PropertyListPathNotEmpty = 260

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

§

TriplesNodePath = 261

TriplesNodePath => CollectionPath | BlankNodePropertyListPath

§

PropertyListPath = 262

PropertyListPath => PropertyListPathNotEmpty?

§

VerbPath = 263

VerbPath => Path

§

VerbSimple = 264

VerbSimple => Var

§

ObjectListPath = 265

ObjectListPath => ObjectPath (‘,’ ObjectPath)*

§

Path = 266

Path => PathAlternative

§

ObjectPath = 267

ObjectPath => GraphNodePath

§

GraphNodePath = 268

GraphNodePath => VarOrTerm | TriplesNodePath

§

PathAlternative = 269

PathAlternative => PathSequence (‘|’ PathSequence)*

§

PathSequence = 270

PathSequence => PathEltOrInverse (‘/’ PathEltOrInverse)*

§

PathEltOrInverse = 271

PathEltOrInverse => PathElt | ‘^’ PathElt

§

PathElt = 272

PathElt => PathPrimary PathMod?

§

PathPrimary = 273

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

§

PathMod = 274

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

§

PathNegatedPropertySet = 275

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

§

PathOneInPropertySet = 276

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

§

Integer = 277

Integer => ‘INTEGER’

§

Collection = 278

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

§

BlankNodePropertyList = 279

BlankNodePropertyList => ‘[’ PropertyListNotEmpty ‘]’

§

CollectionPath = 280

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

§

BlankNodePropertyListPath = 281

BlankNodePropertyListPath => ‘[’ PropertyListPathNotEmpty ‘]’

§

GraphTerm = 282

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

§

BlankNode = 283

BlankNode => ‘BLANK_NODE_LABEL’ | ‘ANON’

§

ConditionalOrExpression = 284

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

§

ConditionalAndExpression = 285

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

§

ValueLogical = 286

ValueLogical => RelationalExpression

§

RelationalExpression = 287

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

§

NumericExpression = 288

NumericExpression => AdditiveExpression

§

AdditiveExpression = 289

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

§

MultiplicativeExpression = 290

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

§

NumericLiteralPositive = 291

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

§

NumericLiteralNegative = 292

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

§

UnaryExpression = 293

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

§

PrimaryExpression = 294

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

§

iriOrFunction = 295

iriOrFunction => iri ArgList?

§

Aggregate = 296

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

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

§

StrReplaceExpression = 298

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

§

RegexExpression = 299

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

§

ExistsFunc = 300

ExistsFunc => ‘EXISTS’ GroupGraphPattern

§

NotExistsFunc = 301

NotExistsFunc => ‘NOT’ ‘EXISTS’ GroupGraphPattern

§

String = 302

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

§

NumericLiteralUnsigned = 303

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

§

PrefixedName = 304

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.