Package org.eclipse.php.internal.core.compiler.ast.parser.php4

Examples of org.eclipse.php.internal.core.compiler.ast.parser.php4.PhpSourceParser


   * @param str
   * @throws Exception
   */
  public void parseAndTest(Reader reader, String declarationName, String str,
      boolean positiveTest) throws Exception {
    IModuleDeclaration program = new PhpSourceParser().parse(reader, null,
        ProjectOptions.useShortTags((IProject) null));
    DeclarationSearcher searcher = new DeclarationSearcher(declarationName);
    ((PHPModuleDeclaration) program).traverse(searcher);
    Declaration declaration = searcher.getResult();

View Full Code Here

TOP

Related Classes of org.eclipse.php.internal.core.compiler.ast.parser.php4.PhpSourceParser

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.