Package org.eclipse.cdt.core.dom.ast.c

Examples of org.eclipse.cdt.core.dom.ast.c.ICASTFieldDesignator


    desigInit.getOperand().accept(visitor);
  }

  private void writeDesignator(final ICASTDesignator designator) {
    if (designator instanceof ICASTFieldDesignator) {
      final ICASTFieldDesignator fieldDes = (ICASTFieldDesignator) designator;
      scribe.print('.');
      fieldDes.getName().accept(visitor);
    } else if (designator instanceof ICASTArrayDesignator) {
      final ICASTArrayDesignator arrDes = (ICASTArrayDesignator) designator;
      scribe.print('[');
      arrDes.getSubscriptExpression().accept(visitor);
      scribe.print(']');
View Full Code Here

TOP

Related Classes of org.eclipse.cdt.core.dom.ast.c.ICASTFieldDesignator

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.