MMOframework
Pourquoi l'IA Playground Bibliothèques Documentation Rechercher Agence
FR EN
Index

SourceLocation

MMO\client\scs · 1 symbole · générée le 27 Oct 2026

class

SourceLocation

SourceLocation.php:8

Where a token/node/value came from in a .scs source. Attached to every AST node so any compile error can point back at the source that caused it (eSCS).

readonly class MMO\client\scs\SourceLocation implements Stringable
Espace de noms
MMO\client\scs
Implémente
Stringable

Propriétés4

col

readonly
readonly int $col
Type
int

filename

readonly
readonly string $filename
Type
string

line

readonly
readonly int $line
Type
int

text

readonly
readonly string $text
Type
string

Méthodes2

__construct($filename, $line, $col, $text)

SourceLocation.php:9
function __construct(string $filename, int $line = 1, int $col = 1, string $text = '')
$filenamestring
$line = 1int
$col = 1int
$text = ''string