[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [pdt-dev] What'is FieldAccess?[ In PHPSelectionEngine.JAVA internalASTResolve() ]

hi,

try:
<?php

class a
{
ÂÂ Âpublic $a;

}
$a Â= new a();
$a->a;
?>

On Mon, Mar 19, 2012 at 8:41 PM, YuHong Yang <yangtclive@xxxxxxxxx> wrote:
In PHPSelectionEngine.JAVA Â(org.eclipse.php.internal.core.codeassist)
the function :

private IModelElement[] internalASTResolve(ISourceModule sourceModule,
           Âint offset, int end)


I have no idea what php code could invoke JAVA code Âbelow :

line 370:
else if (node instanceof FieldAccess) {
   ÂFieldAccess fieldAccess = (FieldAccess) node;
      ...
I mean I have tried many php code in PDT,
but I can't find the case that matches 'node instanceof FieldAccess'.
does anybody know this?


--
Best Regards

yangtclive@xxxxxxxxx
_______________________________________________
pdt-dev mailing list
pdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/pdt-dev



--

Thanks!

Best Regards!

Zhao