TokenType
MMO\client\scs · 1 symbol · generated 5 Oct 2026
TokenType
TokenType.php:7The kinds of token produced by Lexer.
- Namespace
MMO\client\scs
Index
| At | an at-instruction: @let, @theme, @media, ... | |
| Eof | ||
| Hash | a hash: #6366f1, #main | |
| Ident | a css/scs identifier: padding, inline-flex, -webkit-box | |
| Interp | an interpolation ${...} or #{...} -- text is the *inner* source | |
| Newline | a significant end of line (consecutive newlines are collapsed into one) | |
| Number | a number with an optional unit: 16px, 1.5, 50% | |
| Op | a multi-character operator: == != <= >= && || :: .. | |
| Punct | a single punctuation character: `{ } ( ) [ ] , : ; . | |
| String | a quoted string (text is the content, quote holds the quote character) | |
| Variable | a 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 @)
Eof
Hash
a hash: #6366f1, #main
Ident
a css/scs identifier: padding, inline-flex, -webkit-box
Interp
an interpolation ${...} or #{...} -- text is the *inner* source
Newline
a significant end of line (consecutive newlines are collapsed into one)
Number
a number with an optional unit: 16px, 1.5, 50%
Op
a multi-character operator: == != <= >= && || :: ..
Punct
a single punctuation character: { } ( ) [ ] , : ; . & > ~ + - * / % ! = < >
String
a quoted string (text is the content, quote holds the quote character)
Variable
a compile-time variable: $spacing (text is the name, without the $)
Properties1
name
readonly- Type
- string
Methods1
cases()
static| returns | array |