kielet/plurals/tokenizer
The tokenizer converts the plural forms syntax into a list of tokens for later parsing.
Types
pub type Token {
N
NPlurals
Plural
Equals
NotEquals
GreaterThanOrEquals
LowerThanOrEquals
GreaterThan
LowerThan
Assignment
Ternary
TernaryElse
Remainder
Or
And
Semicolon
LParen
RParen
End
Int(value: Int)
}
Constructors
-
N
-
NPlurals
-
Plural
-
Equals
-
NotEquals
-
GreaterThanOrEquals
-
LowerThanOrEquals
-
GreaterThan
-
LowerThan
-
Assignment
-
Ternary
-
TernaryElse
-
Remainder
-
Or
-
And
-
Semicolon
-
LParen
-
RParen
-
End
-
Int(value: Int)