Examples of PDOMMacroReferenceName


Examples of org.eclipse.cdt.internal.core.pdom.dom.PDOMMacroReferenceName

      final IASTFileLocation fileLocation = getFileLocation(node);
      if (fileLocation != null) {
        final int nOff = fileLocation.getNodeOffset();
        for (final IIndexName iIndexName : exps) {
          if (iIndexName instanceof PDOMMacroReferenceName) {
            final PDOMMacroReferenceName mName = (PDOMMacroReferenceName) iIndexName;
            final int eOff = mName.getFileLocation().getNodeOffset();
            final int eLength = mName.getFileLocation().getNodeLength();
            if ((eOff < nOff) && (Math.abs(((eOff + eLength) - nOff)) < 3)) {
              scribe.print(mName.toString() + " "); //$NON-NLS-1$
            }
          }
        }
      }
    }
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.