Table of Contents

Enum TokenKind

Namespace
Pl0.Core
Assembly
Pl0.Core.dll

Token kinds produced by the lexer.

public enum TokenKind

Fields

Bang = 31

Output statement token (!).

Becomes = 19

Assignment operator :=.

Begin = 20

begin keyword.

Call = 26

call keyword.

Comma = 16

Comma separator.

Const = 27

const keyword.

Do = 25

do keyword.

End = 21

end keyword.

EndOfFile = 32

End-of-file token.

Equal = 8

Equality operator.

Greater = 12

Greater-than operator.

GreaterOrEqual = 13

Greater-than-or-equal operator.

Ident = 1

Identifier token.

If = 22

if keyword.

LParen = 14

Left parenthesis.

Less = 10

Less-than operator.

LessOrEqual = 11

Less-than-or-equal operator.

Minus = 4

Minus sign.

NotEqual = 9

Inequality operator.

Nul = 0

Invalid or null token placeholder.

Number = 2

Numeric literal token.

Odd = 7

odd keyword.

Period = 18

Period program terminator.

Plus = 3

Plus sign.

Procedure = 29

procedure keyword.

Question = 30

Input statement token (?).

RParen = 15

Right parenthesis.

Semicolon = 17

Semicolon separator.

Slash = 6

Division operator.

Then = 23

then keyword.

Times = 5

Multiplication operator.

Var = 28

var keyword.

While = 24

while keyword.