ShasPTokenType

These are the different types of tokens, that the lexer creates

Entries

Link copied to clipboard

Identifier for variables, functions and classes

Link copied to clipboard

Integer literal

Link copied to clipboard

Double literal

Link copied to clipboard

Character literal

Link copied to clipboard

String literal

Link copied to clipboard

Comma

Link copied to clipboard

Dot

Link copied to clipboard

Semicolon

Link copied to clipboard

Addition

Link copied to clipboard

Subtraction

Link copied to clipboard

Multiplication

Link copied to clipboard

Division

Link copied to clipboard

Modulo

Link copied to clipboard
Link copied to clipboard

Not Equal

Link copied to clipboard

Bigger than

Link copied to clipboard

Smaller than

Link copied to clipboard

Bigger

Link copied to clipboard

Smaller

Link copied to clipboard

Logical or

Link copied to clipboard

Logical xor

Link copied to clipboard

Logical and

Link copied to clipboard

Assignment

Link copied to clipboard

Increment

Link copied to clipboard

Decrement

Link copied to clipboard

Addition assignment

Link copied to clipboard

Subtraction assignment

Link copied to clipboard

Multiplication assignment

Link copied to clipboard

Division assignment

Link copied to clipboard

Modulo assignment

Link copied to clipboard

Left parenthesis

Link copied to clipboard

Right parenthesis

Link copied to clipboard

Left curly bracket

Link copied to clipboard

Right curly bracket

Link copied to clipboard

Left bracket

Link copied to clipboard

Right bracket

Link copied to clipboard

Do keyword

Link copied to clipboard

While keyword

Link copied to clipboard

For keyword

Link copied to clipboard

If keyword

Link copied to clipboard

Else keyword

Link copied to clipboard

True keyword

Link copied to clipboard

False keyword

Link copied to clipboard

Return keyword

Link copied to clipboard

Byte keyword

Link copied to clipboard

Short keyword

Link copied to clipboard

Int keyword

Link copied to clipboard

Long keyword

Link copied to clipboard

Float keyword

Link copied to clipboard

Double keyword

Link copied to clipboard

Char keyword

Link copied to clipboard

Boolean keyword

Link copied to clipboard

Void keyword

Link copied to clipboard

As keyword

Link copied to clipboard

Unsigned keyword

Link copied to clipboard

New keyword

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
open override val hasValue: Boolean = false
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun length(): Int
open override fun length(value: String?): Int
Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.