Moodle APIs 4.3
Moodle 4.3.6 (Build: 20240812)
|
Classes | |
class | Lexer |
Accepts text and breaks it into tokens. More... | |
class | StateStack |
States for a stack machine. More... | |
Functions | |
addPattern ($pattern, $label=true) | |
Adds a pattern with an optional label. | |
match ($subject, &$match) | |
Attempts to match all patterns at once against a string. | |
ParallelRegex ($case) | |
Old syntax of class constructor. | |
Variables | |
Harry Fuecks and Matt and the project code is in the domain guys **ingroup moodlecore *copyright Markus Harry Fuecks and Matt Mitchell *license Public Domain< a class="el externalurl" href="http: */ define("LEXER_ENTER", 1); define("LEXER_MATCHED", 2); define("LEXER_UNMATCHED", 3); define("LEXER_EXIT", 4); define("LEXER_SPECIAL", 5); class ParallelRegex { var $_patterns; var $_labels; var $_regex; var $_case; public function __construct($case) { $this-> | _case = $case |
$this | _labels = array() |
$this | _patterns = array() |
$this | _regex = null |
Harry Fuecks and Matt and the project code is in the domain guys **ingroup moodlecore *copyright Markus | Baker |
* | http |
Harry Fuecks and Matt * | Mitchell |
Harry Fuecks and Matt and the project code is in the domain ** | Thanks |