@@ -37,6 +37,6 @@ |
||
37 | 37 | { |
38 | 38 | $result = $invocation->proceed(); |
39 | 39 | |
40 | - return $result!==null ? $result : $invocation->getThis(); |
|
40 | + return $result !== null ? $result : $invocation->getThis(); |
|
41 | 41 | } |
42 | 42 | } |
@@ -34,7 +34,7 @@ |
||
34 | 34 | public function unserialize($serialized) |
35 | 35 | { |
36 | 36 | $data = unserialize($serialized); |
37 | - foreach($data as $key=>$value) { |
|
37 | + foreach ($data as $key=>$value) { |
|
38 | 38 | $this->$key = $value; |
39 | 39 | } |
40 | 40 | } |
@@ -31,7 +31,7 @@ |
||
31 | 31 | public function getReport($from) |
32 | 32 | { |
33 | 33 | // long calculation for 100ms |
34 | - usleep(0.1*1e6); |
|
34 | + usleep(0.1 * 1e6); |
|
35 | 35 | |
36 | 36 | return $from; |
37 | 37 | } |
@@ -12,7 +12,7 @@ |
||
12 | 12 | use Demo\Aspect\AwesomeAspectKernel; |
13 | 13 | use Go\Aop\Features; |
14 | 14 | |
15 | -include __DIR__ .'/autoload.php'; |
|
15 | +include __DIR__ . '/autoload.php'; |
|
16 | 16 | |
17 | 17 | // Initialize demo aspect container |
18 | 18 | $defaultFeatures = AwesomeAspectKernel::getDefaultFeatures(); |
@@ -152,7 +152,7 @@ discard block |
||
152 | 152 | if ($useClosure) { |
153 | 153 | return $refMethod->getClosure($aspect); |
154 | 154 | } else { |
155 | - return function () use ($aspect, $refMethod) { |
|
155 | + return function() use ($aspect, $refMethod) { |
|
156 | 156 | return $refMethod->invokeArgs($aspect, func_get_args()); |
157 | 157 | }; |
158 | 158 | } |
@@ -175,7 +175,7 @@ discard block |
||
175 | 175 | return $adviceCallback; |
176 | 176 | |
177 | 177 | case 'proxy': |
178 | - return function (Joinpoint $joinpoint) use ($aspect, $adviceCallback) { |
|
178 | + return function(Joinpoint $joinpoint) use ($aspect, $adviceCallback) { |
|
179 | 179 | $instance = $joinpoint->getThis(); |
180 | 180 | $isNotObject = $instance !== (object) $instance; |
181 | 181 | $target = $isNotObject ? $instance : get_class($instance); |
@@ -185,7 +185,7 @@ discard block |
||
185 | 185 | }; |
186 | 186 | |
187 | 187 | case 'target': |
188 | - return function (Joinpoint $joinpoint) use ($aspect, $adviceCallback) { |
|
188 | + return function(Joinpoint $joinpoint) use ($aspect, $adviceCallback) { |
|
189 | 189 | $instance = $joinpoint->getThis(); |
190 | 190 | $isNotObject = $instance !== (object) $instance; |
191 | 191 | $target = $isNotObject ? $instance : get_parent_class($instance); |
@@ -195,7 +195,7 @@ discard block |
||
195 | 195 | }; |
196 | 196 | |
197 | 197 | default: |
198 | - return function (Joinpoint $joinpoint) use ($aspect, $adviceCallback, $scope) { |
|
198 | + return function(Joinpoint $joinpoint) use ($aspect, $adviceCallback, $scope) { |
|
199 | 199 | $callback = $adviceCallback->bindTo($aspect, $scope); |
200 | 200 | |
201 | 201 | return $callback($joinpoint); |
@@ -53,7 +53,7 @@ |
||
53 | 53 | */ |
54 | 54 | protected static function getStaticInvoker($className, $method) |
55 | 55 | { |
56 | - return function (array $args) use ($className, $method) { |
|
56 | + return function(array $args) use ($className, $method) { |
|
57 | 57 | return forward_static_call_array(array($className, $method), $args); |
58 | 58 | }; |
59 | 59 | } |
@@ -90,7 +90,7 @@ |
||
90 | 90 | { |
91 | 91 | static $adviceMethod = null; |
92 | 92 | if (!$adviceMethod) { |
93 | - $adviceMethod = function ($object, $reflectorName, $message, $level = E_USER_NOTICE) { |
|
93 | + $adviceMethod = function($object, $reflectorName, $message, $level = E_USER_NOTICE) { |
|
94 | 94 | $class = is_string($object) ? $object : get_class($object); |
95 | 95 | $message = vsprintf('[AOP Declare Error]: %s has an error: "%s"', array( |
96 | 96 | $class . '->' . $reflectorName, |
@@ -40,28 +40,28 @@ discard block |
||
40 | 40 | |
41 | 41 | $this('pointcutExpression') |
42 | 42 | ->is('pointcutExpression', '||', 'conjugatedExpression') |
43 | - ->call(function ($first, $_0, $second) { |
|
43 | + ->call(function($first, $_0, $second) { |
|
44 | 44 | return new OrPointcut($first, $second); |
45 | 45 | }) |
46 | 46 | ->is('conjugatedExpression'); |
47 | 47 | |
48 | 48 | $this('conjugatedExpression') |
49 | 49 | ->is('conjugatedExpression', '&&', 'negatedExpression') |
50 | - ->call(function ($first, $_0, $second) { |
|
50 | + ->call(function($first, $_0, $second) { |
|
51 | 51 | return new AndPointcut($first, $second); |
52 | 52 | }) |
53 | 53 | ->is('negatedExpression'); |
54 | 54 | |
55 | 55 | $this('negatedExpression') |
56 | 56 | ->is('!', 'brakedExpression') |
57 | - ->call(function ($_0, $item) { |
|
57 | + ->call(function($_0, $item) { |
|
58 | 58 | return new NotPointcut($item); |
59 | 59 | }) |
60 | 60 | ->is('brakedExpression'); |
61 | 61 | |
62 | 62 | $this('brakedExpression') |
63 | 63 | ->is('(', 'pointcutExpression', ')') |
64 | - ->call(function ($_0, $e, $_1) { |
|
64 | + ->call(function($_0, $e, $_1) { |
|
65 | 65 | return $e; |
66 | 66 | }) |
67 | 67 | ->is('singlePointcut'); |
@@ -81,23 +81,23 @@ discard block |
||
81 | 81 | |
82 | 82 | $this('accessPointcut') |
83 | 83 | ->is('access', '(', 'propertyAccessReference', ')') |
84 | - ->call(function ($_0, $_1, $propertyReference) { |
|
84 | + ->call(function($_0, $_1, $propertyReference) { |
|
85 | 85 | return $propertyReference; |
86 | 86 | }); |
87 | 87 | |
88 | 88 | $this('executionPointcut') |
89 | 89 | ->is('execution', '(', 'methodExecutionReference', ')') |
90 | - ->call(function ($_0, $_1, $methodReference) { |
|
90 | + ->call(function($_0, $_1, $methodReference) { |
|
91 | 91 | return $methodReference; |
92 | 92 | }) |
93 | 93 | ->is('execution', '(', 'functionExecutionReference', ')') |
94 | - ->call(function ($_0, $_1, $functionReference) { |
|
94 | + ->call(function($_0, $_1, $functionReference) { |
|
95 | 95 | return $functionReference; |
96 | 96 | }); |
97 | 97 | |
98 | 98 | $this('withinPointcut') |
99 | 99 | ->is('within', '(', 'classFilter', ')') |
100 | - ->call(function ($_0, $_1, $classFilter) { |
|
100 | + ->call(function($_0, $_1, $classFilter) { |
|
101 | 101 | $pointcut = new TruePointcut(PointFilter::KIND_ALL); |
102 | 102 | $pointcut->setClassFilter($classFilter); |
103 | 103 | |
@@ -106,21 +106,21 @@ discard block |
||
106 | 106 | |
107 | 107 | $this('annotatedAccessPointcut') |
108 | 108 | ->is('annotation', 'access', '(', 'namespaceName', ')') |
109 | - ->call(function ($_0, $_1, $_2, $annotationClassName) use ($annotationReader) { |
|
109 | + ->call(function($_0, $_1, $_2, $annotationClassName) use ($annotationReader) { |
|
110 | 110 | $kindProperty = PointFilter::KIND_PROPERTY; |
111 | 111 | return new AnnotationPointcut($kindProperty, $annotationReader, $annotationClassName); |
112 | 112 | }); |
113 | 113 | |
114 | 114 | $this('annotatedExecutionPointcut') |
115 | 115 | ->is('annotation', 'execution', '(', 'namespaceName', ')') |
116 | - ->call(function ($_0, $_1, $_2, $annotationClassName) use ($annotationReader) { |
|
116 | + ->call(function($_0, $_1, $_2, $annotationClassName) use ($annotationReader) { |
|
117 | 117 | $kindMethod = PointFilter::KIND_METHOD; |
118 | 118 | return new AnnotationPointcut($kindMethod, $annotationReader, $annotationClassName); |
119 | 119 | }); |
120 | 120 | |
121 | 121 | $this('annotatedWithinPointcut') |
122 | 122 | ->is('annotation', 'within', '(', 'namespaceName', ')') |
123 | - ->call(function ($_0, $_1, $_2, $annotationClassName) use ($annotationReader) { |
|
123 | + ->call(function($_0, $_1, $_2, $annotationClassName) use ($annotationReader) { |
|
124 | 124 | $pointcut = new TruePointcut(PointFilter::KIND_ALL); |
125 | 125 | $kindClass = PointFilter::KIND_CLASS; |
126 | 126 | $classFilter = new AnnotationPointcut($kindClass, $annotationReader, $annotationClassName); |
@@ -131,7 +131,7 @@ discard block |
||
131 | 131 | |
132 | 132 | $this('initializationPointcut') |
133 | 133 | ->is('initialization', '(', 'classFilter', ')') |
134 | - ->call(function ($_0, $_1, $classFilter){ |
|
134 | + ->call(function($_0, $_1, $classFilter) { |
|
135 | 135 | $pointcut = new TruePointcut(PointFilter::KIND_INIT + PointFilter::KIND_CLASS); |
136 | 136 | $pointcut->setClassFilter($classFilter); |
137 | 137 | |
@@ -140,7 +140,7 @@ discard block |
||
140 | 140 | |
141 | 141 | $this('staticInitializationPointcut') |
142 | 142 | ->is('staticinitialization', '(', 'classFilter', ')') |
143 | - ->call(function ($_0, $_1, $classFilter){ |
|
143 | + ->call(function($_0, $_1, $classFilter) { |
|
144 | 144 | $pointcut = new TruePointcut(PointFilter::KIND_STATIC_INIT + PointFilter::KIND_CLASS); |
145 | 145 | $pointcut->setClassFilter($classFilter); |
146 | 146 | |
@@ -149,14 +149,14 @@ discard block |
||
149 | 149 | |
150 | 150 | $this('cflowbelowPointcut') |
151 | 151 | ->is('cflowbelow', '(', 'executionPointcut', ')') |
152 | - ->call(function ($_0, $_1, $pointcut) { |
|
152 | + ->call(function($_0, $_1, $pointcut) { |
|
153 | 153 | return new CFlowBelowMethodPointcut($pointcut); |
154 | 154 | }); |
155 | 155 | |
156 | 156 | $this('dynamicExecutionPointcut') |
157 | 157 | // ideally, this should be 'dynamic', 'methodExecutionReference' |
158 | 158 | ->is('dynamic', '(', 'memberReference', '(', 'argumentList', ')', ')') |
159 | - ->call(function ($_0, $_1, ClassMemberReference $reference) { |
|
159 | + ->call(function($_0, $_1, ClassMemberReference $reference) { |
|
160 | 160 | $memberFilter = $reference->getVisibilityFilter(); |
161 | 161 | $memberFilter = $memberFilter->merge($reference->getAccessTypeFilter()); |
162 | 162 | $pointcut = new MagicMethodPointcut( |
@@ -169,13 +169,13 @@ discard block |
||
169 | 169 | |
170 | 170 | $this('pointcutReference') |
171 | 171 | ->is('namespaceName', '->', 'namePatternPart') |
172 | - ->call(function ($className, $_0, $name) use ($container) { |
|
172 | + ->call(function($className, $_0, $name) use ($container) { |
|
173 | 173 | return new PointcutReference($container, "{$className}->{$name}"); |
174 | 174 | }); |
175 | 175 | |
176 | 176 | $this('propertyAccessReference') |
177 | 177 | ->is('memberReference') |
178 | - ->call(function (ClassMemberReference $reference) { |
|
178 | + ->call(function(ClassMemberReference $reference) { |
|
179 | 179 | $memberFilter = $reference->getVisibilityFilter(); |
180 | 180 | $memberFilter = $memberFilter->merge($reference->getAccessTypeFilter()); |
181 | 181 | $pointcut = new SignaturePointcut( |
@@ -190,7 +190,7 @@ discard block |
||
190 | 190 | |
191 | 191 | $this('methodExecutionReference') |
192 | 192 | ->is('memberReference', '(', 'argumentList', ')') |
193 | - ->call(function (ClassMemberReference $reference) { |
|
193 | + ->call(function(ClassMemberReference $reference) { |
|
194 | 194 | |
195 | 195 | $memberFilter = $reference->getVisibilityFilter(); |
196 | 196 | $memberFilter = $memberFilter->merge($reference->getAccessTypeFilter()); |
@@ -206,7 +206,7 @@ discard block |
||
206 | 206 | |
207 | 207 | $this('functionExecutionReference') |
208 | 208 | ->is('namespacePattern', 'nsSeparator', 'namePatternPart', '(', 'argumentList', ')') |
209 | - ->call(function ($namespacePattern, $_0, $namePattern) { |
|
209 | + ->call(function($namespacePattern, $_0, $namePattern) { |
|
210 | 210 | $nsFilter = new SimpleNamespaceFilter($namespacePattern); |
211 | 211 | $pointcut = new FunctionPointcut($namePattern); |
212 | 212 | $pointcut->setNamespaceFilter($nsFilter); |
@@ -216,7 +216,7 @@ discard block |
||
216 | 216 | |
217 | 217 | $this('memberReference') |
218 | 218 | ->is('memberModifiers', 'classFilter', 'memberAccessType', 'namePatternPart') |
219 | - ->call(function ( |
|
219 | + ->call(function( |
|
220 | 220 | ModifierMatcherFilter $memberModifiers, |
221 | 221 | PointFilter $classFilter, |
222 | 222 | ModifierMatcherFilter $memberAccessType, |
@@ -233,7 +233,7 @@ discard block |
||
233 | 233 | |
234 | 234 | $this('classFilter') |
235 | 235 | ->is('namespacePattern') |
236 | - ->call(function ($pattern) { |
|
236 | + ->call(function($pattern) { |
|
237 | 237 | $truePointFilter = TruePointFilter::getInstance(); |
238 | 238 | |
239 | 239 | return $pattern === '**' |
@@ -241,7 +241,7 @@ discard block |
||
241 | 241 | : new SignaturePointcut(PointFilter::KIND_CLASS, $pattern, $truePointFilter); |
242 | 242 | }) |
243 | 243 | ->is('namespacePattern', '+') |
244 | - ->call(function ($parentClassName) { |
|
244 | + ->call(function($parentClassName) { |
|
245 | 245 | return new InheritanceClassFilter($parentClassName); |
246 | 246 | }); |
247 | 247 | |
@@ -250,11 +250,11 @@ discard block |
||
250 | 250 | |
251 | 251 | $this('memberAccessType') |
252 | 252 | ->is('::') |
253 | - ->call(function () { |
|
253 | + ->call(function() { |
|
254 | 254 | return new ModifierMatcherFilter(\ReflectionMethod::IS_STATIC); |
255 | 255 | }) |
256 | 256 | ->is('->') |
257 | - ->call(function () { |
|
257 | + ->call(function() { |
|
258 | 258 | $modifierMatcherFilter = new ModifierMatcherFilter(); |
259 | 259 | $modifierMatcherFilter->notMatch(\ReflectionMethod::IS_STATIC); |
260 | 260 | |
@@ -279,16 +279,16 @@ discard block |
||
279 | 279 | ->is('namespaceName', 'nsSeparator', 'namePart')->call($stringConverter); |
280 | 280 | |
281 | 281 | $this('memberModifiers') |
282 | - ->is('memberModifier','|','memberModifiers') |
|
283 | - ->call(function ($modifier, $_0, ModifierMatcherFilter $matcher) { |
|
282 | + ->is('memberModifier', '|', 'memberModifiers') |
|
283 | + ->call(function($modifier, $_0, ModifierMatcherFilter $matcher) { |
|
284 | 284 | return $matcher->orMatch($modifier); |
285 | 285 | }) |
286 | 286 | ->is('memberModifier', 'memberModifiers') |
287 | - ->call(function ($modifier, ModifierMatcherFilter $matcher) { |
|
287 | + ->call(function($modifier, ModifierMatcherFilter $matcher) { |
|
288 | 288 | return $matcher->andMatch($modifier); |
289 | 289 | }) |
290 | 290 | ->is('memberModifier') |
291 | - ->call(function ($modifier) { |
|
291 | + ->call(function($modifier) { |
|
292 | 292 | return new ModifierMatcherFilter($modifier); |
293 | 293 | }); |
294 | 294 | |
@@ -309,7 +309,7 @@ discard block |
||
309 | 309 | */ |
310 | 310 | private function getNodeToStringConverter() |
311 | 311 | { |
312 | - return function () { |
|
312 | + return function() { |
|
313 | 313 | $value = ''; |
314 | 314 | foreach (func_get_args() as $node) { |
315 | 315 | if (is_scalar($node)) { |
@@ -330,7 +330,7 @@ discard block |
||
330 | 330 | */ |
331 | 331 | private function getModifierConverter() |
332 | 332 | { |
333 | - return function (Token $token) { |
|
333 | + return function(Token $token) { |
|
334 | 334 | $name = strtoupper($token->getValue()); |
335 | 335 | |
336 | 336 | return constant("ReflectionMethod::IS_{$name}"); |
@@ -11,4 +11,4 @@ |
||
11 | 11 | /** |
12 | 12 | * This table was generated for production use, do not touch it |
13 | 13 | */ |
14 | -return array('action'=>array(0=>array('!'=>4,'('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),1=>array('||'=>29,'$eof'=>0,),2=>array('&&'=>30,'$eof'=>-3,'||'=>-3,')'=>-3,),4=>array('('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),6=>array('!'=>4,'('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),19=>array('('=>33,),20=>array('access'=>34,'execution'=>35,'within'=>36,),21=>array('('=>37,),22=>array('('=>38,),23=>array('('=>39,),24=>array('('=>40,),25=>array('('=>41,),26=>array('('=>42,),27=>array('->'=>43,'nsSeparator'=>44,),29=>array('!'=>4,'('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),30=>array('!'=>4,'('=>6,'access'=>19,'annotation'=>20,'execution'=>21,'within'=>22,'initialization'=>23,'staticinitialization'=>24,'cflowbelow'=>25,'dynamic'=>26,'namePart'=>28,),32=>array(')'=>47,'||'=>29,),33=>array('public'=>52,'protected'=>53,'private'=>54,'final'=>55,),34=>array('('=>56,),35=>array('('=>57,),36=>array('('=>58,),37=>array('**'=>63,'*'=>65,'namePart'=>66,'public'=>52,'protected'=>53,'private'=>54,'final'=>55,),38=>array('**'=>63,'*'=>65,'namePart'=>66,),39=>array('**'=>63,'*'=>65,'namePart'=>66,),40=>array('**'=>63,'*'=>65,'namePart'=>66,),41=>array('execution'=>21,),42=>array('public'=>52,'protected'=>53,'private'=>54,'final'=>55,),43=>array('*'=>65,'namePart'=>66,),44=>array('namePart'=>74,),45=>array('&&'=>30,'$eof'=>-2,'||'=>-2,')'=>-2,),48=>array(')'=>75,),50=>array('**'=>63,'*'=>65,'namePart'=>66,),51=>array('|'=>77,'public'=>52,'protected'=>53,'private'=>54,'final'=>55,'**'=>-55,'*'=>-55,'namePart'=>-55,),56=>array('namePart'=>28,),57=>array('namePart'=>28,),58=>array('namePart'=>28,),59=>array(')'=>82,),60=>array(')'=>83,),61=>array('('=>84,),62=>array('nsSeparator'=>85,),64=>array('*'=>86,'namePart'=>87,'|'=>88,'nsSeparator'=>-43,')'=>-43,'+'=>-43,'::'=>-43,'->'=>-43,),67=>array(')'=>89,),68=>array('+'=>90,'nsSeparator'=>91,')'=>-37,'::'=>-37,'->'=>-37,),69=>array(')'=>92,),70=>array(')'=>93,),71=>array(')'=>94,),72=>array('('=>95,),73=>array('*'=>86,'namePart'=>87,'|'=>88,'$eof'=>-32,'||'=>-32,'&&'=>-32,')'=>-32,),76=>array('::'=>97,'->'=>98,),77=>array('public'=>52,'protected'=>53,'private'=>54,'final'=>55,),79=>array(')'=>100,'nsSeparator'=>44,),80=>array(')'=>101,'nsSeparator'=>44,),81=>array(')'=>102,'nsSeparator'=>44,),84=>array('*'=>104,),85=>array('**'=>106,'*'=>65,'namePart'=>66,),88=>array('namePart'=>107,),91=>array('**'=>106,'*'=>65,'namePart'=>66,),95=>array('*'=>104,),96=>array('*'=>65,'namePart'=>66,),103=>array(')'=>111,),105=>array('('=>112,'*'=>86,'namePart'=>87,'|'=>88,'nsSeparator'=>-44,),108=>array('*'=>86,'namePart'=>87,'|'=>88,')'=>-44,'+'=>-44,'nsSeparator'=>-44,'::'=>-44,'->'=>-44,),109=>array(')'=>113,),110=>array('*'=>86,'namePart'=>87,'|'=>88,')'=>-36,'('=>-36,),112=>array('*'=>104,),113=>array(')'=>115,),114=>array(')'=>116,),3=>array('$eof'=>-5,'||'=>-5,'&&'=>-5,')'=>-5,),5=>array('$eof'=>-7,'||'=>-7,'&&'=>-7,')'=>-7,),7=>array('$eof'=>-9,'||'=>-9,'&&'=>-9,')'=>-9,),8=>array('$eof'=>-10,'||'=>-10,'&&'=>-10,')'=>-10,),9=>array('$eof'=>-11,'||'=>-11,'&&'=>-11,')'=>-11,),10=>array('$eof'=>-12,'||'=>-12,'&&'=>-12,')'=>-12,),11=>array('$eof'=>-13,'||'=>-13,'&&'=>-13,')'=>-13,),12=>array('$eof'=>-14,'||'=>-14,'&&'=>-14,')'=>-14,),13=>array('$eof'=>-15,'||'=>-15,'&&'=>-15,')'=>-15,),14=>array('$eof'=>-16,'||'=>-16,'&&'=>-16,')'=>-16,),15=>array('$eof'=>-17,'||'=>-17,'&&'=>-17,')'=>-17,),16=>array('$eof'=>-18,'||'=>-18,'&&'=>-18,')'=>-18,),17=>array('$eof'=>-19,'||'=>-19,'&&'=>-19,')'=>-19,),18=>array('$eof'=>-20,'||'=>-20,'&&'=>-20,')'=>-20,),28=>array('->'=>-51,'nsSeparator'=>-51,')'=>-51,),31=>array('$eof'=>-6,'||'=>-6,'&&'=>-6,')'=>-6,),46=>array('$eof'=>-4,'||'=>-4,'&&'=>-4,')'=>-4,),47=>array('$eof'=>-8,'||'=>-8,'&&'=>-8,')'=>-8,),49=>array(')'=>-33,),52=>array('**'=>-56,'*'=>-56,'namePart'=>-56,'|'=>-56,'public'=>-56,'protected'=>-56,'private'=>-56,'final'=>-56,),53=>array('**'=>-57,'*'=>-57,'namePart'=>-57,'|'=>-57,'public'=>-57,'protected'=>-57,'private'=>-57,'final'=>-57,),54=>array('**'=>-58,'*'=>-58,'namePart'=>-58,'|'=>-58,'public'=>-58,'protected'=>-58,'private'=>-58,'final'=>-58,),55=>array('**'=>-59,'*'=>-59,'namePart'=>-59,'|'=>-59,'public'=>-59,'protected'=>-59,'private'=>-59,'final'=>-59,),63=>array('nsSeparator'=>-42,')'=>-42,'+'=>-42,'::'=>-42,'->'=>-42,),65=>array('$eof'=>-46,'||'=>-46,'&&'=>-46,')'=>-46,'('=>-46,'nsSeparator'=>-46,'*'=>-46,'namePart'=>-46,'|'=>-46,'+'=>-46,'::'=>-46,'->'=>-46,),66=>array('$eof'=>-47,'||'=>-47,'&&'=>-47,')'=>-47,'('=>-47,'nsSeparator'=>-47,'*'=>-47,'namePart'=>-47,'|'=>-47,'+'=>-47,'::'=>-47,'->'=>-47,),74=>array('->'=>-52,'nsSeparator'=>-52,')'=>-52,),75=>array('$eof'=>-21,'||'=>-21,'&&'=>-21,')'=>-21,),78=>array('**'=>-54,'*'=>-54,'namePart'=>-54,),82=>array('$eof'=>-22,'||'=>-22,'&&'=>-22,')'=>-22,),83=>array('$eof'=>-23,'||'=>-23,'&&'=>-23,')'=>-23,),86=>array('$eof'=>-48,'||'=>-48,'&&'=>-48,')'=>-48,'('=>-48,'nsSeparator'=>-48,'*'=>-48,'namePart'=>-48,'|'=>-48,'+'=>-48,'::'=>-48,'->'=>-48,),87=>array('$eof'=>-49,'||'=>-49,'&&'=>-49,')'=>-49,'('=>-49,'nsSeparator'=>-49,'*'=>-49,'namePart'=>-49,'|'=>-49,'+'=>-49,'::'=>-49,'->'=>-49,),89=>array('$eof'=>-24,'||'=>-24,'&&'=>-24,')'=>-24,),90=>array(')'=>-38,'::'=>-38,'->'=>-38,),92=>array('$eof'=>-28,'||'=>-28,'&&'=>-28,')'=>-28,),93=>array('$eof'=>-29,'||'=>-29,'&&'=>-29,')'=>-29,),94=>array('$eof'=>-30,'||'=>-30,'&&'=>-30,')'=>-30,),97=>array('*'=>-40,'namePart'=>-40,),98=>array('*'=>-41,'namePart'=>-41,),99=>array('**'=>-53,'*'=>-53,'namePart'=>-53,),100=>array('$eof'=>-25,'||'=>-25,'&&'=>-25,')'=>-25,),101=>array('$eof'=>-26,'||'=>-26,'&&'=>-26,')'=>-26,),102=>array('$eof'=>-27,'||'=>-27,'&&'=>-27,')'=>-27,),104=>array(')'=>-39,),106=>array('nsSeparator'=>-45,')'=>-45,'+'=>-45,'::'=>-45,'->'=>-45,),107=>array('$eof'=>-50,'||'=>-50,'&&'=>-50,')'=>-50,'('=>-50,'nsSeparator'=>-50,'*'=>-50,'namePart'=>-50,'|'=>-50,'+'=>-50,'::'=>-50,'->'=>-50,),111=>array(')'=>-34,),115=>array('$eof'=>-31,'||'=>-31,'&&'=>-31,')'=>-31,),116=>array(')'=>-35,),),'goto'=>array(0=>array('pointcutExpression'=>1,'conjugatedExpression'=>2,'negatedExpression'=>3,'brakedExpression'=>5,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),4=>array('brakedExpression'=>31,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),6=>array('pointcutExpression'=>32,'conjugatedExpression'=>2,'negatedExpression'=>3,'brakedExpression'=>5,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),29=>array('conjugatedExpression'=>45,'negatedExpression'=>3,'brakedExpression'=>5,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),30=>array('negatedExpression'=>46,'brakedExpression'=>5,'singlePointcut'=>7,'accessPointcut'=>8,'annotatedAccessPointcut'=>9,'executionPointcut'=>10,'annotatedExecutionPointcut'=>11,'withinPointcut'=>12,'annotatedWithinPointcut'=>13,'initializationPointcut'=>14,'staticInitializationPointcut'=>15,'cflowbelowPointcut'=>16,'dynamicExecutionPointcut'=>17,'pointcutReference'=>18,'namespaceName'=>27,),33=>array('propertyAccessReference'=>48,'memberReference'=>49,'memberModifiers'=>50,'memberModifier'=>51,),37=>array('methodExecutionReference'=>59,'functionExecutionReference'=>60,'memberReference'=>61,'namespacePattern'=>62,'memberModifiers'=>50,'namePatternPart'=>64,'memberModifier'=>51,),38=>array('classFilter'=>67,'namespacePattern'=>68,'namePatternPart'=>64,),39=>array('classFilter'=>69,'namespacePattern'=>68,'namePatternPart'=>64,),40=>array('classFilter'=>70,'namespacePattern'=>68,'namePatternPart'=>64,),41=>array('executionPointcut'=>71,),42=>array('memberReference'=>72,'memberModifiers'=>50,'memberModifier'=>51,),43=>array('namePatternPart'=>73,),50=>array('classFilter'=>76,'namespacePattern'=>68,'namePatternPart'=>64,),51=>array('memberModifiers'=>78,'memberModifier'=>51,),56=>array('namespaceName'=>79,),57=>array('namespaceName'=>80,),58=>array('namespaceName'=>81,),76=>array('memberAccessType'=>96,),77=>array('memberModifiers'=>99,'memberModifier'=>51,),84=>array('argumentList'=>103,),85=>array('namePatternPart'=>105,),91=>array('namePatternPart'=>108,),95=>array('argumentList'=>109,),96=>array('namePatternPart'=>110,),112=>array('argumentList'=>114,),)); |
|
14 | +return array('action'=>array(0=>array('!'=>4, '('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 1=>array('||'=>29, '$eof'=>0,), 2=>array('&&'=>30, '$eof'=>-3, '||'=>-3, ')'=>-3,), 4=>array('('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 6=>array('!'=>4, '('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 19=>array('('=>33,), 20=>array('access'=>34, 'execution'=>35, 'within'=>36,), 21=>array('('=>37,), 22=>array('('=>38,), 23=>array('('=>39,), 24=>array('('=>40,), 25=>array('('=>41,), 26=>array('('=>42,), 27=>array('->'=>43, 'nsSeparator'=>44,), 29=>array('!'=>4, '('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 30=>array('!'=>4, '('=>6, 'access'=>19, 'annotation'=>20, 'execution'=>21, 'within'=>22, 'initialization'=>23, 'staticinitialization'=>24, 'cflowbelow'=>25, 'dynamic'=>26, 'namePart'=>28,), 32=>array(')'=>47, '||'=>29,), 33=>array('public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55,), 34=>array('('=>56,), 35=>array('('=>57,), 36=>array('('=>58,), 37=>array('**'=>63, '*'=>65, 'namePart'=>66, 'public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55,), 38=>array('**'=>63, '*'=>65, 'namePart'=>66,), 39=>array('**'=>63, '*'=>65, 'namePart'=>66,), 40=>array('**'=>63, '*'=>65, 'namePart'=>66,), 41=>array('execution'=>21,), 42=>array('public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55,), 43=>array('*'=>65, 'namePart'=>66,), 44=>array('namePart'=>74,), 45=>array('&&'=>30, '$eof'=>-2, '||'=>-2, ')'=>-2,), 48=>array(')'=>75,), 50=>array('**'=>63, '*'=>65, 'namePart'=>66,), 51=>array('|'=>77, 'public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55, '**'=>-55, '*'=>-55, 'namePart'=>-55,), 56=>array('namePart'=>28,), 57=>array('namePart'=>28,), 58=>array('namePart'=>28,), 59=>array(')'=>82,), 60=>array(')'=>83,), 61=>array('('=>84,), 62=>array('nsSeparator'=>85,), 64=>array('*'=>86, 'namePart'=>87, '|'=>88, 'nsSeparator'=>-43, ')'=>-43, '+'=>-43, '::'=>-43, '->'=>-43,), 67=>array(')'=>89,), 68=>array('+'=>90, 'nsSeparator'=>91, ')'=>-37, '::'=>-37, '->'=>-37,), 69=>array(')'=>92,), 70=>array(')'=>93,), 71=>array(')'=>94,), 72=>array('('=>95,), 73=>array('*'=>86, 'namePart'=>87, '|'=>88, '$eof'=>-32, '||'=>-32, '&&'=>-32, ')'=>-32,), 76=>array('::'=>97, '->'=>98,), 77=>array('public'=>52, 'protected'=>53, 'private'=>54, 'final'=>55,), 79=>array(')'=>100, 'nsSeparator'=>44,), 80=>array(')'=>101, 'nsSeparator'=>44,), 81=>array(')'=>102, 'nsSeparator'=>44,), 84=>array('*'=>104,), 85=>array('**'=>106, '*'=>65, 'namePart'=>66,), 88=>array('namePart'=>107,), 91=>array('**'=>106, '*'=>65, 'namePart'=>66,), 95=>array('*'=>104,), 96=>array('*'=>65, 'namePart'=>66,), 103=>array(')'=>111,), 105=>array('('=>112, '*'=>86, 'namePart'=>87, '|'=>88, 'nsSeparator'=>-44,), 108=>array('*'=>86, 'namePart'=>87, '|'=>88, ')'=>-44, '+'=>-44, 'nsSeparator'=>-44, '::'=>-44, '->'=>-44,), 109=>array(')'=>113,), 110=>array('*'=>86, 'namePart'=>87, '|'=>88, ')'=>-36, '('=>-36,), 112=>array('*'=>104,), 113=>array(')'=>115,), 114=>array(')'=>116,), 3=>array('$eof'=>-5, '||'=>-5, '&&'=>-5, ')'=>-5,), 5=>array('$eof'=>-7, '||'=>-7, '&&'=>-7, ')'=>-7,), 7=>array('$eof'=>-9, '||'=>-9, '&&'=>-9, ')'=>-9,), 8=>array('$eof'=>-10, '||'=>-10, '&&'=>-10, ')'=>-10,), 9=>array('$eof'=>-11, '||'=>-11, '&&'=>-11, ')'=>-11,), 10=>array('$eof'=>-12, '||'=>-12, '&&'=>-12, ')'=>-12,), 11=>array('$eof'=>-13, '||'=>-13, '&&'=>-13, ')'=>-13,), 12=>array('$eof'=>-14, '||'=>-14, '&&'=>-14, ')'=>-14,), 13=>array('$eof'=>-15, '||'=>-15, '&&'=>-15, ')'=>-15,), 14=>array('$eof'=>-16, '||'=>-16, '&&'=>-16, ')'=>-16,), 15=>array('$eof'=>-17, '||'=>-17, '&&'=>-17, ')'=>-17,), 16=>array('$eof'=>-18, '||'=>-18, '&&'=>-18, ')'=>-18,), 17=>array('$eof'=>-19, '||'=>-19, '&&'=>-19, ')'=>-19,), 18=>array('$eof'=>-20, '||'=>-20, '&&'=>-20, ')'=>-20,), 28=>array('->'=>-51, 'nsSeparator'=>-51, ')'=>-51,), 31=>array('$eof'=>-6, '||'=>-6, '&&'=>-6, ')'=>-6,), 46=>array('$eof'=>-4, '||'=>-4, '&&'=>-4, ')'=>-4,), 47=>array('$eof'=>-8, '||'=>-8, '&&'=>-8, ')'=>-8,), 49=>array(')'=>-33,), 52=>array('**'=>-56, '*'=>-56, 'namePart'=>-56, '|'=>-56, 'public'=>-56, 'protected'=>-56, 'private'=>-56, 'final'=>-56,), 53=>array('**'=>-57, '*'=>-57, 'namePart'=>-57, '|'=>-57, 'public'=>-57, 'protected'=>-57, 'private'=>-57, 'final'=>-57,), 54=>array('**'=>-58, '*'=>-58, 'namePart'=>-58, '|'=>-58, 'public'=>-58, 'protected'=>-58, 'private'=>-58, 'final'=>-58,), 55=>array('**'=>-59, '*'=>-59, 'namePart'=>-59, '|'=>-59, 'public'=>-59, 'protected'=>-59, 'private'=>-59, 'final'=>-59,), 63=>array('nsSeparator'=>-42, ')'=>-42, '+'=>-42, '::'=>-42, '->'=>-42,), 65=>array('$eof'=>-46, '||'=>-46, '&&'=>-46, ')'=>-46, '('=>-46, 'nsSeparator'=>-46, '*'=>-46, 'namePart'=>-46, '|'=>-46, '+'=>-46, '::'=>-46, '->'=>-46,), 66=>array('$eof'=>-47, '||'=>-47, '&&'=>-47, ')'=>-47, '('=>-47, 'nsSeparator'=>-47, '*'=>-47, 'namePart'=>-47, '|'=>-47, '+'=>-47, '::'=>-47, '->'=>-47,), 74=>array('->'=>-52, 'nsSeparator'=>-52, ')'=>-52,), 75=>array('$eof'=>-21, '||'=>-21, '&&'=>-21, ')'=>-21,), 78=>array('**'=>-54, '*'=>-54, 'namePart'=>-54,), 82=>array('$eof'=>-22, '||'=>-22, '&&'=>-22, ')'=>-22,), 83=>array('$eof'=>-23, '||'=>-23, '&&'=>-23, ')'=>-23,), 86=>array('$eof'=>-48, '||'=>-48, '&&'=>-48, ')'=>-48, '('=>-48, 'nsSeparator'=>-48, '*'=>-48, 'namePart'=>-48, '|'=>-48, '+'=>-48, '::'=>-48, '->'=>-48,), 87=>array('$eof'=>-49, '||'=>-49, '&&'=>-49, ')'=>-49, '('=>-49, 'nsSeparator'=>-49, '*'=>-49, 'namePart'=>-49, '|'=>-49, '+'=>-49, '::'=>-49, '->'=>-49,), 89=>array('$eof'=>-24, '||'=>-24, '&&'=>-24, ')'=>-24,), 90=>array(')'=>-38, '::'=>-38, '->'=>-38,), 92=>array('$eof'=>-28, '||'=>-28, '&&'=>-28, ')'=>-28,), 93=>array('$eof'=>-29, '||'=>-29, '&&'=>-29, ')'=>-29,), 94=>array('$eof'=>-30, '||'=>-30, '&&'=>-30, ')'=>-30,), 97=>array('*'=>-40, 'namePart'=>-40,), 98=>array('*'=>-41, 'namePart'=>-41,), 99=>array('**'=>-53, '*'=>-53, 'namePart'=>-53,), 100=>array('$eof'=>-25, '||'=>-25, '&&'=>-25, ')'=>-25,), 101=>array('$eof'=>-26, '||'=>-26, '&&'=>-26, ')'=>-26,), 102=>array('$eof'=>-27, '||'=>-27, '&&'=>-27, ')'=>-27,), 104=>array(')'=>-39,), 106=>array('nsSeparator'=>-45, ')'=>-45, '+'=>-45, '::'=>-45, '->'=>-45,), 107=>array('$eof'=>-50, '||'=>-50, '&&'=>-50, ')'=>-50, '('=>-50, 'nsSeparator'=>-50, '*'=>-50, 'namePart'=>-50, '|'=>-50, '+'=>-50, '::'=>-50, '->'=>-50,), 111=>array(')'=>-34,), 115=>array('$eof'=>-31, '||'=>-31, '&&'=>-31, ')'=>-31,), 116=>array(')'=>-35,),), 'goto'=>array(0=>array('pointcutExpression'=>1, 'conjugatedExpression'=>2, 'negatedExpression'=>3, 'brakedExpression'=>5, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 4=>array('brakedExpression'=>31, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 6=>array('pointcutExpression'=>32, 'conjugatedExpression'=>2, 'negatedExpression'=>3, 'brakedExpression'=>5, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 29=>array('conjugatedExpression'=>45, 'negatedExpression'=>3, 'brakedExpression'=>5, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 30=>array('negatedExpression'=>46, 'brakedExpression'=>5, 'singlePointcut'=>7, 'accessPointcut'=>8, 'annotatedAccessPointcut'=>9, 'executionPointcut'=>10, 'annotatedExecutionPointcut'=>11, 'withinPointcut'=>12, 'annotatedWithinPointcut'=>13, 'initializationPointcut'=>14, 'staticInitializationPointcut'=>15, 'cflowbelowPointcut'=>16, 'dynamicExecutionPointcut'=>17, 'pointcutReference'=>18, 'namespaceName'=>27,), 33=>array('propertyAccessReference'=>48, 'memberReference'=>49, 'memberModifiers'=>50, 'memberModifier'=>51,), 37=>array('methodExecutionReference'=>59, 'functionExecutionReference'=>60, 'memberReference'=>61, 'namespacePattern'=>62, 'memberModifiers'=>50, 'namePatternPart'=>64, 'memberModifier'=>51,), 38=>array('classFilter'=>67, 'namespacePattern'=>68, 'namePatternPart'=>64,), 39=>array('classFilter'=>69, 'namespacePattern'=>68, 'namePatternPart'=>64,), 40=>array('classFilter'=>70, 'namespacePattern'=>68, 'namePatternPart'=>64,), 41=>array('executionPointcut'=>71,), 42=>array('memberReference'=>72, 'memberModifiers'=>50, 'memberModifier'=>51,), 43=>array('namePatternPart'=>73,), 50=>array('classFilter'=>76, 'namespacePattern'=>68, 'namePatternPart'=>64,), 51=>array('memberModifiers'=>78, 'memberModifier'=>51,), 56=>array('namespaceName'=>79,), 57=>array('namespaceName'=>80,), 58=>array('namespaceName'=>81,), 76=>array('memberAccessType'=>96,), 77=>array('memberModifiers'=>99, 'memberModifier'=>51,), 84=>array('argumentList'=>103,), 85=>array('namePatternPart'=>105,), 91=>array('namePatternPart'=>108,), 95=>array('argumentList'=>109,), 96=>array('namePatternPart'=>110,), 112=>array('argumentList'=>114,),)); |