ConstantLexer

namespace

bhenk\doc2rst\process

predicates

Cloneable | Instantiable

implements

Stringable

extends

AbstractLexer

hierarchy

ConstantLexer -> AbstractLexer


Constructor

ConstantLexer::__construct

predicates

public | constructor

public function __construct(
      Parameter #0 [ <required> ReflectionClassConstant $constant ]
 )
param ReflectionClassConstant $constant

Methods

ConstantLexer::lex

predicates

public

public function lex(): void
return void

ConstantLexer::__toString

predicates

public

implements

Stringable::__toString

inherited from

AbstractLexer::__toString

see also

Stringable

public function __toString(): string
return string

ConstantLexer::getSegments

predicates

public

inherited from

AbstractLexer::getSegments

public function getSegments(): array
return array

ConstantLexer::setSegments

predicates

public

inherited from

AbstractLexer::setSegments

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

ConstantLexer::addSegment

predicates

public

inherited from

AbstractLexer::addSegment

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

ConstantLexer::resolveReflectionType

predicates

protected

inherited from

AbstractLexer::resolveReflectionType

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

ConstantLexer::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