PHP Class Go\Core\AbstractAspectLoaderExtension

Inheritance: implements Go\Core\AspectLoaderExtension
Datei anzeigen Open project: goaop/framework

Protected Properties

Property Type Description
$pointcutLexer null | Dissect\Lexer\Lexer Instance of pointcut lexer
$pointcutParser null | Dissect\Parser\Parser Instance of pointcut parser

Public Methods

Method Description
__construct ( Dissect\Lexer\Lexer $pointcutLexer, Dissect\Parser\Parser $pointcutParser ) Default initialization of dependencies

Protected Methods

Method Description
makeLexicalAnalyze ( Go\Aop\Aspect $aspect, ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty $reflection, BaseAnnotation $metaInformation ) : Dissect\Lexer\TokenStream\TokenStream Performs lexical analyze of pointcut
parsePointcut ( Go\Aop\Aspect $aspect, mixed | ReflectionMethod | ReflectionProperty $reflection, BaseAnnotation | BaseInterceptor $metaInformation ) : Go\Aop\Pointcut | Go\Aop\PointFilter General method for parsing pointcuts
parseTokenStream ( ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty $reflection, BaseAnnotation $metaInformation, Dissect\Lexer\TokenStream\TokenStream $stream ) : Go\Aop\Pointcut Performs parsing of pointcut

Method Details

__construct() public method

Default initialization of dependencies
public __construct ( Dissect\Lexer\Lexer $pointcutLexer, Dissect\Parser\Parser $pointcutParser )
$pointcutLexer Dissect\Lexer\Lexer Instance of pointcut lexer
$pointcutParser Dissect\Parser\Parser Instance of pointcut parser

makeLexicalAnalyze() protected method

Performs lexical analyze of pointcut
protected makeLexicalAnalyze ( Go\Aop\Aspect $aspect, ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty $reflection, BaseAnnotation $metaInformation ) : Dissect\Lexer\TokenStream\TokenStream
$aspect Go\Aop\Aspect Instance of aspect
$reflection ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty
$metaInformation Go\Lang\Annotation\BaseAnnotation
return Dissect\Lexer\TokenStream\TokenStream

parsePointcut() protected method

General method for parsing pointcuts
protected parsePointcut ( Go\Aop\Aspect $aspect, mixed | ReflectionMethod | ReflectionProperty $reflection, BaseAnnotation | BaseInterceptor $metaInformation ) : Go\Aop\Pointcut | Go\Aop\PointFilter
$aspect Go\Aop\Aspect Instance of current aspect
$reflection mixed | ReflectionMethod | ReflectionProperty Reflection of point
$metaInformation Go\Lang\Annotation\BaseAnnotation | Go\Lang\Annotation\BaseInterceptor
return Go\Aop\Pointcut | Go\Aop\PointFilter

parseTokenStream() protected method

Performs parsing of pointcut
protected parseTokenStream ( ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty $reflection, BaseAnnotation $metaInformation, Dissect\Lexer\TokenStream\TokenStream $stream ) : Go\Aop\Pointcut
$reflection ReflectionMetho\ReflectionMethod | ReflectionPropert\ReflectionProperty
$metaInformation Go\Lang\Annotation\BaseAnnotation
$stream Dissect\Lexer\TokenStream\TokenStream
return Go\Aop\Pointcut

Property Details

$pointcutLexer protected_oe property

Instance of pointcut lexer
protected null|Lexer,Dissect\Lexer $pointcutLexer
return null | Dissect\Lexer\Lexer

$pointcutParser protected_oe property

Instance of pointcut parser
protected null|Parser,Dissect\Parser $pointcutParser
return null | Dissect\Parser\Parser