Methods | ||
---|---|---|
public
|
__construct(
?ConstExprParser $constExprParser = null,
bool $quoteAwareConstExprString = false,
array{lines?:bool, indexes?:bool} $usedAttributes = [],
)
|
# |
public
|
parse(TokenIterator $tokens): TypeNode
|
# |
public
|
isHtml(TokenIterator $tokens): bool
|
# |
public
|
parseGeneric(TokenIterator $tokens, IdentifierTypeNode $baseType): GenericTypeNode
|
# |
public
|
parseGenericTypeArgument(TokenIterator $tokens): array{TypeNode, Ast\Type\GenericTypeNode::VARIANCE_*}
|
# |
public
|
parseTemplateTagValue(
TokenIterator $tokens,
?(callable(TokenIterator): string) $parseDescription = null,
): TemplateTagValueNode
|
# |