ClassLexer

namespace

bhenk\doc2rst\process

predicates

Cloneable | Instantiable

implements

Stringable

extends

AbstractLexer

hierarchy

ClassLexer -> AbstractLexer


Constructor

ClassLexer::__construct

predicates

public | constructor

public function __construct(
      Parameter #0 [ <required> ReflectionClass $class ]
 )
param ReflectionClass $class

Methods

ClassLexer::lex

predicates

public

public function lex(): void
return void

ClassLexer::__toString

predicates

public

implements

Stringable::__toString

inherited from

AbstractLexer::__toString

see also

Stringable

public function __toString(): string
return string

ClassLexer::getSegments

predicates

public

inherited from

AbstractLexer::getSegments

public function getSegments(): array
return array

ClassLexer::setSegments

predicates

public

inherited from

AbstractLexer::setSegments

public function setSegments(
      Parameter #0 [ <required> array $segments ]
 ): void
param array $segments
return void

ClassLexer::addSegment

predicates

public

inherited from

AbstractLexer::addSegment

public function addSegment(
      Parameter #0 [ <required> Stringable|string $segment ]
 ): void
param Stringable | string $segment
return void

ClassLexer::resolveReflectionType

predicates

protected

inherited from

AbstractLexer::resolveReflectionType

protected function resolveReflectionType(
      Parameter #0 [ <required> ReflectionType $reflectionType ]
 ): string
param ReflectionType $reflectionType
return string

ClassLexer::checkParameters

predicates

protected

inherited from

AbstractLexer::checkParameters

protected function checkParameters(
      Parameter #0 [ <required> bhenk\doc2rst\process\CommentLexer $lexer ]
      Parameter #1 [ <required> array $params ]
 ): void
param CommentLexer $lexer
param array $params
return void

Fri, 31 Mar 2023 13:22:46 +0000