Methods | ||
---|---|---|
public
|
__construct(ParserConfig $config, ConstExprParser $constExprParser)
|
# |
public
|
parse(TokenIterator $tokens): TypeNode
|
# |
public
|
isHtml(TokenIterator $tokens): bool
|
# |
public
|
parseGeneric(TokenIterator $tokens, IdentifierTypeNode $baseType): GenericTypeNode
|
# |
public
|
parseGenericTypeArgument(TokenIterator $tokens): array{TypeNode, GenericTypeNode::VARIANCE_*}
|
# |
public
|
parseTemplateTagValue(
TokenIterator $tokens,
?(callable(TokenIterator): string) $parseDescription = null,
): TemplateTagValueNode
|
# |