Examples of TraitUseStatementVisitor


Examples of org.eclipse.php.internal.core.compiler.ast.visitor.TraitUseStatementVisitor

                            .useShortTags((IProject) null));

                final StringBuilder builder = new StringBuilder();

                moduleDeclaration
                    .traverse(new TraitUseStatementVisitor() {
                      @Override
                      public boolean visit(
                          TraitUseStatement s)
                          throws Exception {
                        builder.append(s);
View Full Code Here

Examples of org.eclipse.php.internal.core.compiler.ast.visitor.TraitUseStatementVisitor

    final ISourceModule sourceModule = type.getSourceModule();
    try {
      final ISourceRange sourceRange = type.getSourceRange();
      ModuleDeclaration moduleDeclaration = SourceParserUtil
          .getModuleDeclaration(sourceModule);
      moduleDeclaration.traverse(new TraitUseStatementVisitor() {
        @Override
        public boolean visit(TraitUseStatement s) throws Exception {
          if (s.sourceStart() > sourceRange.getOffset()
              && s.sourceEnd() < sourceRange.getOffset()
                  + sourceRange.getLength()) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.