Package org.eclipse.php.internal.core.typeinference

Examples of org.eclipse.php.internal.core.typeinference.FakeField


    String viewPath = ctxt.getViewPath();
   
    for(TemplateField element : ctxt.getVariables()) {

      if (viewPath.equals(element.getViewPath())) {
        reporter.reportField(new FakeField(element, element.getElementName(), Modifiers.AccPublic), "", range, false);
      }
    }
  }
View Full Code Here


                    if (name != null && "block".equals(name.getValue())) {
                        Variable child = (Variable) block.getFirstChild();
                        String value = child.getValue();
                       
                        if (CodeAssistUtils.startsWithIgnoreCase(value, prefix)) {
                            FakeField field = new FakeField((ModelElement) context.getSourceModule(), value, 0);
                            reporter.reportField(field, "", range, false);
                        }
                    }
                }
            }
View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.typeinference.FakeField

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.