enum XPath2::TokenType

Overview

An XPath expression token type

Defined in:

xpath2/parse.cr

Enum Members

Comma = 0
Slash = 1

','

At = 2

'/'

Dot = 3

'@'

LParens = 4

'.'

RParens = 5

'('

LBracket = 6

')'

RBracket = 7

'['

Star = 8

']'

Plus = 9

'*'

Minus = 10

'+'

Eq = 11

'-'

Lt = 12

'='

Gt = 13

'<'

Bang = 14

'>'

Dollar = 15

'!'

Apos = 16

'$'

Quote = 17

'\''

Union = 18

'"'

Ne = 19

'|'

Le = 20

'!='

Ge = 21

'<='

And = 22

'>='

Or = 23

'&&'

DotDot = 24

'||'

SlashSlash = 25

'..'

Name = 26

'//'

String = 27

XML Name

Number = 28

Quoted string constant

Axe = 29

Number constant

Eof = 30

Axe (like child::)

Instance Method Summary

Instance Method Detail

def and? #

[View source]
def apos? #

[View source]
def at? #

[View source]
def axe? #

[View source]
def bang? #

[View source]
def comma? #

[View source]
def dollar? #

[View source]
def dot? #

[View source]
def dot_dot? #

[View source]
def eof? #

[View source]
def eq? #

[View source]
def ge? #

[View source]
def gt? #

[View source]
def l_bracket? #

[View source]
def l_parens? #

[View source]
def le? #

[View source]
def lt? #

[View source]
def minus? #

[View source]
def name? #

[View source]
def ne? #

[View source]
def number? #

[View source]
def or? #

[View source]
def plus? #

[View source]
def quote? #

[View source]
def r_bracket? #

[View source]
def r_parens? #

[View source]
def slash? #

[View source]
def slash_slash? #

[View source]
def star? #

[View source]
def string? #

[View source]
def union? #

[View source]