classLexicalDefinition
final class LexicalDefinition
Carries one lexical composition and its tokenizer and token-budget metadata.
Properties§
public ReverseLexemeGenerator $pipelineRealizes the declared lexemes with their spacing rules for the selected release.
public LexemeGenerator $lexemespublic array<string, list<string>> $keywordspublic array<string, list<string>> $functions = []public list<string> $nonOutput = []public list<string> $dollarVersions = []Methods§
public function __construct(
string $version,
string $dialect,
public LexemeGenerator $lexemes,
SpacingRule $spacing,
public array<string, list<string>> $keywords,
public array<string, list<string>> $functions = [],
public list<string> $nonOutput = [],
public list<string> $dollarVersions = [],
)Parameters
$version | string | |
$dialect | string | |
$lexemes | LexemeGenerator | |
$spacing | SpacingRule | |
$keywords | array<string, list<string>> | |
$functions | array<string, list<string>> | |
$nonOutput | list<string> | |
$dollarVersions | list<string> |
Test cases 1
Calls 2
Test cases 8§
Test cases that cover or call this symbol, from the coverage report and from the analyzed test sources.
Dedicated tests 1
Other tests reaching this symbol 7
LexicalExceptionTestcallsGenerationContextTestcallsCharsetValueLexemeGeneratorTestcallsDefinitionFactoryTestcallsLexicalGrammarTestcallsMySqlProviderTestcallsSqlGeneratorFactoryTestcalls