Index

TokenType

MMO\client\scs · 1 symbol · generated 5 Oct 2026

enum

TokenType

TokenType.php:7

The kinds of token produced by Lexer.

enum MMO\client\scs\TokenType
Namespace
MMO\client\scs

Index

Atan at-instruction: @let, @theme, @media, ...
Eof
Hasha hash: #6366f1, #main
Identa css/scs identifier: padding, inline-flex, -webkit-box
Interpan interpolation ${...} or #{...} -- text is the *inner* source
Newlinea significant end of line (consecutive newlines are collapsed into one)
Numbera number with an optional unit: 16px, 1.5, 50%
Opa multi-character operator: == != <= >= && || :: ..
Puncta single punctuation character: `{ } ( ) [ ] , : ; .
Stringa quoted string (text is the content, quote holds the quote character)
Variablea compile-time variable: $spacing (text is the name, without the $)
name readonly
cases() static

Constants11

At

an at-instruction: @let, @theme, @media, ... (text includes the @)

const At = MMO\client\scs\TokenType::At

Eof

const Eof = MMO\client\scs\TokenType::Eof

Hash

a hash: #6366f1, #main

const Hash = MMO\client\scs\TokenType::Hash

Ident

a css/scs identifier: padding, inline-flex, -webkit-box

const Ident = MMO\client\scs\TokenType::Ident

Interp

an interpolation ${...} or #{...} -- text is the *inner* source

const Interp = MMO\client\scs\TokenType::Interp

Newline

a significant end of line (consecutive newlines are collapsed into one)

const Newline = MMO\client\scs\TokenType::Newline

Number

a number with an optional unit: 16px, 1.5, 50%

const Number = MMO\client\scs\TokenType::Number

Op

a multi-character operator: == != <= >= && || :: ..

const Op = MMO\client\scs\TokenType::Op

Punct

a single punctuation character: { } ( ) [ ] , : ; . & > ~ + - * / % ! = < >

const Punct = MMO\client\scs\TokenType::Punct

String

a quoted string (text is the content, quote holds the quote character)

const String = MMO\client\scs\TokenType::String

Variable

a compile-time variable: $spacing (text is the name, without the $)

const Variable = MMO\client\scs\TokenType::Variable

Properties1

name

readonly
readonly string $name
Type
string

Methods1

cases()

static
static function cases(): array
returnsarray